Skip navigation

Mail queue problem

1134 Views 2 Replies Latest reply: Feb 14, 2013 3:05 AM by bsungur RSS
bsungur Calculating status...
Currently Being Moderated
Feb 10, 2013 11:32 PM

Hi everyone, we use Mac OS X Server 10.6, it's been a while, every sent email goes to queue and waits there. When i restart the server all emails send.

 

How can i prevent this situation? And what may the problem be?

 

P.S: I try "postfix flush" and email stil wait in queue.

Mac OS X (10.6.8), open directory master, replica
  • UptimeJeff Level 4 Level 4 (3,390 points)
    Currently Being Moderated
    Feb 13, 2013 8:50 PM (in response to bsungur)

    Do you have the content filter enabled?

    Sounds like its failing.

     

     

    What is output of (tells us if its ON)

    sudo postconf content_filter

     

    When SMTP receives mail, you should see it in the log. Then its passed to amavis, scored, then sent back to postfix. You can follow this process in the mail.log (that why, if the content filter is enabled) you see mail sent more than once (once locally, then once to destination)

     

    A few things to check when its in the failed state:

     

    - send mail, get entries for that time frame from mail.log and amavisd.log

    - what is results of

         sudo lsof -i :10024

    - what is result of

         sudo cat /etc/postfix/master.cf

     

    Does the problem go away when you

         sudo launchctl unload /System/Library/LaunchDaemons/org.amavisd.plist

         sudo launchctl load /System/Library/LaunchDaemons/org.amavisd.plist

         postsuper -r ALL

         (wait a few minutes)

     

    Sometimes amavis will get stuck and not process new threads.

    Try this

         sudo launchctl unload /System/Library/LaunchDaemons/org.amavisd.plist

    Wait a minute, then check to see if it's still running

         sudo lsof -i :10025

    If you get a result, then amavis isn't shutting down.

    You can force-quite it, then restart via launchctl again, but thats just a temp fix.

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.