Re: maildrop stand alone with exim -- forwarding

Sam Varshavchik <[email protected]> Wed, 12 Jun 2019 06:55:24 -0400
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>
Raveendra Reddy B. via Courier-maildrop writes:

> « HTML content follows »
>
>
> Hi,
>
>
> I am trying to set up forward with local copy.  I have got the following  
> recipe from serverfault.com as well as maildrop man page.
>
>
>
> if ( /^From:.*domain\.com/:h ) {
>   cc "[email protected]"
> }
>
>
>
> However, while forwarding return-path is becoming null (<>).  I am not  
> getting any lead on how to handle this.
> Could some one help me on this.

exim's sendmail wrapper must need an explicit -f option.

cc "| $SENDMAIL -f [email protected] [email protected]"

will probably work.



_______________________________________________
Courier-maildrop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/courier-maildrop