Miggl

Q: Group emails not forwarded to members

Since upgrading to Yosemite and Server 4 I am no longer receiving any emails sent to my groups, which have emails configured. The following are screenshots of the configuration (I believe it is configured correctly, as it was updated from Server 3):

 

Screen Shot 2014-11-08 at 8.51.43 AM.jpg

 

Screen Shot 2014-11-08 at 8.42.50 AM.jpg

 

I do believe emails are getting delivered, as I am not getting any bounce errors when sending from gmail or iCloud to these two addresses. However, I am not getting any notifications for the two members of this group.

 

Any thoughts what might be going on here or how I might troubleshoot this?

Posted on Nov 8, 2014 8:53 AM

Close

Q: Group emails not forwarded to members

  • All replies
  • Helpful answers

Page 1 of 4 last Next
  • by dpritchardASC,Helpful

    dpritchardASC dpritchardASC Nov 9, 2014 3:58 AM in response to Miggl
    Level 1 (5 points)
    Nov 9, 2014 3:58 AM in response to Miggl

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

  • by Miggl,

    Miggl Miggl Nov 9, 2014 7:30 AM in response to dpritchardASC
    Level 1 (77 points)
    Nov 9, 2014 7:30 AM in response to dpritchardASC

    @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?

  • by dpritchardASC,

    dpritchardASC dpritchardASC Nov 9, 2014 12:55 PM in response to Miggl
    Level 1 (5 points)
    Nov 9, 2014 12:55 PM in response to Miggl

    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.

  • by Miggl,

    Miggl Miggl Nov 9, 2014 1:00 PM in response to dpritchardASC
    Level 1 (77 points)
    Nov 9, 2014 1:00 PM in response to dpritchardASC

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

  • by dpritchardASC,

    dpritchardASC dpritchardASC Nov 9, 2014 1:07 PM in response to Miggl
    Level 1 (5 points)
    Nov 9, 2014 1:07 PM in response to Miggl

    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

  • by Miggl,

    Miggl Miggl Nov 10, 2014 7:08 AM in response to dpritchardASC
    Level 1 (77 points)
    Nov 10, 2014 7:08 AM in response to dpritchardASC

    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.

  • by dpritchardASC,

    dpritchardASC dpritchardASC Nov 10, 2014 7:13 AM in response to Miggl
    Level 1 (5 points)
    Nov 10, 2014 7:13 AM in response to Miggl

    That would be very much appreciated. I'm 99% sure we have exactly the same problem.

     

    David

  • by stumbingalong,

    stumbingalong stumbingalong Nov 11, 2014 8:10 AM in response to Miggl
    Level 1 (0 points)
    Nov 11, 2014 8:10 AM in response to Miggl

    Anyone find a solution to this problem yet? Appears I've been having it for a few days now too.

  • by stumbingalong,

    stumbingalong stumbingalong Nov 11, 2014 8:39 AM in response to stumbingalong
    Level 1 (0 points)
    Nov 11, 2014 8:39 AM in response to 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: ..."

  • by Miggl,

    Miggl Miggl Nov 11, 2014 8:55 AM in response to stumbingalong
    Level 1 (77 points)
    Nov 11, 2014 8:55 AM in response to stumbingalong

    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.

  • by Bondchester,

    Bondchester Bondchester Nov 30, 2014 12:47 AM in response to Miggl
    Level 1 (0 points)
    Nov 30, 2014 12:47 AM in response to Miggl

    Any updates from Apple Eng?

  • by Miggl,

    Miggl Miggl Nov 30, 2014 4:56 PM in response to Bondchester
    Level 1 (77 points)
    Nov 30, 2014 4:56 PM in response to Bondchester

    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:

    1. Open terminal, and cd into the listserver directory where the inbound list queues are:
      cd /Library/Server/Mail/Data/listserver/messages/inbound/
    2. Show a listing of the folders in the directory (the GUIDS for each group):
      ls -la
    3. 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
    4. Let's enter super user mode:
      sudo su
    5. Now list out all the messages, the first one will be the oldest:
      ls -la
    6. Let's create a new folder on the Desktop to temporarily store these "bad" messages:
      mkdir /Users/serveradmin/Desktop/badmails
    7. Then lets move the first email to that folder, for example:
      mv 1416492706.772710.C6A2EEF49ED40002.msg /Users/serveradmin/Desktop/badmails/
    8. Now lets restart listserver and see if it flushes out the queue:
      killall list_server_mgr
    9. Emails should now start flooding your inbox. If this is not the case, repeat steps 5 through 8 until successful.
    10. Exit super user mode by typing:
      exit
    11. 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

  • by StevePW,

    StevePW StevePW Nov 30, 2014 7:06 PM in response to Miggl
    Level 1 (10 points)
    Nov 30, 2014 7:06 PM in response to Miggl

    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

  • by Miggl,

    Miggl Miggl Dec 1, 2014 10:29 AM in response to StevePW
    Level 1 (77 points)
    Dec 1, 2014 10:29 AM in response to StevePW

    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:

    1. Open Script Editor.
    2. Copy/paste the script above.
    3. Replace <admin username here> with your server admin username (keep it in quotes, but not in brackets).
    4. Replace <admin password here> with you server admin password (keep it in quotes, but not in brackets).
    5. Save as "Application" file format, and check "Stay open after run handler" to your Desktop (or preferred location).
    6. 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.

Page 1 of 4 last Next