Sendmail check FROM: header

lyd mc alydiomc at
Tue Sep 9 08:26:41 UTC 2008

Hi guys,

How do i check valid sender before sending mail?

    FROM: anonymous at

if this 'anonymous' user is not on localhost the mail should be rejected even if the user has valid login (user and password).

my sendmail uses login/plain before relaying. however they can still send mail even the FROM: header is not their name. I don't want this to happen.

Need your help guys.




More information about the freebsd-questions mailing list