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

Re: Domain rewritting with postfix

Expand Messages
  • Victor Duchovni
    ... This is not a rewriting question, it is an access control question. To restrict the choice of sender addresses, use access(5) primitives and
    Message 1 of 5 , Mar 30 12:49 PM
    • 0 Attachment
      On Fri, Mar 30, 2007 at 12:00:03PM +0300, Alexandros Fragkiadakis wrote:

      > I've read the ADDRESS_REWRITING_README but no luck.
      > Another problem is tha a logged in user can send email with any FROM address. How can i make postfix check the outbound domains and rewritte them to only the supported domains?

      This is not a rewriting question, it is an access control question. To
      restrict the choice of sender addresses, use access(5) primitives and
      reject_sender_login_mismatch and friends as appropriate.

      http://www.postfix.org/postconf.5.html#smtpd_sender_restrictions
      http://www.postfix.org/access.5.html

      --
      Viktor.

      Disclaimer: off-list followups get on-list replies or get ignored.
      Please do not ignore the "Reply-To" header.

      To unsubscribe from the postfix-users list, visit
      http://www.postfix.org/lists.html or click the link below:
      <mailto:majordomo@...?body=unsubscribe%20postfix-users>

      If my response solves your problem, the best way to thank me is to not
      send an "it worked, thanks" follow-up. If you must respond, please put
      "It worked, thanks" in the "Subject" so I can delete these quickly.
    Your message has been successfully submitted and would be delivered to recipients shortly.