I am working on a Postfix server which uses PCRE to perform certain checks on both the headers and bodies of the e-mails which travels thru the system.
I have this version thus far for a particular check:
/<(?:[!gjyz]\w*(?!\@).*|k\w{3,})\>/
(I don't want to match e-mail addresses in the form of -
<[EMAIL PROTECTED]>
which may be embedded in the body (this check isn't done in the header checks.)
Question: Is there anything I am over looking? Could it be better/accurate?
My only criteria is - It must be a one-line check.
Thx for any input/Bill :)
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>