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

Re: Whitelists

Expand Messages
  • /dev/rob0
    ... Roman mentioned filters , so naturally I thought he was referring to content filtering. Bypassing restrictions is done as Stan showed. ... My only
    Message 1 of 7 , Jan 2, 2012
    • 0 Attachment
      On Monday 02 January 2012 09:26:18 Stan Hoeppner wrote:
      > On 1/1/2012 11:19 PM, Roman Gelfand wrote:
      > > I am using the following directive for filtering. The mail goes
      > > through 2 grey listing filters, bl lookup using policy_daemon,
      > > dkim, spf, dspam, etc... I don't want to start adding a
      > > whitelist entry to every filter.

      Roman mentioned "filters", so naturally I thought he was referring to
      content filtering. Bypassing restrictions is done as Stan showed.

      > > smtpd_recipient_restrictions =
      > >
      > > permit_mynetworks,
      > > reject_unauth_destination,
      >
      > check_sender_access hash:/etc/postfix/whitelist

      My only additional suggestion would be that the filename should
      reflect a bit more of how it is used, i.e., "sender_whitelist".

      > > check_recipient_access pcre:/etc/postfix/dspam_check_aliases,
      > > check_sender_access pcre:/etc/postfix/dspam_check_aliases,
      > > check_policy_service inet:127.0.0.1:2501,
      > > check_policy_service inet:127.0.0.1:5525,
      > > reject_unlisted_recipient,
      > > check_policy_service inet:127.0.0.1:12525
      >
      > /etc/postfix/whitelist
      > example.com permit_auth_destination
      > user@... permit_auth_destination
      >
      > After creating or modifying /etc/postfix/whitelist do
      >
      > $ postmap whitelist
      >
      > See: man 5 access

      --
      http://rob0.nodns4.us/ -- system administration and consulting
      Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:
    Your message has been successfully submitted and would be delivered to recipients shortly.