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

Address Rewrite with Postfix

Expand Messages
  • Irwan Hadi
    Currently I m in the process of consolidating some of our domains. Is it possible for Postfix to do the following: receive email destined to *@olddomain.com,
    Message 1 of 2 , Mar 31, 2006
    • 0 Attachment
      Currently I'm in the process of consolidating some of our domains.
      Is it possible for Postfix to do the following:

      receive email destined to *@..., and rewrite the email to
      *@... ?

      For example, email from joe@... sent to bob@...
      will need to be forwarded to bob@... ?

      Thank You
    • Magnus Bäck
      On Saturday, April 01, 2006 at 09:01 CEST, ... http://www.postfix.org/ADDRESS_REWRITING_README.html#virtual
      Message 2 of 2 , Apr 1, 2006
      • 0 Attachment
        On Saturday, April 01, 2006 at 09:01 CEST,
        Irwan Hadi <ihblist@...> wrote:

        > Currently I'm in the process of consolidating some of our domains.
        > Is it possible for Postfix to do the following:
        >
        > receive email destined to *@..., and rewrite the email to
        > *@... ?
        >
        > For example, email from joe@... sent to bob@...
        > will need to be forwarded to bob@... ?

        http://www.postfix.org/ADDRESS_REWRITING_README.html#virtual
        http://www.postfix.org/VIRTUAL_README.html#virtual_alias
        http://www.postfix.org/virtual.5.html

        Do note that the special form

        @... @...

        breaks recipient validation so you should not use it. Instead generate a
        list of all recipients. This has been discussed a million times before,
        so the archives will contain more information.

        --
        Magnus Bäck
        magnus@...
      Your message has been successfully submitted and would be delivered to recipients shortly.