Mailings are generated but won't go out

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

nlab
Posts: 3
Joined: Tue Dec 15, 2015 8:54 am

Mailings are generated but won't go out

Post by nlab »

Hello there,

I recently took over support of an installation of OpenEMM and a few days ago mails started not going out anymore.
Now I have to admit I am relatively new to OpenEMM, but after days of trying things out I am simply running out of ideas. Any help or insight would be greatly appreciated.

The whole process of generating a mailing in the web frontend works flawless.
It is just that the mails are stuck in ~/var/spool/QUEUE and don't leave this queue.
And I honestly have no idea why.
The sendmail-system on this server has not been touched in ... a long time so there should not be any change.

Anybody have any idea where to look next?

Thank you and best regards

nlab
ud
Posts: 154
Joined: Thu Aug 17, 2006 9:56 am
Location: Munich, Germany
Contact:

Re: Mailings are generated but won't go out

Post by ud »

This looks strange. Can you check, if your system is configured to use sendmail at all? For that, please login as user "openemm" and execute these commands:

Code: Select all

source $HOME/bin/scripts/config.sh
$HOME/bin/scripts/smenable.py status
This should output either "1" (sendmail is enabled) or "0".

If sendmail is enabled check the process list for running sendmail and search for an instance processing the directory /home/openemm/var/spool/QUEUE. If this is missing, the easiest way to fix this is restarting openemm.

If this still fails, check the sendmail logfile /var/log/maillog for further hints.

And, if you haven't tried already, reboot the whole server and check if the problem is still existing.

-- ud
nlab
Posts: 3
Joined: Tue Dec 15, 2015 8:54 am

Re: Mailings are generated but won't go out

Post by nlab »

Hi there,

thank you so far.
According to your code, sendmail is running.
However I cannot find any sendmail processes (like at all, so it might be just me)
The only thing in the process list doiung anything with the queue is this one:

Code: Select all

12385 ?        Ss     0:00 /home/openemm/bin/qctrl -d780 move /home/openemm/var/spool/QUEUE /home/openemm/var/spool/MIDQUEUE tries:3
I have tried restarting sendmail at least ten times, restarting the server as well.
You are right it does all look somewhat strange. Especially because when I (re)start openemm it says

Code: Select all

Starting sendmails:   listener Starting sendmail:          [  OK  ]
 mail queues  ADMIN  QUEUE MIDQUEUE  SLOWQUEUE  done.
which in my book would mean that sendmail should be running just fine.
ud
Posts: 154
Joined: Thu Aug 17, 2006 9:56 am
Location: Munich, Germany
Contact:

Re: Mailings are generated but won't go out

Post by ud »

And there is no further information in the sendmail log file?

-- ud
nlab
Posts: 3
Joined: Tue Dec 15, 2015 8:54 am

Re: Mailings are generated but won't go out

Post by nlab »

I wish. /var/log/maillog is empty. Completely empty.
ud
Posts: 154
Joined: Thu Aug 17, 2006 9:56 am
Location: Munich, Germany
Contact:

Re: Mailings are generated but won't go out

Post by ud »

If the log file is completely empty and the hard disk is not full, then I have no more ideas to fix the issue without having access to the system, sorry.

-- ud
Post Reply