On Tue, Jul 10, 2007 at 06:41:38PM -0400, Sam Varshavchik wrote:
Jeremy Kitchen writes:
I'm noticing that maildrop is setting a null envelope sender when
sending messages to external addresses using to and cc.
I've tried setting the sender manually in the SENDMAIL variable, but it
appears that maildrop is appending a "-f ''" argument to the SENDMAIL
variable.
Is there a way to change this behavior? I want to preserve the original
sender of the message, if possible.
There's never a solution that will please everyone. If the original
sender's address gets forwarded, here, then everyone forwarding mail for
SPF-using senders will start complaining, instead.
how about just having like a SENDMAIL_ARGS variable that can be
modified, or not auto-appending the "-f ''" argument? That would allow
SPF users to do whatever crap they have to do so they don't break
internet mail, and allow others to do as they wish as well.
If you need to set a return address, instead of "!address", use" | sendmail
-f 'whatever' address" to forward mail.
hrm, that works, but it's fugly :)
Thanks!
-Jeremy