procmail
[Top] [All Lists]

Re: RFC822 compliant email address

2002-07-05 07:57:24
Hi

i belive it is now rfc2822 email addresses





I am looking for a regexp usable in a procmail recipe which checks if
an email address is valid according to rfc822. One exception of rfc822
could be that the local-part is not composed of characters within double
quotes. I also don't want to allow a domain part consisting of an IP
address.

I started with the following regexp line

 * subscraddr ?? ^[^ ;@<>,:()"\]*[^ 
;.@<>,:()"\]+(_at_)[-a-z0-9]+\(_dot_)[-a-z0-9]+



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