#1  
Old 21st October 2009, 02:51
philefluxx philefluxx is offline
Junior Member
 
Join Date: Oct 2009
Posts: 23
Thanks: 0
Thanked 1 Time in 1 Post
Default Postfix User Addresses

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 user@domain.net to user@sub.domain.net. 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 user@sub.domain.net to look like its being sent from user@domain.net 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!
Reply With Quote
Sponsored Links
  #2  
Old 22nd October 2009, 04:32
philefluxx philefluxx is offline
Junior Member
 
Join Date: Oct 2009
Posts: 23
Thanks: 0
Thanked 1 Time in 1 Post
Default

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 user@domain.net, 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?
Reply With Quote
  #3  
Old 23rd October 2009, 00:57
philefluxx philefluxx is offline
Junior Member
 
Join Date: Oct 2009
Posts: 23
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

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
Reply With Quote
The Following User Says Thank You to philefluxx For This Useful Post:
falko (23rd October 2009)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hacking attack (ubuntu 7.04 server + local root exploit on kernel) smoko General 4 15th September 2013 05:05
postfix: "unknown user" with mysql auth. Kruser Server Operation 3 18th June 2009 18:20
Postfix not responding to telnet CarbonCopy Server Operation 6 8th May 2009 05:39
HELP: Postfix on Lenny: NO STARTTLS MESSAGE zeus80 HOWTO-Related Questions 2 26th March 2009 18:54
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47


All times are GMT +2. The time now is 03:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.