Sam Varshavchik wrote:
> Bowie Bailey writes:
> 
> > I am migrating my Courier installation to a new machine running
> > Courier 0.53.1 (the old one was 0.46-1.2).  I have the new system
> > configured and running just like the old one, but I just found one
> > problem. 
> > 
> > In previous versions, the SENDMAIL environment variable was used
> > by Maildrop in the TO and CC commands when forwarding to another
> > account. This doesn't appear to be happening anymore.
> 
> maildrop is using SENDMAIL, however maildrop is also explicitly
> adding the -f "" flag also.  Originally, this change was added to
> prevent maildrop from generating backscatter; but now that Courier
> has a real backscatter suppression filter, this is really no longer
> needed. 
> 
> However, you can replace "!<address>" with "| $SENDMAIL <address>",
> and get the same results.

Things are starting to make sense now.  That behavior should either be
removed (if it is not needed), or documented so it doesn't confuse
anyone else.  Or possibly you could check to see if the $SENDMAIL
variable already set a -f flag and only do -f "" if the flag is not
already set.

I did play around with the "| $SENDMAIL" construct and it works fine.
Unfortunately, that means I have to modify about 200 .mailfilter files
as well as my program that maintains the accounts.  Can I modify the
code to remove this behavior?  If so, where do I look?

-- 
Bowie


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to