Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I have a debian server with postfix installed and an exchange server(sux but doesn't depend on my decision). So I need to configure postfix to relay mail to the ...
  1. #1
    Just Joined!
    Join Date
    Nov 2011
    Posts
    1

    Question postfix relay mail if user not exist

    Hi, I have a debian server with postfix installed and an exchange server(sux but doesn't depend on my decision). So I need to configure postfix to relay mail to the exchange server when it recieves mail to not existing user. For example:
    mail -> postfix ->(if no such user) redirect -> exchange
    Any idea how to do this?

  2. #2
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    616
    You may want to look into a split domain setup. Its going to be difficult, because a mail server handling mail to a domain when it can't find a mailbox assumes the user does not exist.

    Ideally, if the exchange server or the postfix server were a different domain, you could just handle them with aliases. you can still send mail to a particular user on a domain, but it will forward it over to the domain the exchange server is running.
    linux user # 503963

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •