Date: Mon, 26 Feb 2007 16:20:32 GMT From: Andrea Brancatelli<andrea@brancatelli.it> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/109569: "mail" command not parsing sendmail parameters Message-ID: <200702261620.l1QGKWE5035895@www.freebsd.org> Resent-Message-ID: <200702261630.l1QGU6Fn028617@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 109569 >Category: misc >Synopsis: "mail" command not parsing sendmail parameters >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 26 16:30:05 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Andrea Brancatelli >Release: 6.0-RELEASE >Organization: >Environment: FreeBSD cupido.sara.it 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386 >Description: the man page for mail reports that by some extra arguments to sendmail can be passed from mail: NAME mail, Mail, mailx -- send and receive mail SYNOPSIS mail [-EiInv] [-s subject] [-c cc-addr] [-b bcc-addr] [-F] to-addr ... [-sendmail-option ...] mail [-EHiInNv] [-F] -f [name] mail [-EHiInNv] [-F] [-u user] mail -e [-f name] mail [-H] Apart from the man page being wrong (it should be -- -sendmail-option), the problem is that FreeBSD mail just ignore the latest parameter! Actually looking at http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/mail/main.c?rev=1.15&content-type=text/x-cvsweb-markup I had the idea that the code to pass stuff to sendmail is totally missing!?! >How-To-Repeat: just send a mail like mail someone@somewhere.it -- -r ovveride@return.path >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702261620.l1QGKWE5035895>