Upgrade from Lion Server to ML 10.8.1 Broke Mail server!

....10.8.1 OD seems to work, files and AFP available, but Mail server not working correctly. Now users don't see mail, postfix issues numerous errors about missing system_user_maps and delivers no mail? Must recover mails! Help! Where should I look, and what to read for Diagnosis ?


After upgrade in place from SL to Lion to ML. most services did not work correctly; except for Mail and DNS and OD. Reinstalled. Now most everything seems to work including Card Services, Calendars, Wiki, Web, DNS, OD. But Mail is off and missing??? No delivery of INcoming mail, No Sending Mail, no IMAP Mail login for users.


On Mail configuration in Server.App: Turned off All Filtering. Have rebooted Server several times, Restarted Mailserver from Server,app and Terninal. Same Results. Somewhere along the line from Server 10.5 to SL to Lion to 10.8 incoming Maill started going to user@PLG1.plg-law.com rather than simply user@plg-law.com.


Is it possible that virtual domains are fuzzing up the works? The error logs use the longer virtual domain (with the sevrer name prefix) rather than the domain name?


Here are some sample Log messages:


From SYStem Log:


Sep 7 19:33:56 plg1.plg-law.com postfix/cleanup[1998]: warning: 8273B199E3F8: recipient_canonical_maps map lookup problem for _mailman@plg1.plg-law.com

Sep 7 19:33:56 plg1.plg-law.com postfix/pickup[1324]: warning: maildrop/ECF3A196A4FE: error writing 8273B199E3F8: queue file write error

Sep 7 19:33:58 plg1.plg-law.com postfix/pickup[1324]: warning: E5AC9199E3F9: message has been queued for 1 days

Sep 7 19:33:58 plg1.plg-law.com postfix/cleanup[1998]: warning: hash:/etc/postfix/system_user_maps is unavailable. open database /etc/postfix/system_user_maps.db: No such file or directory

Sep 7 19:33:58 plg1.plg-law.com postfix/cleanup[1998]: warning: hash:/etc/postfix/system_user_maps lookup error for "_mailman@plg1.plg-law.com"

Sep 7 19:33:58 plg1.plg-law.com postfix/cleanup[1998]: warning: E5AC9199E3F9: recipient_canonical_maps map lookup problem for _mailman@plg1.plg-law.com

Sep 7 19:33:58 plg1.plg-law.com postfix/pickup[1324]: warning: maildrop/ED4AB196A4FF: error writing E5AC9199E3F9: queue file write error

Sep 7 19:33:59 plg1.plg-law.com postfix/cleanup[1998]: warning: hash:/etc/postfix/system_user_maps is unavailable. open database /etc/postfix/system_user_maps.db: No such file or directory

Sep 7 19:33:59 plg1.plg-law.com postfix/cleanup[1998]: warning: hash:/etc/postfix/system_user_maps lookup error for "_mailman@plg1.plg-law.com"

Sep 7 19:33:59 plg1.plg-law.com postfix/cleanup[1998]: warning: 385DD199E3FB: recipient_canonical_maps map lookup problem for _mailman@plg1.plg-law.com

Sep 7 19:33:59 plg1.plg-law.com postfix/pickup[1324]: warning: maildrop/EE2A9199B211: error writing 385DD199E3FB: queue file write error


From SMTP Log:


Sep 7 19:35:24 plg1.plg-law.com postfix/pickup[1324]: 3652E199E487: uid=78 from=<_mailman>

Sep 7 19:35:24 plg1.plg-law.com postfix/cleanup[1998]: warning: hash:/etc/postfix/system_user_maps is unavailable. open database /etc/postfix/system_user_maps.db: No such file or directory

Sep 7 19:35:24 plg1.plg-law.com postfix/cleanup[1998]: warning: hash:/etc/postfix/system_user_maps lookup error for "_mailman@plg1.plg-law.com"

Sep 7 19:35:24 plg1.plg-law.com postfix/cleanup[1998]: warning: 3652E199E487: recipient_canonical_maps map lookup problem for _mailman@plg1.plg-law.com

Sep 7 19:35:24 plg1.plg-law.com postfix/pickup[1324]: warning: maildrop/8E82B199AD06: error writing 3652E199E487: queue file write error

Mac mini (Late 2009), OS X Server, 10.8.1

Posted on Sep 7, 2012 4:50 PM

Reply
163 replies

Sep 9, 2012 9:12 PM in response to bpassan2007

As for your other error


Sep 9 14:43:37 plg1.plg-law.com serveradmin[25807]: malformed plist file: missing keys /Library/Server/Network/Config/autoportmap.plist



it's seems odd that this error pops up now....

It doesn't say it can't read or is missing

but says it's malformed, but missing keys in the plist file.


have you tried opening it with TextWrangler?


I'm wondering if the file got corrupted within the last day... which makes me wonder if why the corruption.


