misc/109569: "mail" command not parsing sendmail parameters
Andrea Brancatelli
andrea at brancatelli.it
Mon Feb 26 16:30:07 UTC 2007
>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 at 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 at somewhere.it -- -r ovveride at return.path
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list