Skip navigation

Mail server issue on Mountain Lion

2066 Views 9 Replies Latest reply: Jan 16, 2013 12:08 PM by bmcdade00 RSS
KlausBG Calculating status...
Currently Being Moderated
Oct 13, 2012 9:16 PM

Hi all

 

I hope someone can help me out here as I am very new with Apple stuff

 

I have installed server tools on Mountain Lion and trying to get my mail server running and I had it running for a short period and received a couple of mails but then I did not receive more mails

 

I get these entries in the SMTP log when starting the Mail service:

 

Oct 14 05:53:09 otrimac.ontherun.dk postfix/postfix-script[88002]: fatal: the Postfix mail system is not running

Oct 14 05:53:20 otrimac.ontherun.dk postfix/postfix-script[88554]: warning: not owned by root: /etc/postfix/main.cf copy

Oct 14 05:53:20 otrimac.ontherun.dk postfix/postfix-script[88557]: warning: not owned by _postfix: /Library/Server/Mail/Data/mta/./guid_device_maps.plist

 

I have tried the following in Terminal

 

sudo chown root /etc/postfix/main.cf

sudo chown _postfix /library/server/mail/data/mta/./guid_device_maps.plist

 

I still get the same log entries when starting the mail service

 

Can anyone please give me a solution for this?

 

Cheers

Klaus

iMac, OS X Mountain Lion (10.8.2), OS X Server utilities
  • Mark23 Level 3 Level 3 (975 points)
    Currently Being Moderated
    Oct 14, 2012 6:29 AM (in response to KlausBG)

    Restart the machine.

  • Mark23 Level 3 Level 3 (975 points)
    Currently Being Moderated
    Oct 14, 2012 6:33 AM (in response to Mark23)

    Have you upgraded mountain lion to 10.8.2 and server to 2.1.1?

     

    Some while ago this hint helped me as well:

     

    change:

    smtpd_client_restrictions = hash:/etc/postfix/smtpdreject cidr:/etc/postfix/smtpdreject.cidr permit_mynetworks

    to:

    smtpd_client_restrictions = hash:/Library/Server/Mail/Config/postfix/smtpdreject cidr:/Library/Server/Mail/Config/postfix/smtpdreject.cidr permit_mynetworks

     

    change:

    alias_maps = hash:/etc/postfix/aliases

    to:

    alias_maps = hash:/Library/Server/Mail/Config/postfix/aliases

     

    remove (because there's no such file):

    virtual_alias_maps = $virtual_map

    add:

    virtual_alias_domains = hash:/Library/Server/Mail/Config/postfix/virtual_domains

  • COWegner Calculating status...
    Currently Being Moderated
    Oct 15, 2012 4:52 AM (in response to KlausBG)

    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.

  • COWegner Level 1 Level 1 (0 points)
    Currently Being Moderated
    Oct 16, 2012 10:10 AM (in response to KlausBG)

    There is a /Library/Server/Mail/Config/postfix/main.cf.default in the same folder where main.cf resides.

  • wschaff Calculating status...
    Currently Being Moderated
    Oct 23, 2012 6:09 AM (in response to KlausBG)

    ....If I enable virus filtering and junk mail filtering mail flow stops - any suggestions?....

     

    Thank you. Thank you

     

    I have the same problem, but now mail server works using just server config tools (no manual .cf file editing), blacklist enabled, junk filter disabled, filtering disabled.

  • COWegner Level 1 Level 1 (0 points)
    Currently Being Moderated
    Oct 25, 2012 11:27 PM (in response to wschaff)

    Hello wschaff,

     

    I recommend to open a new discussion on your problem and give more detailed information (e.g. log exerpts).

     

    Kind regards

    Carsten

  • Jos@apple Calculating status...
    Currently Being Moderated
    Jan 4, 2013 5:03 AM (in response to KlausBG)

    ....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

  • bmcdade00 Calculating status...
    Currently Being Moderated
    Jan 16, 2013 12:08 PM (in response to KlausBG)

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.