Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A question from a beginner Postfix admin. What is the exact difference between writing in

smtpd_reject_unlisted_sender = yes


smtpd_sender_restrictions =


Is there a real difference in operation or is smtpd_reject_unlisted_sender just a way to enforce this restriction when some of rules listed in smtpd_sender_restrictions results in PERMIT ?

share|improve this question
up vote 4 down vote accepted

The first option apply to all local senders, the second permit to have a criteria like:

smtpd_sender_restrictions =
    check_sender_access hash:/etc/postfix/acl_unknown_permited

on file /etc/postfix/acl_unknown_permited permit

The 'permit' inside /etc/postfix/acl_unknown_permited make restriction process jump to smtpd_recipient_restriction without process reject_unlisted_sender. The right hand of file support a acl list, like: permit_mynetworks, reject

This create many possiblilities.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.