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

Re: reject_unknown_sender_domain behavior

Expand Messages
  • mouss
    ... try a check_sender_access with a pcre map: /@ [/ REJECT Sorry, we do not accept literal IP addresses. ... well, obviously, [1.1.1.1] is not a valid DNS
    Message 1 of 2 , Mar 31, 2010
    • 0 Attachment
      Paul Enlund a écrit :
      > Hi
      >
      > I want to stop MAIL FROM: somebody@[a.b.c.d] (IP address) being accepted.
      > My impression would have been the config below would do this as say
      > [1.1.1.1]
      > does not have A or MX records.
      >


      try a check_sender_access with a pcre map:

      /@\[/ REJECT Sorry, we do not accept literal IP addresses.




      > smtpd_sender_restrictions =
      > reject_unknown_sender_domain
      >

      well, obviously, [1.1.1.1] is not a valid DNS notation, so "nothing" is
      going to check it in DNS.


      >
      > How can I achieve my goal.
      >
      > Regards Paul Enlund.
    Your message has been successfully submitted and would be delivered to recipients shortly.