procmail
[Top] [All Lists]

Re: Forwarding Inside the SAME domain question

2002-12-13 17:02:55
Doug Hubbell skribis:

In my procmailrc file I have this and it does NOT work correctly:
       :0 c
       * ^From(_dot_)*nameONE(_at_)tecategroup(_dot_)com
       ! nameTWO(_at_)tecategroup(_dot_)com

It seems that the forwarded message goes through the same .procmailrc.
Where is your .procmailrc located? 

Beware: your filter ^From.* will catch both the ^^From and the ^From:.

Maybe the last part of 'nameTWO' is the same as 'nameONE'? 
(for example nameONE=hubbel, nameTWO=dhubbel)?

This would solve that problem:
       :0 c
       * ^From: .*/<nameONE(_at_)tecategroup(_dot_)com
       ! nameTWO(_at_)tecategroup(_dot_)com


But maybe the From: is not changed in the forward.
Add a loop-stop.

-- 
Affijn, Ruud

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