Hello dman,
hello Alan,
thanks for your help!
Joerg
Am Montag, 6. Januar 2003 00:52 schrieb Alan Clifford:
On Sun, 5 Jan 2003, Joerg Frings-Fuerst wrote:
JF> Hallo,
JF>
JF> I want to get the "domain.tld" from the "From:" - headline. In the
archive JF> from this list I found
JF>
JF> #
JF> # Get the From-Domain
JF> #
JF> :0w
JF> * ^From: [^(_at_)]+@\/[^ ]+
JF> { DOMAIN=$MATCH }
JF>
JF> If the address is <foo(_at_)foo(_dot_)fo> I got "foo.fo>".
JF> How can I kill the leading ">" ?
JF>
JF> Thanks for your help
JF>
JF> Joerg
JF>
JF>
JF>
Probably:
* ^From: [^(_at_)]+@\/[^ >]+
but what about an email address " @^@ "@clifford.ac
--
Jörg Frings-Fürst
D-54526 Landscheid
http://www.fixundfoxi.dyndns.info
--
Registered Linux User # 280687
ICQ 170365098
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail