procmail
[Top] [All Lists]

Re: Rewriting the headers

2000-07-04 21:23:02
At 22:33 04/07/2000 -0500, David W. Tamkin wrote:
Now let's just hope that the pager sends its autoresponse to Reply-To: and
not to From: or From_.

bad news for us... the pager company is ignoring the reply-to field...
So I rewrited again the recipe (and it is working ok):

:0
* ^TOpager@(mydomain1|mydomain2)\.com
* ! ^X-Loop: looping(_at_)mydomain1\(_dot_)com
  | formail -k -XFrom: -XSubject: -XReply-To: -XTo: -XX-Loop: \
        -I "To: nextelnumber(_at_)page(_dot_)nextel(_dot_)com" \
        -A "X-Loop: looping(_at_)mydomain1(_dot_)com" \
        -I"From: nobody(_at_)mydomain1(_dot_)com" \
        -I"Reply-To: nobody(_at_)mydomain1(_dot_)com" | $SENDMAIL 
$SENDMAILFLAGS -t

Now it raises another problem: is it possible to copy the (original) from: in the body?


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>