procmail
[Top] [All Lists]

Verify Mail Has Valid 'From:' Field?

1997-12-18 09:10:03

Has anyone figured out how to do a sanity check on mail to make
sure it's coming from a valid domain name? I'm thinking of
something that would
A) Take the 'From:' line;
B) Strip out everything but the TLD (rsr(_at_)host(_dot_)macromedia(_dot_)com ->
macromedia.com)
C) Verify that the TLD is valid

-roy
           Roy S. Rapoport / rsr(_at_)macromedia(_dot_)com / 415-252-2215
                         Save the Mac, kill Apple

<Prev in Thread] Current Thread [Next in Thread>