Q: After upgrading to Server 2.2, my mail server stopped forwarding. How to get i started again ?
I'm runnig a ML Server with mail server active and two mail domaines. Before updating the server app. everything worked fine. All my user where logged inn with username@domain1.com, and username@domain2.com was forwarding to username@domain1.com. After the update to server 2.2, forwarding stopped working.
Any one know how to fix ?
Mac Pro, OS X Server
Posted on Jan 30, 2013 4:08 AM
Sorry- I made a mistake on that.
IGNORE BOTH DIRECTIONS ABOVE:
Revert the setting back to just your primary domain:
sudo serveradmin settings mail:postfix:mydomain = "domain.com"
sudo postfix reload
The config errors should stop now.
############# What you really should do ###############################
If you don't need virtual domains (and I don't think you do):
Do this:
sudo pico /Library/Server/Mail/Config/postfix/main.cf
Scroll towards the bottom (many pages) and on the last page you should see:
mydestination=
It will probably look like this:
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
simply add your second domain to the end of whatever is there separated by a comma
So it would be this:
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, myotherdomain.com
Then reload postfix with:
sudo postfix reload
That shoud do it.
Sorry about the confusion
Posted on Feb 4, 2013 3:56 PM