|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Bill Cole (postfixlists-070913
billmail.scconsult.com)
Date: Thu Oct 18 2007 - 17:57:32 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 10:38 PM +0200 10/18/07, mouss wrote:
>Bill Cole wrote:
>> At 10:39 AM +0200 10/18/07, Ralf Hildebrandt wrote:
>>> * KLEIN Stéphane <klein.stephane
gmail.com>:
>>>> Hello,
>>>>
>>>> How can I set "Return-Path" header parameter when I use "mail" command
>>>> line ? I tried "mail -a "Return-Path: foobar
example.com" but it
>>>> doesn't work. Are you a tips.
>>>
>>> man mail
>>
>> On the two systems (MacOS and Solaris) I happen to have terminal
>> sessions open to, `man mail` does not describe any way to set the SMTP
>> sender address and hence the Return-Path header.
>>
>> Of course, this CAN be done using sendmail instead of mail.
>>
>>> mail -s subject recipient
domain -- -f foobar
example.com
>>
>> MacOS /usr/bin/mail (which seems to be close to the BSD version, as the
>> binary is riddled with FreeBSD version control strings) does not do
>> that. Is it reasonable to deduce that you can terminate the mail options
>> with a '--' and then add any sendmail args? What implementation of mail
>> is that?
>
>Is there any reason not to use the sendmail command?
I don't think there's any really good one, but
the most popular answer I've heard to that
question is some variation on "with sendmail I
have to actually provide my own headers, and I
cannot be troubled and/or trusted to do that
correctly"
--
Bill Cole
bill
scconsult.com
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]