procmail
[Top] [All Lists]

"domain.tld" from From:-headline

2003-01-05 16:04:00
Hallo,

I want to get the "domain.tld" from the "From:" - headline. In the archive 
from this list I found

#
# Get the From-Domain
#
:0w
* ^From: [^(_at_)]+@\/[^ ]+
    { DOMAIN=$MATCH }

If the address is <foo(_at_)foo(_dot_)fo> I got "foo.fo>". 
How can I kill the leading ">" ?

Thanks for your help

Joerg


-- 
Jörg Frings-Fürst 
D-54526 Landscheid

http://www.fixundfoxi.dyndns.info

--
Registered Linux User # 280687
ICQ 170365098
GPG Key ID  :   EB8A FFC8 1314 12E1


_______________________________________________
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>