D. Karapiperis wrote:
Hello all

I am trying to configure properly reject_unlisted_sender ,which utilises all possible sources of valid mailboxes or mailaliases, so that local users (originating from my_networks) can send mails using valid envelope sender ( or even both sender and the from field)

Is this possible?

Thanks in advance
Dimitrios


reject_unlisted_sender operates on the envelope sender address, not the From: header.

The reject_unlisted_sender restriction uses the same data sources as the reject_unlisted_recipient and smtpd_reject_unlisted_recipient. If you are properly rejecting unknown recipients, there is no extra configuration you need to reject unknown local senders, other than adding reject_unlisted_sender to your restrictions.

HTH,

--
Noel Jones

Reply via email to