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

Re: Ignore relay_recipient_maps setting for sending servers from mynetworks

Expand Messages
  • Noel Jones
    ... Define the group addresses in relay_recipient_maps and then protect those addresses from unauthorized hosts using something similar to this:
    Message 1 of 2 , Apr 27, 2010
    • 0 Attachment
      On 4/27/2010 8:51 AM, Harakiri wrote:
      > I have postfix relay server, which relays messages from the internet to an internal mailserver, but it should only expect messages to known internal recipients.
      >
      > However, there is one external server which is allowed to sent to users which are not defined in the recipient maps (i.e. group addresses). I tried to put the ip of that server into the mynetworks but the relay check is still executed. I only want to allow that this one server can sent to specific "unknown" (group) email addresses, all other senders should still receive the normal recipient check.
      >
      > the only way i see is moving from relay_recipient_maps to smtpd_recipient_restrictions - however i think relay_recipient_maps is the correct way to check for existing internal users.
      >

      Define the group addresses in relay_recipient_maps and then
      protect those addresses from unauthorized hosts using
      something similar to this:
      http://www.postfix.org/RESTRICTION_CLASS_README.html#internal

      -- Noel Jones
    Your message has been successfully submitted and would be delivered to recipients shortly.