Loading ...
Sorry, an error occurred while loading the content.

Re: Restricting users to internal only email

Expand Messages
  • mouss
    ... Now compare this to your configuration as reported by postconf -n. It must now be clear why sending output of postconf -n is (almost) always needed. ...
    Message 1 of 11 , Nov 1, 2006
    • 0 Attachment
      Robert Adkins wrote:
      >
      > /etc/postfix/main.cf:
      > smtpd_recipient_restrictions =
      > check_sender_access hash:/etc/postfix/restricted_senders
      > ...other stuff...
      >

      Now compare this to your configuration as reported by postconf -n. It
      must now be clear why sending output of postconf -n is (almost) always
      needed.

      > [snip]
      > smtpd_recipient_restrictions =
      > permit_mynetworks,reject_unauth_destination, check_sender_access
      > hash:/etc/postfix/restricted_senders
      permit_mynetworks permits mail from mynetworks. no further checks are
      performed.

      add the check_sender_access above to smtpd_sender_restrictions and it
      will work.
    Your message has been successfully submitted and would be delivered to recipients shortly.