Have you upgraded mountain lion to 10.8.2 and server to 2.1.1?
Some while ago this hint helped me as well:
smtpd_client_restrictions = hash:/etc/postfix/smtpdreject cidr:/etc/postfix/smtpdreject.cidr permit_mynetworks
smtpd_client_restrictions = hash:/Library/Server/Mail/Config/postfix/smtpdreject cidr:/Library/Server/Mail/Config/postfix/smtpdreject.cidr permit_mynetworks
alias_maps = hash:/etc/postfix/aliases
alias_maps = hash:/Library/Server/Mail/Config/postfix/aliases
remove (because there's no such file):
virtual_alias_maps = $virtual_map
virtual_alias_domains = hash:/Library/Server/Mail/Config/postfix/virtual_domains
As Mark23 said: upgrade mountain lion to 10.8.2 and server to 2.1.1 first.
Restart the server.
The two warnings are not the reason for postfix not starting. There must be other things - sadly the log level isn't adequate for trouble shooting.
Check the presence of an MX record in your DNS (and that your server is using this very DNS). If you've configured SSL, check the certificate, private key and that postfix can use them. IMHO these are two top reasons for postfix not starting.
If it doesn't help: increase the log level.
The iMac was first upgraded to mountain lion and upgraded to 10.8.2 and was not a server at that point. Then server tools was installed wich directly is version 2.1.1.
The server was restartet
I actually found that none of your lines was in the main.cf file so your suggestions has been added and I still got no mails and could send mails.
The MX record seems to be in place and I also originally did receive a few mails and then suddenly no mails at all.
I then made changes in Filtering Settings - disabled virus filtering og disabled junk mail filtering and together with your lines I now receive some mails again.
If I enable virus filtering and junk mail filtering mail flow stops - any suggestions?
Does the server tools wizard not make the main.cf file changes? Is there a best practise for the main.cf?
Maybe my main.cf file is a mess
I get lines like this in the smtp log
Oct 16 18:55:01 otrimac.ontherun.dk postfix/qmgr: warning: connect to transport private/smtp-amavis: Connection refused
Thanks Mark23 for your support :-)
....If I enable virus filtering and junk mail filtering mail flow stops - any suggestions?....
have same issue.....
when i analyse the smtp log file, found also the next error
..... relay=none, delay=141119, delays=141119/0.04/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
the workaround to get email working:
Server.app : set email filtering off , junkmail filtering off and only blacklist enabled.
i think this is a serious problem and hope apple can help here asap
OS X 10.8.2
Message was edited by: Jos@apple