Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mail goes to same user on all domains?

Hi,


On Snow Leopard Server, I am hosting multiple domains.


My problem is that if I send an email to scott@domain1.com, the same email goes to the same user on other domains like at scott@domain2.com and scott@domain3.com.


Anybody have any idea what I have done wrong?


Thanks,

Scott

Mac mini, Mac OS X (10.6.8)

Posted on Aug 18, 2012 11:25 AM

Reply
15 replies

Aug 19, 2012 9:51 PM in response to scottl31

Likely nothing - that's the default option in mail where all domains are mapped to the same user records (e.g. postfix is configured to accept mail for domain1.com, domain2.com and domain3.com - once the domain is parsed they all map to the same user record - namely 'scott').


The solution is to implement the other type of virtual domain hosting at the postfix level. There's extensive online documentation about postfix and virtual hosting. Just be aware that it's almost entirely command-line driven since the Server Admin GUI doesn't delve deeply enough into Postfix's configuration files to handle this.

Aug 23, 2012 10:06 PM in response to Camelot

Hmm.. yet another crazy thing that apple did.


Well, I bought a Mac in the first place to avoid command lines, but I can usually mange if I can see exactly what to enter.


I'm not even sure of the search I'd use to find the answer. If you have any clues, or if you know of a set of commands that work, I'd appreciate it.


I guess my problem with your answer is that I'm not sure what "the other type of virtual domain hosting at the postfix level" is.


Thanks,

Scott

Aug 24, 2012 9:21 AM in response to scottl31

Unfortunately, the solution for the problem you described is as I explained in my previous reply. You need a unique user account in WGM for each domain that will have the same user name for e-mail that needs to go to different domains, with the full e-mail address listed as a short name for the WGM domain account. That's the only way that scenario will work in SL Server.

Aug 24, 2012 10:03 AM in response to capaho

That's the only way that scenario will work in SL Server.

Not quite true. That's how it works if you use the GUI admin tools. You can still peek under the hood and configure Postfix directly, based on the links I posted above.

Depending on your level of expertise and time that might not be preferable, but it doea mean that Workgroup Manager model is not the only way.

Aug 24, 2012 5:32 PM in response to scottl31

I'm not that fond of Workgroup Manager, either, but SL Server is designed to use it for creating and managing network user accounts. Creating a unique user account with an associated mail domain and Short Names for email aliases is the fastest and easiest way to accomplish what you want.


Of course, it's your server, so you can peck through the configuration files if you are that averse to using Workgroup Manager. Post the results once you get it done as it will make a good reference for others who want to use the same approach.

Apr 12, 2013 2:54 PM in response to scottl31

Ok, I needed this info again and I found my own thread on Google. Ha!


Anyway, I somehow was not understanding the recommendation to make a unique user name for each domain in Workgroup Manager, then add the specific email names in the Short Names list as specified by capaho above.


So that did what I want for now, and maybe I'll try the onfiguration files later.


Thanks a lot!

Mail goes to same user on all domains?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.