Just curious what computer are you using for server? and how old is it? is it using the original hard drives? Also by any chance you might have a RAID 1 which is mirroring. Just wondering about your setup since perhaps can improve it later.


If autoportmap.plist seems corrupted I wonder if you can pull a backup copy from TimeMachine from the last day or two and replace it (Note keep the corrupted one in case).


Before you do this, first fix the system_user_maps issue and see how that turns out.

Sep 10, 2012 7:29 AM in response to haykong

Hay: Thanks. Done. Mail Server restarted....waited 15 minutes. Mail is accessble, but sending mail or logging in to smptp server does not work.


Here is new messages from Mail-SMTP Error Logs:


Sep 10 10:25:00 plg1.plg-law.com postfix/cleanup[53745]: warning: hash:/Library/Server/Mail/Config/postfix/system_user_maps lookup error for "_mailman@plg1.plg-law.com"

Sep 10 10:25:00 plg1.plg-law.com postfix/cleanup[53745]: warning: BF29C1A4BF52: recipient_canonical_maps map lookup problem for _mailman@plg1.plg-law.com

Sep 10 10:25:00 plg1.plg-law.com postfix/pickup[53200]: warning: maildrop/69ADD1A414AF: error writing BF29C1A4BF52: queue file write error

Sep 10 10:25:01 plg1.plg-law.com postfix/pickup[53200]: C01511A4BF54: uid=78 from=<_mailman>

Sep 10 10:25:01 plg1.plg-law.com postfix/cleanup[53745]: warning: hash:/Library/Server/Mail/Config/postfix/system_user_maps is unavailable. open database /Library/Server/Mail/Config/postfix/system_user_maps.db: No such file or directory

Sep 10 10:25:01 plg1.plg-law.com postfix/cleanup[53745]: warning: hash:/Library/Server/Mail/Config/postfix/system_user_maps lookup error for "_mailman@plg1.plg-law.com"

Sep 10 10:25:01 plg1.plg-law.com postfix/cleanup[53745]: warning: C01511A4BF54: recipient_canonical_maps map lookup problem for _mailman@plg1.plg-law.com

Sep 10 10:25:01 plg1.plg-law.com postfix/pickup[53200]: warning: maildrop/6D0061A43230: error writing C01511A4BF54: queue file write error



Interesting, I checkd and the System_users_maps that were in the /Config/Postfix directory before are gone? Rebuilt bo Server.App? Hidden?


I remember looking at a Discussion thread on Postmaps command for building .db for postfix. I'll see if that works. Brian

Sep 10, 2012 7:57 AM in response to bpassan2007

don't know.. first let me finish fixing some stuff on my client's Lion Server before their business opens in the next half hour. I probably won't move them over to Mountain Lion Server for a few month til I deem it's safe for them. Would be nice because of new profile manager in 10.8 server sine they have over 30 ipads on the field for their nurses.

Sep 10, 2012 8:48 AM in response to haykong

Better. But not perfect. Well some errors are gone, but surprisingly a smtpdreject error has surfaced again (despite earlier fix of .db and main.cf to find this .db):


Sep 10 11:45:02 plg1.plg-law.com postfix/smtp[3217]: A37AB1A4F793: to=<_mailman@plg1.plg-law.com>, orig_to=<_mailman>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.66, delays=0.13/0.12/0/0.4, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 2E6FA1A4F79A)

Sep 10 11:45:02 plg1.plg-law.com postfix/qmgr[2574]: A37AB1A4F793: removed

Sep 10 11:45:23 plg1.plg-law.com postfix/postscreen[3198]: CONNECT from [146.82.220.226]:48122 to [192.168.2.4]:25

Sep 10 11:45:29 plg1.plg-law.com postfix/postscreen[3198]: PASS NEW [146.82.220.226]:48122

Sep 10 11:45:29 plg1.plg-law.com postfix/smtpd[3199]: connect from mta1.primary.na.epidm.net[146.82.220.226]

Sep 10 11:45:30 plg1.plg-law.com postfix/smtpd[3199]: warning: cidr:/Library/Server/Mail/Config/postfix/smtpdreject.cidr is unavailable. open /Library/Server/Mail/Config/postfix/smtpdreject.cidr: No such file or directory

Sep 10 11:45:30 plg1.plg-law.com postfix/smtpd[3199]: warning: cidr:/Library/Server/Mail/Config/postfix/smtpdreject.cidr: table lookup problem


Wonder if the main.cf config line concerning "cidr" refernence is incorrect, or if just time will correct as the system referes to /Config/postfix configuration file?

Sep 10, 2012 9:09 AM in response to bpassan2007

Have you checked if smtpdreject is there? and what is the actually file name?



Yeah fixed my clients issues and also blocked off an attacker .. yeah I should turn on Lion's Adaptive Firewall....


At least with this client they're running both OS Lion Server and WIndows 2008 Server... I don't like having all services running on just one computer.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Upgrade from Lion Server to ML 10.8.1 Broke Mail server!

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