Apple Event: May 7th at 7 am PT

Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mavericks mail server stops distributing group email after a few hours of usage

I've been having problems with our Mavericks mail server ever since our upgrade with group mail.


The server will distribute group email for a few hour, then it simply stops working.
No error message, no bounces, and the server keeps the incoming mail in its incoming queue.


Restarting the mail services by either server.app or serveradmin mail stop; serveradmin mail start command like are the only way I can get it to continue to distribute the email. I suspect it has to do with postfix itself hiccuping? But this is a reproducable problem.


Mail filtering is on, score set to 6, 10 mb limit, spamhaus is active.


Looking for tips on how to stablize this service short of setting up cron job to restart the services every few hours.

Mac mini, OS X Mavericks (10.9), OpenLDAP and Server.app user

Posted on Nov 1, 2013 10:43 AM

Reply
40 replies

Jan 13, 2014 1:22 PM in response to Lynda Leung

I'm assuming it is the list_server_mgr that is actually hanging and not the entire mail system. An alternate route versus taking down the entire mail system to restart it on a scheduled interval, would be to just unload/load that process:


0 */6 * * * /Applications/Server.app/Contents/ServerRoot/usr/sbin/serverctl disable service=com.apple.list_server_mgr >> /var/log/mail-stop-start.log ; /Applications/Server.app/Contents/ServerRoot/usr/sbin/serverctl disable service=com.apple.list_server_mgr >> /var/log/mail-stop-start.log


I'll be testing on a Mavericks server that we are seeing this issue to confirm that this fixes.

Feb 13, 2014 5:55 PM in response to Lynda Leung

Add me to the list. Over the course of the work day, my group mailing lists largely let my company down as the messages get stuck. Restarting the mail service seems to eventually release them from the queue. It's amazing how unreliable this really is. And none of my problem emails are large or include any attachments. This is happening with small plain text emails. Hope Apple fixes this soon.

Apr 6, 2014 12:54 AM in response to curriebwoi

curriebwoi wrote:


I am having a similar problem, where can I locate this crontab script?


See Lynda's post earlier


This is how I worked around it. create a crontab as root to reset the service every 6 hours. Best if you use a number divisible by 24 for obvious reasons.



use this single line entry:
0 */6 * * * /Applications/Server.app/Contents/ServerRoot/usr/sbin/serveradmin stop mail >> /dev/null ; /Applications/Server.app/Contents/ServerRoot/usr/sbin/serveradmin start mail >> /dev/null

Mavericks mail server stops distributing group email after a few hours of usage

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