Re: Fw: maildrop stand alone with exim -- forwarding

"Raveendra Reddy B. via Courier-maildrop" <[email protected]> Thu, 13 Jun 2019 08:52:42 +0000 (UTC)
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>
Hi,
If we omit * -f * parameter, it is forwarding to all listed addresses.
i.e.,
cc "|$SENDMAIL [email protected] [email protected]"

Thank you very much for your reply.  I have seen your earlier replys also.  I should have searched the archives before writing.
This works like procmail by modifying the envelope-from, however, it is forwarding message to only the last address in the following i.e., [email protected].  I am not sure whether this is EXIM specific.

cc "| $SENDMAIL -f [email protected] [email protected]"
Perhaps, we may have to keep  cc for each forwarding address.

B. Raveendra Reddy, India
 

    On Wednesday, June 12, 2019, 4:26:15 PM GMT+5:30, Sam Varshavchik <[email protected]> wrote:  
 
 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
    _______________________________________________
Courier-maildrop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/courier-maildrop

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