procmail
[Top] [All Lists]

Re: Mail forward question

2014-12-04 10:13:54
Here is the recipe:

:0:
* ^(From|Cc|To|X-Loop|Sender|Bcc|X-BeenThere):.*newsletter@list\.rockauto\.com
#* ^TO_admin@iaftercare\.com
! shotgun@fever.havannah.local
$MAILDIR/incoming/offroading/rockauto

As you can see the mail is supposed to be placed in the folder "rockauto" 
which
is done, but it is not being forwarded to the user
"shotgun@fever.havannah.local" ...

Any particular reason why?

Your recipe can only have one action and you have specified two: forward to 
shotgun@fever.havannah.local <mailto:shotgun@fever.havannah.local> AND place a 
copy in $MAILDIR/incoming/offroading/rockauto.
Man procmailex for an example of how to both forward the message and save a 
copy.
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail
<Prev in Thread] Current Thread [Next in Thread>