Joseph Brennan a écrit :
>
>>> any email with a FROM as coming from our domain but is not a user (left
>>> of @ sign)
>
> You might be able to get your MTA to check that, the same as it does
> for recipients.  You know what addresses are valid @ your own domain,
> so it's reasonable to refuse mail from any others.  We have sendmail
> doing this during check_mail.  It stops 2% of our incoming.  You use
> postfix and I am not familiar with how it might be done with that.

smtpd_reject_unlisted_sender = yes

in some cases, you may want to accept "unlisted" senders from your own
machines (software installed on few machines that send mail as their own
user, but this user not added on the mail server). if so, instead of the
above, use
    reject_unlisted_sender
in smtpd restrictions, after having allowed "trusted" mail
(permit_mynetworks, ...).


Reply via email to