Skip navigation

command line mail not working since Server 2.2

802 Views 3 Replies Latest reply: Mar 15, 2013 9:30 AM by seyDoggy RSS
seyDoggy Calculating status...
Currently Being Moderated
Feb 5, 2013 8:51 AM

Since Mountain Lion, everytime Server.app updates it borks my previous mail settings/hacks/workarounds to the issues with the last version. I just want sendmail, mail, postfix, etc to work and stay working. I even have my own list of stuff to reapply with each Server.app update, but sadly even that has stopped working.

 

Just basic mail won't even work:

 

$ mail adam

Subject: test

This is a test mail

⌃D

 

$ mail

No mail for adam

 

Here are my current settings.

 

$ sudo serveradmin fullstatus mail

 

mail:setStateVersion = 1

mail:readWriteSettingsVersion = 1

mail:connectionCount = 0

mail:servicePortsRestrictionInfo = _empty_array

mail:protocolsArray:_array_index:0:status = "ON"

mail:protocolsArray:_array_index:0:kind = "INCOMING"

mail:protocolsArray:_array_index:0:protocol = "IMAP"

mail:protocolsArray:_array_index:0:state = "STOPPED"

mail:protocolsArray:_array_index:0:error = ""

mail:protocolsArray:_array_index:1:status = "ON"

mail:protocolsArray:_array_index:1:kind = "INCOMING"

mail:protocolsArray:_array_index:1:protocol = "POP3"

mail:protocolsArray:_array_index:1:state = "STOPPED"

mail:protocolsArray:_array_index:1:error = ""

mail:protocolsArray:_array_index:2:status = "ON"

mail:protocolsArray:_array_index:2:kind = "INCOMING"

mail:protocolsArray:_array_index:2:protocol = "SMTP"

mail:protocolsArray:_array_index:2:state = "RUNNING"

mail:protocolsArray:_array_index:2:error = ""

mail:protocolsArray:_array_index:3:status = "ON"

mail:protocolsArray:_array_index:3:kind = "OUTGOING"

mail:protocolsArray:_array_index:3:protocol = "SMTP"

mail:protocolsArray:_array_index:3:state = "RUNNING"

mail:protocolsArray:_array_index:3:error = ""

mail:protocolsArray:_array_index:4:status = "ON"

mail:protocolsArray:_array_index:4:kind = "INCOMING"

mail:protocolsArray:_array_index:4:protocol = "Junk_mail_filter"

mail:protocolsArray:_array_index:4:state = "RUNNING"

mail:protocolsArray:_array_index:4:error = ""

mail:protocolsArray:_array_index:5:status = "ON"

mail:protocolsArray:_array_index:5:kind = "INCOMING"

mail:protocolsArray:_array_index:5:protocol = "Virus_scanner"

mail:protocolsArray:_array_index:5:state = "RUNNING"

mail:protocolsArray:_array_index:5:error = ""

mail:startedTime = "2013-02-05 16:26:45 +0000"

mail:logPaths:IMAP Log = "/Library/Logs/Mail/mailaccess.log"

mail:logPaths:Server Log = "/Library/Logs/Mail/mailaccess.log"

mail:logPaths:POP Log = "/Library/Logs/Mail/mailaccess.log"

mail:logPaths:SMTP Log = "/var/log/mail.log"

mail:logPaths:Migration Log = "/Library/Logs/MailMigration.log"

mail:logPaths:Virus Log = "/Library/Logs/Mail/clamav.log"

mail:logPaths:Amavisd Log = "/Library/Logs/Mail/amavis.log"

mail:logPaths:Virus DB Log = "/Library/Logs/Mail/freshclam.log"

mail:imapStartedTime = ""

mail:servicePortsAreRestricted = "NO"

mail:state = "RUNNING"

mail:postfixStartedTime = "2013-02-05 16:26:45 +0000"

Mac mini, OS X Mountain Lion (10.8.2), Server
  • FromOZ Level 2 Level 2 (400 points)
    Currently Being Moderated
    Feb 6, 2013 4:32 AM (in response to seyDoggy)

    If you are listing configs you should also advise what settings are active via:

     

    sudo serveradmin settings mail

     

    make sure to anonymise any info you post.

     

    Also what does

     

    less /System/Library/LaunchDaemons/org.postfix.master.plist

     

    say? Is this below in the program arguments section

     

            <array>

                    <string>master</string>

                    <string>-c</string>

                    <string>/Library/Server/Mail/Config/postfix</string>

            </array>

     

    showing that the Postfix config directory is the correct (new location) Apple one.

    Mac mini, OS X Server

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.