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

291324Re: relay_recipient_maps not working

Expand Messages
  • Wietse Venema
    Feb 12, 2013
    • 0 Attachment
      Matthew Ceroni:
      > I am trying to setup the relay_recipient_maps option.
      > I created my LDAP file (/etc/postfix/ldap-relay_recipients.cf) and tested
      > it using postmap -q. When a valid user is supplied it returns 0 and when
      > not it returns 1.

      As documented this is used in the SMTP daemon to reject mail for
      non-existent recipients.

      > However when I send an email (testing using the local command tool mail) it
      > doesn't seem to matter and the message is sent to the relay anyways.

      Local submission does not arrive via the SMTP daemon. Also, I wonder
      what you want, Postfix returning an error status when you use the
      "mail" command? How should such mail be returned to sender if it
      never makes it into the mail system in the first place?

    • Show all 7 messages in this topic