HT202360 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 [email protected], and [email protected] was forwarding to [email protected] After the update to server 2.2, forwarding stopped working.
Any one know how to fix ?

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

Similar Messages

  • Caldavd failing to start after upgrade to Server 3.2.1

    This problem, caldavd not starting after upgrading to Server 3.2.1, is a variation on the theme of PostgresQL not starting.  It too boils down to a postgres database not having been updated properly.  Below are the steps needed to fix this problem:
    sudo su -
    # Change to the directory with the postgres database for the calendars and contacts
    cd /Library/Server/Calendar\ and\ Contacts/Data/Database.xpg
    # Disable caldavd for now
    launchctl unload -w /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/org.c alendarserver.calendarserver.plist
    # move the broken database out of the way and build a new empty one
    mv cluster.pg broken-cluster.pg
    mkdir cluster.pg && chmod 700 cluster.pg && chown _calendar:_calendar cluster.pg
    sudo -u _calendar /Applications/Server.app/Contents/ServerRoot/usr/bin/initdb "/Library/Server/Calendar and Contacts/Data/Database.xpg/cluster.pg" -E utf8 --lc-ctype=C
    # Finish the upgrade job that never completed by explicitly invoking the previous version of postgres:
    sudo -u _calendar /Applications/Server.app/Contents/ServerRoot/usr/bin/pg_upgrade -b /Applications/Server.app/Contents/ServerRoot/usr/libexec/postgresql9.2 -B /Applications/Server.app/Contents/ServerRoot/usr/bin -d /Library/Server/Calendar\ and\ Contacts/Data/Database.xpg/cluster.pg.original_for_upgrade/ -D /Library/Server/Calendar\ and\ Contacts/Data/Database.xpg/cluster.pg
    # Mark the newly upgraded database as no longer in need of an upgrade
    sudo -u _calendar touch cluster.pg/.NoRestoreNeeded
    # Start caldavd back up
    launchctl load -w /Applications/Server.app/Contents/ServerRoot/System/Library/LaunchDaemons/org.c alendarserver.calendarserver.plist
    And everything should be the way it should have been in the first place!

    Hi, I have the same issue and Linc Davis pointed me to this thread from Re: Server Calendar migration failed.
    Your solution already got me somewhere, so thanks for that
    I need to note that my machine is on Yosemite (10.10.1) and I'm running Server 4.
    The only issue I have is that I get an error message when running pg_upgrade, the log says:
      pg_upgrade run on Fri Jan 23 09:31:30 2015
    command: "/Applications/Server.app/Contents/ServerRoot/usr/libexec/postgresql9.2/pg_ctl" -w -l "pg_upgrade_server.log" -D "/Library/Server/Calendar and Contacts/Data/Database.xpg/b$
    waiting for server to start....LOG:  database system was interrupted; last known up at 2013-11-02 12:21:52 CET
    LOG:  creating missing WAL directory "pg_xlog/archive_status"
    LOG:  starting archive recovery
    LOG:  restored log file "000000010000000000000002" from archive
    LOG:  invalid magic number D075 in log file 0, segment 2, offset 0
    LOG:  invalid checkpoint record
    FATAL:  could not locate required checkpoint record
    HINT:  If you are not restoring from a backup, try removing the file "/Library/Server/Calendar and Contacts/Data/Database.xpg/broken-cluster.pg/backup_label".
    LOG:  startup process (PID 12315) exited with exit code 1
    LOG:  aborting startup due to startup process failure
    ........................................................... stopped waiting
    pg_ctl: could not start server
    Examine the log output.
    The log talks about removing the backup_label file. When I do that the log says the following:
      pg_upgrade run on Fri Jan 23 09:41:34 2015
    command: "/Applications/Server.app/Contents/ServerRoot/usr/libexec/postgresql9.2/pg_ctl" -w -l "pg_upgrade_server.log" -D "/Library/Server/Calendar and Contacts/Data/Database.xpg/b$
    waiting for server to start....LOG:  database system was interrupted; last known up at 2013-11-02 12:21:52 CET
    LOG:  starting archive recovery
    LOG:  invalid magic number D075 in log file 0, segment 2, offset 0
    LOG:  invalid primary checkpoint record
    LOG:  could not open file "pg_xlog/000000010000000000000001" (log file 0, segment 1): No such file or directory
    LOG:  invalid secondary checkpoint record
    PANIC:  could not locate a valid checkpoint record
    FATAL:  the database system is starting up
    .LOG:  startup process (PID 15068) was terminated by signal 6: Abort trap
    LOG:  aborting startup due to startup process failure
    stopped waiting
    pg_ctl: could not start server
    Examine the log output.
    Thanks already for the help

  • After upgrading to Lion from Snow Leopard, mail server does not receive incoming email

    After upgrading my server last night [2011.07.20] from Snow Leopard to Lion, my mail server settings went belly up.  After toying around with the server, its certificates and what-not, I was able to get it running, but it is no longer receiving any emails [neither internally nor from Gmail, Yahoo, etc.].
    I can send emails via SMTP just fine [using SSL] to external email accounts [and it doesn't complain when I address an email to an internal email account, but I can't verify that it's sending it to the internal email account because it won't receive!].
    The Connection Doctor says that it is indeed connecting properly to the server [incoming = IMAP, outgoing = SMTP], so there is communication between Mail 5.0 [and also Thunderbird as well] and the mail server.  The problem appears to be the mail server not receiving any emails - from internal or external addresses.
    Anyone else having this problem or know of a fix for it?
    Thanks!

    Did you find a solution to this issue?  My mail server is doing the same thing.  I've tried six migrations now, and have a couple of tickets open, but they all have issues.  I have worked around all of them except the mail server problem.
    I did some more digging; the problem appears to be that on a migrated server, it leaves all of your mail store in the old location, doesn't move it, and then doesn't appear to upgrade spam-assassin properly.  The net effect is that the mail server gets the SMTP communication, tries to pass the message into spam assassin, and then it goes south.
    I see errors like this littered in the logs:
    Jul 31 13:53:10 mail org.amavis.amavisd[5927]: bayes: cannot open bayes databases /var/amavis/.spamassassin/bayes_* R/O: tie failed:
    Jul 31 13:53:10 mail org.amavis.amavisd[5927]: bayes: cannot open bayes databases /var/amavis/.spamassassin/bayes_* R/O: tie failed: No such file or directory
    Do you see anything similar?

  • After upgrading Exchange Server 2007 to SP3 with update rollup 13, OWA not working

    Hi,
    We have just installed Service Pack 3 and update rollup 13 on our Exchange Server 2007, but unfortunately our OWA has gone inaccessible.
    PROBLEM- The following error comes up when we try to access OWA :
    Exception
    Exception type: Microsoft.Exchange.Clients.Owa.Core.OwaInvalidConfigurationException
    Exception message: Object reference not set to an instance
    of an object.
    Call stack
    Microsoft.Exchange.Clients.Owa.Core.OwaConfigurationManager.CreateAndLoadConfigurationManager()
    Microsoft.Exchange.Clients.Owa.Core.Globals.InitializeApplication()
    Microsoft.Exchange.Clients.Owa.Core.Global.ExecuteApplicationStart(Object sender, EventArgs e)
    Inner Exception
    Exception type: System.NullReferenceException
    Exception message: Object reference not set to an instance
    of an object.
    Call stack
    Microsoft.Exchange.Clients.Owa.Core.Configuration.CheckPublicFolders(ADSystemConfigurationSession session, ADObjectId[] pfdbIds, Boolean& allLegacy, Boolean& allLater)
    Microsoft.Exchange.Clients.Owa.Core.Configuration..ctor(ADSystemConfigurationSession session, String virtualDirectory, String webSiteName, ADObjectId distinguishedName, Boolean isPhoneticSupportEnabled)
    Microsoft.Exchange.Clients.Owa.Core.OwaConfigurationManager.LoadConfiguration()
    Microsoft.Exchange.Clients.Owa.Core.OwaConfigurationManager.CreateAndLoadConfigurationManager()
    ACTION TAKEN SO FAR :
    1. Removed OWA virtual directories and recreated them again.
    2. IIS has been reset.
    3. Restarted the HUB/CAS server.
    4. Created public folder database.
    Even after doing all these activities, owa is still inaccessible. Please help.
    Regards,
    Ankur

    Hi Ankur,
    From your description, you can't access to OWA after upgrading Exchange server 2007 to SP3 rollup 13. Firstly, please locate to C:\ExchangeSetupLogs and make sure that it is a successful installation. If not, this issue often occurs.
    If it is a successful upgrading, please follow the steps below for troubleshooting.
    1. Open IIS Manager, click Default Web Site -> Authentication, make sure that Anonymous Authentication and Windows Authentication are enabled.
    2. Click Default Web Site -> SSL Settings, check "Require SSL" and click Ignore.
    3. Click Default Web Site -> HTTP Redirect, check Redirect (enter your 
    https://URL), check "Only redirect" box and Status code Found 302.
    4. Expand Server Configuration -> Client Access ->double click owa ->Authentication tab. Check the Basic Authentication and check the Use forms-based authentication button Logon Format: Domain\user name.
    Hope it helps.
    Best regards,
    Amy Wang
    TechNet Community Support

  • After upgrading to Mountain Lion from Lion, Mail, Safari and note need about five minutes to start.

    After upgrading to Mountain Lion from Lion, Mail, Safari and Note need about five minutes to start.
    After starting, Mail answers are very very slow. The same for Note. Instead of, sending mails is only a bit slower than before upgrading.
    In Safari, I choose Goggle as starting page in Preferences, but at every restart misses that starting page and the search strip says "Seek Google or instert an address".

    Well, I found the solution here in another thread.
    i just want to mention that the samw thing was happening also for the notes and the reminders apps!! (they quit unexpectedly!!).
    So I found the solution here.
    Thank you graphicsluc!!!

  • After upgrading to Lion, my Macbook Air's built in iSight camera has disappeared.  I'm not sure how to get it recognized again.

    After upgrading to Lion, my Macbook Air's built in iSight camera has disappeared.  I'm not sure how to get it recognized again.  Help -Sami

    Well, if you did then you may be able to track it, if you did not it's not possible.

  • After upgrading to 11.1 2yrs of podcast where deleted. How do I find them?

    After upgrading to 11.1 2yrs of my podcast disappeared. How do I find them. I had Itunes set NOT to manage my library.

    Hi bluegrandpanash,
    Thanks for visiting Apple Support Communities.
    If you backed up your iPhone to iCloud before updating the software, first try the steps under "Restore from an iCloud backup" in this article to recover your data:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    http://support.apple.com/kb/HT1766
    Best Regards,
    Jeremy

  • After upgrading to Mac OS 10.6.8, sleep indicator light remains off when I start my MB Pro

    After upgrading to Mac OS 10.6.8, sleep indicator light remains off when I start my 15" MB Pro, but the computer works, and when I put it to sleep, the light flashes as normally. Any suggestions?

    Hi j,
    An SMC Reset can fix some SIL issues. If everything is working fine . . . ? Anyway, it shouldn't hurt anything to try it if you want: http://support.apple.com/kb/HT3964

  • After upgrade to OS X10.6.7 Mail doesn't display pix.  Missing plug-in instead. Already reset Java

    After upgrade to OS X10.6.7 Mail doesn't display pix.  Missing plug-in instead. Already reset Java to default.
    Did not find any other suggestion online.
    What's happening?

    Hi
    Is it not displaying any type of picture attachment (JPG, GIF, TIFF, PNG)? Is it any message that you view, from any sender?
    How did you reset Java? You may want to clear the caches as well. Empty ~/Library/Caches & /Library/Caches/.
    Taylor

  • After upgrading I now have four operating systems on my Imac. how do I get rid of some

    after upgrading I now have four operating systems on my Imac. how do I get rid of some

    Very sorry it took so long to get back, I have tiger,leopard,snow leopard and lion still on the machine although i can't seem to find exactly where. I am sure that I don't need them all and they are just taking up disc space as it where. I thought that it would be good to clear some out but it is never a good idea to delete OS's when you are not sure what you are doing.  thanks

  • After upgrading my iphone4s to 6.1.2, it stopped vibrating.

    After upgrading my iphone4s to 6.1.2, it stopped vibrating. I tried to change the settings and sounds. But nothing changes it. I even tried the iBrate app. I reset all the settings and it still doesn't work. Does anyone else face a vibration issue? It was working perfectly till the day before yesterday and got screwed after I upgraded it to 6.1.2.

    I restored it and copied all the backed up data into the iPhone after the Restoration process and still it is in the same condition.

  • Problem in VC iview after upgrading the server

    Hello All,
    We have created iViews using VC application in NW07 SP17. It was working fine. Recently we have upgraded the server to SP19. After upgrade, VC iview shows Portal Runtime error.I am getting following error while tracing log file.         
    com.sapportals.portal.prt.component.PortalComponentException: Error in init method
    Caused by: com.sapportals.portal.prt.component.PortalComponentException: Error occurs during the compilation of java generated from the jsp
    Thanks,
    Venkatesh R

    Hi,
    This is a known issue, and you have three options:
    1) Upgrade to SP20 where this issue is fixed
    2) open an OSS ticket to SAP support, and you will probably get a fix.
    3) sounds like you are using flex 1.5, start using Flex 2 runtime where this issue will not occur.
    Amir

  • After upgrade to Server 4 Website setting  "who can access" cannot use networkgroups anymore

    i have a couple of website's where i limited the access by using the Who can Access. (Used a network Group)
    after the upgrade to server-4 
    people can't login anymore although they're using the right credentials
    the login screen pop's back up as if the pasword is not correct.
    logging in on the server with that same account still works - so the OD seems oké
    after hours of trying all sorts of things i've managed to get it a bit working by creating on the server local groups and make network users member of that local group. And then use the Local group in the Who can Access
    Its a work around but i'm not happy with this upgrade!!!!!!

    These are some File Sharing log lines:
    Dec  6 13:30:00 _MY_SERVER_HERE_ AppleFileServer[1119] <Info>: Kerberos fail: gss_acquire_cred major status_value <458752>  minor status_value <0>
    Dec  6 13:30:00 _MY_SERVER_HERE_ AppleFileServer[1119] <Info>:       major error <1>:  No credentials were supplied, or the credentials were unavailable or inaccessible.
    Dec  6 13:30:00 _MY_SERVER_HERE_ AppleFileServer[1119] <Info>:       minor error <1>: unknown mech-code 0 for mech unknown
    And I also seem to suffer from AD issues :(:(
    Dec  3 19:28:31 _MY_SERVER_HERE_ slapd[205]: conn=1211 op=2: attribute "entryCSN" index delete failure
    Dec  3 19:28:31 _MY_SERVER_HERE_ slapd[205]: => bdb_idl_insert_key: c_put id failed: DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock (-30994)
    Dec  3 19:28:31 _MY_SERVER_HERE_ slapd[205]: conn=1215 op=3: attribute "entryCSN" index add failure

  • CardDAV, CalDAV not work after upgraded ML server

    After upgrade my Mac mini to ML server and Macbook Pro Retina to ML, the existing configuration of CardDAV, CalDAV and Notes no longer work anymore, it keep asking password.
    When I remove the setting and I cannot add back again, the checkbox keep looping. After that, I create another user account and the DAV is work again but notes still not work.
    I clean installed the ML server 4 times but the DAV issue not fix. sometime checkbox loopong, sometime pop up error meessage.
    Actually, my econd Mac Mini running Lion server (10.7) without any issue wit

    Just to let everybody know what I am trying at the moment:
    Found a thread where someone suggests to delete the postgresql-database:
    Detials in this thread https://discussions.apple.com/thread/3206720?start=0&tstart=0
    1. sudo serveradmin stop calendar addressbook
    2. copy old 10.6.8 calender data from backup ("../Library/CalendarServer/Documents/") to  /Library/Server/Calendar\ and\ Contacts/Documents/
    3. delete database: sudo dropdb -U _postgres caldav
    4. mv (if it exists)  /Library/Server/Calendar\ and\ Contacts/Documents/calendars-migrated to  /Library/Server/Calendar\ and\ Contacts/Documents/calendars-migrated-old
    5. sudo calendarserver_bootstrap_database
    6. now we start again: sudo serveradmin start calendar
    7. watch the log file - tail -f /var/log/caldavd/error.log
    And I get the same error as above but now I see a new one:
    2011-10-26 15:29:19+0200 [Uninitialized] [twistedcaldav.memcachepool.MemCacheClientFactory#error] MemCache connection failed: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionRefusedError'>: Connection was refused by other side: 61: Connection refused.
    Every help is welcome, bye
    Christoph

  • Mail flow completely broken after upgrading Exchange Server 2013 CU3 (Build 775.38) to Exchange Server 2013 SP1 (Build 847.32)

    internal mail flow completely broken.
    external mail flow completely broken.
    i upgraded exchange server as follows:
    1. setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms
    2. setup.exe /PrepareAD /IAcceptExchangeServerLicenseTerms
    3. upgraded the exchange server with GUI installer
    also considered this: http://support.microsoft.com/kb/2938053/en-us
    receive connectors :
    Transport Service couldn't start, then i disabled hub transports, and it starts, but no mail flow on port 25. according to this:
    http://social.technet.microsoft.com/wiki/contents/articles/24056.what-the-crash.aspx
    i didn't have any success to fix mail flow, any solution?

    Hi Alireza
    The above tech-net http://social.technet.microsoft.com/wiki/contents/articles/24056.what-the-crash.aspx
    will be applicable only if we get these events in the app log 1019,1018,1036,4999
    You can check the transport service is running in which service account - Local or network 
    It should be running in network account by default.
    You can run get-transportagent and check if there are any transport agents installed 
    If you find them then disable all the transport agents that you have installed on the Exchange servers by running disable-transportagents
    Disable the antivirus if you have any installed.
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com

Maybe you are looking for