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

208204Re: Restricting users to internal only email

Expand Messages
  • mouss
    Nov 1 3:03 PM
      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.
    • Show all 11 messages in this topic