Right now I'm doing this:
^Received:.*for \<\/[A-Za-z0-9._+-]+@(dom\.tld|dom2.tld)
Which will get me the env-to (yes, there are problems with this solution, but
let's ignore all "do the filtering pre the server where I'm doing it"-talk)
from the right Received-line.
The problem is that what I really want to do is to get the env-to at the first
Received-line where the for-part isn't a certain user(_at_)dom(_dot_)tld; a
lazy mans
solution to not wanting to extend (dom\.tld|dom2.tld) to include all possible
domains (not to mention that the number of domains is very dynamic, and I
don't want to update my procmailrc all the time).
The number of Received-lines between that server and where I'm doing the
filter isn't constant.
Anyone that understod my problem and got a solution?
/Tony
--
# Per scientiam ad libertatem! // Through knowledge towards freedom! #
# Genom kunskap mot frihet! =*= (c) 1999-2002 tony(_at_)svanstrom(_dot_)com =*=
#
perl -e'print$_{$_} for sort%_=`lynx -dump svanstrom.com/t`'
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail