Postfix User Addresses

Discussion in 'Server Operation' started by philefluxx, Oct 21, 2009.

  1. philefluxx

    philefluxx New Member

    So....
    I am currently working to migrate our MS Exchange system over to Postfix. The way things are set up is we have a forward set on our public mail systems that will forward mail destined for [email protected] to [email protected]. I want to make things as streamline as possible and prevent any of my users from having to update contacts with a new email address. I would like to be able to force a reply address for each user. In Exchange I just specify the email address for each user account, so basically that is the function Im looking for. In Exchange it will also send the message from [email protected] to look like its being sent from [email protected] as to not confuse the recipients.

    I know I can just set the IMAP clients for each user to do this for me, but I dont want to depend on my end users to do this correctly (Im sure you can appreciate that).

    Thanks for any help you can provide!
     
  2. philefluxx

    philefluxx New Member

    So Ive thought of a way to accomplish my goal with the use of our public mail systems (I work for a ISP). Im thinking about removing my subdomain completely and creating all my mail accounts as [email protected], which is the same domain our customers use. Then I can modify my MX records to include my new server in the MX look up. The issue I foresee is the way things have been set up for this system if mail comes in for a customer and for some gawd awful reason the MX servers are busy it will attempt to contact my server being last on the mx record, see that the mailbox does not exist and then bounce the email destined for a customer back to the sender with a "no mailbox by that name" error.

    My solution would be to specify a MX transport that says this specified email will be sent directly to this server. Seems like this should work right?

    Well the public mail system is built on Qmail and I cannot find any documentation on how to do this or if its even possible. So are there any Qmail users out there that might be able to point me in the right direction?
     
  3. philefluxx

    philefluxx New Member

    Sometimes you just gotta sleep on things.

    The answer I was looking for is "Address Masquerading"


    For anyone interested you add the following to postfix main.cf

    address_masquerade = domain.com


    This will hide the addresses of the local host to appear to come from where ever you wish.

    For more information reference here
     

Share This Page