-
All replies
-
Helpful answers
-
Nov 9, 2014 3:58 AM in response to Migglby dpritchardASC,★HelpfulI have the same problem - it did work for a few hours but doesn't any more. If you look in the logs - the List Server log in the mail you will see the the List Server Mgr keeps quitting - at least that's what I see.
-
Nov 9, 2014 7:30 AM in response to dpritchardASCby Miggl,@dpritchardASC Thanks for pointing me to those logs. I see further clues here:
Nov 9 07:14:06 server.genealabs.com list_server_agent[46126] <Error>: no recipients for: help
Nov 9 07:14:06 server.genealabs.com list_server_agent[46126] <Error>: no recipients for message-id=1415421693.452392.E3970C719B9C5891.msg, will retry in: 300.000000 seconds
This tells me the List Server is running and keeps trying, but is not seeing the group members as recipients. This would indicate a configuration disconnect to what list serve expects to see, and how the configuration files are written. Any thoughts on how one might continue debugging that aspect?
Also, what would be the best way to get all the backed up message copied over to a users inbox until this is sorted out?
-
Nov 9, 2014 12:55 PM in response to Migglby dpritchardASC,I gave up trying to fix it for now but I did use the work around from this thread - it is ugly and depending on the number of lists you have it is a lot of work but it does work.
Re: How to increase group mailing list maximum message size?
The messages are still there but I haven't tried to extract them.
-
Nov 9, 2014 1:00 PM in response to dpritchardASCby Miggl,What did you achieve with that workaround? Are you able to get the messages delivered that way?
I was wondering if this wasn't an old bug from Server 3 rearing its ugly head again, or somehow related to it (sorry, I can't find the post anymore where that was discussed).
-
Nov 9, 2014 1:07 PM in response to Migglby dpritchardASC,the workaround basically just lets us receive the emails and not have go back to to the old server. It does look a lot like the bug from V 3 but I only got it to work in the very beginning - so resetting the mail did not fix it.I hope Apple fixes it because it isn't a very robust solution
-
Nov 10, 2014 7:08 AM in response to dpritchardASCby Miggl,I'm working with Apple Enterprise support to see what is causing this. Will post a possible (the one that worked in my case) solution, when we get this resolved.
-
Nov 10, 2014 7:13 AM in response to Migglby dpritchardASC,That would be very much appreciated. I'm 99% sure we have exactly the same problem.
David
-
Nov 11, 2014 8:10 AM in response to Migglby stumbingalong,Anyone find a solution to this problem yet? Appears I've been having it for a few days now too.
-
Nov 11, 2014 8:39 AM in response to stumbingalongby stumbingalong,I am seeing a List Server error in the log but cannot debug further - Nothing found referencing "list_server_agent[358] <Error>: no recipients for: ..."
-
Nov 11, 2014 8:55 AM in response to stumbingalongby Miggl,I am having the same error. An enterprise engineer was working with me over the phone on Sunday for almost 3 hours. I then sent them a complete data dump of my system (log files, and whatever else they collected) to be further analyzed. I am currently waiting to hear back from them, hopefully with good news.
-
-
Nov 30, 2014 4:56 PM in response to Bondchesterby Miggl,I haven't heard back from them, despite calling them back. I did speak with another tech a week or so ago, but he wasn't able to figure anything out either. Turns out the Enterprise Support team only helps troubleshoot the GUI, and they aren't allowed to do anything intrusive on the command line (apparently). However, I have been able to figure out that the mail queue is being help up by corrupt emails. I'm not sure what triggers this, but certain emails cause listserver to crash and restart. Those emails never get processed, and thus cause an endless loop of listserver restarting and pausing for 30 seconds until next restart, instead of processing. To get around this, I remove the oldest emails one by one until the queue is unclogged again.
These are the steps I take:
- Open terminal, and cd into the listserver directory where the inbound list queues are:
cd /Library/Server/Mail/Data/listserver/messages/inbound/ - Show a listing of the folders in the directory (the GUIDS for each group):
ls -la - Check the first number in front of the username of the folder in the output for the number of items contained within that directory. If the number is greater than 3, there are items stuck. Go into that directory now (you can type "cd " then the first 3 characters, then TAB to autocomplete), for example:
cd 1FDBZ1DB-9AAD-4A45-BCC7-92D87C5A1D19 - Let's enter super user mode:
sudo su - Now list out all the messages, the first one will be the oldest:
ls -la - Let's create a new folder on the Desktop to temporarily store these "bad" messages:
mkdir /Users/serveradmin/Desktop/badmails - Then lets move the first email to that folder, for example:
mv 1416492706.772710.C6A2EEF49ED40002.msg /Users/serveradmin/Desktop/badmails/ - Now lets restart listserver and see if it flushes out the queue:
killall list_server_mgr - Emails should now start flooding your inbox. If this is not the case, repeat steps 5 through 8 until successful.
- Exit super user mode by typing:
exit - And close the terminal window.
Until they fix it, it appears we may be forced to check our group emails every so often to perform this tedious task. Let me know how it works for you.
~Mike
- Open terminal, and cd into the listserver directory where the inbound list queues are:
-
Nov 30, 2014 7:06 PM in response to Migglby StevePW,I'm interested in the answer to this too. No entries in the List Manager, however, email will no longer go to Group members and if I add them to the accepted addresses for the domain the service breaks.
Edit: Just as I wrote this I saw your response. Thanks Mike
-
Dec 1, 2014 10:29 AM in response to StevePWby Miggl,I have put together a little script that will automatically keep the queues cleared:
on idle set currentTime to current date -- execute once per day after midnight no matter what if the time of currentTime is greater than 0 and the time of currentTime is less than 3600 then do shell script "shopt -s nullglob mkdir /Users/<admin username here>/Desktop/badmails cd /Library/Server/Mail/Data/listserver/messages/inbound/ for dir in * do cd $dir for file in * do echo \"mv $file /Users/<admin username here>/Desktop/badmails/\" break done cd .. done killall list_server_mgr" password "<admin password here>" with administrator priveleges end if -- execute once an hour if more than 5 messages are piling up in a given queue do shell script "shopt -s nullglob mkdir /Users/<admin username here>/Desktop/badmails cd /Library/Server/Mail/Data/listserver/messages/inbound/ for dir in * do if [$(ls | ec -l) -gt 5]; then cd $dir for file in * do echo \"mv $file /Users/<admin username here>/Desktop/badmails/\" break done cd .. fi done killall list_server_mgr" password "<admin password here>" with administrator privileges -- run again in an hour return 3600 end idle
To implement this script:
- Open Script Editor.
- Copy/paste the script above.
- Replace <admin username here> with your server admin username (keep it in quotes, but not in brackets).
- Replace <admin password here> with you server admin password (keep it in quotes, but not in brackets).
- Save as "Application" file format, and check "Stay open after run handler" to your Desktop (or preferred location).
- Double-click to the icon on the Desktop (or where you saved it to) to run it, it will run continuously, and check the queues once an hour.
Bad emails will be saved to your desktop in a folder called "badmails". I opted to place the script and the folder on the desktop, as it is hopefully temporary only.
Please let me know how it goes for you.

