Emails not being sent. Version 5.5.0

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

lucianosb
Posts: 4
Joined: Wed Jul 23, 2008 12:25 pm
Location: Belém - Brazil

Emails not being sent. Version 5.5.0

Post by lucianosb »

Hi folks,

At first, congrats for this wonderful, it seems a quite promissor software, especially because of the open source license.

However, I'm finding myself a bit troubled in making it work. I installed everything under a VMWare Machine with CentOS as operational system, which i obtained from Thoughtpolice website: http://www.thoughtpolice.co.uk/

It happens that now, after everything installed according to the wiki area, i can't send emails, although the web interface shows the mailing as SENT. I went ASAP to check /var/mail/mailog and I got this:

[quote]Jul 22 11:21:16 localhost sendmail[4615]: alias database /etc/aliases rebuilt by root
Jul 22 11:21:16 localhost sendmail[4615]: /etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total
Jul 22 11:21:17 localhost sendmail[4620]: starting daemon (8.13.8): SMTP+queueing@01:00:00
Jul 22 11:21:18 localhost sm-msp-queue[4629]: starting daemon (8.13.8): queueing@01:00:00
Jul 22 11:01:00 localhost sendmail[5881]: m6MF0xD6005881: from=root, size=1076, class=0, nrcpts=1, msgid=<200807221500.m6MF0xD6005881@localhost.localdomain>, relay=root@localhost
Jul 22 11:01:01 localhost sendmail[5884]: m6MF10dI005883: to=<root@localhost.localdomain>, ctladdr=<root@localhost.localdomain> (0/0), delay=00:00:01, xdelay=00:00:01, mailer=local, pri=31590, dsn=2.0.0, stat=Sent
Jul 22 17:17:56 localhost sendmail[4600]: alias database /etc/aliases rebuilt by root
Jul 22 17:17:56 localhost sendmail[4600]: /etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total
Jul 22 17:17:57 localhost sendmail[4605]: starting daemon (8.13.8): SMTP+queueing@01:00:00
Jul 22 17:17:57 localhost sm-msp-queue[4613]: starting daemon (8.13.8): queueing@01:00:00
Jul 22 20:18:42 localhost sendmail[7681]: alias database /etc/aliases rebuilt by openemm
Jul 22 20:18:42 localhost sendmail[7681]: /etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total
Jul 22 20:18:43 localhost sendmail[7686]: starting daemon (8.13.8): SMTP+queueing@01:00:00
Jul 22 20:18:43 localhost sm-msp-queue[7694]: starting daemon (8.13.8): queueing@01:00:00
Jul 22 21:38:52 localhost sendmail[8296]: starting daemon (8.13.8): SMTP+queueing@00:05:00
Jul 22 21:38:52 localhost sendmail[8299]: starting daemon (8.13.8): queueing@00:01:00
Jul 22 21:38:52 localhost sendmail[8299]: unable to write pid to /home/openemm/var/run/sendmail-openemm-admin.pid: Permission denied
Jul 22 21:38:52 localhost sendmail[8302]: starting daemon (8.13.8): queueing@00:01:00
Jul 22 21:38:52 localhost sendmail[8302]: unable to write pid to /home/openemm/var/run/sendmail-openemm-queue.pid: Permission denied
Jul 22 21:51:39 localhost sendmail[9421]: starting daemon (8.13.8): SMTP+queueing@00:05:00
Jul 22 21:51:39 localhost sendmail[9424]: starting daemon (8.13.8): queueing@00:01:00
Jul 22 21:51:39 localhost sendmail[9424]: unable to write pid to /home/openemm/var/run/sendmail-openemm-admin.pid: Permission denied
Jul 22 21:51:39 localhost sendmail[9427]: starting daemon (8.13.8): queueing@00:01:00
Jul 22 21:51:39 localhost sendmail[9427]: unable to write pid to /home/openemm/var/run/sendmail-openemm-queue.pid: Permission denied
Jul 22 22:19:51 localhost sendmail[10745]: starting daemon (8.13.8): SMTP+queueing@00:05:00
Jul 22 22:19:52 localhost sendmail[10748]: starting daemon (8.13.8): queueing@00:01:00
Jul 22 22:19:52 localhost sendmail[10751]: starting daemon (8.13.8): queueing@00:01:00
Jul 22 22:19:52 localhost sendmail[10751]: unable to write pid to
/home/openemm/var/run/sendmail-openemm-queue.pid: Permission denied
Jul 22 22:19:52 localhost sendmail[10748]: unable to write pid to /home/openemm/var/run/sendmail-openemm-admin.pid: Permission denied
Jul 22 22:34:56 localhost sendmail[11304]: 2c09T1a2a00000001: to=<MY.EMAIL@gmail.com>, delay=00:00:42, xdelay=00:00:03, mailer=esmtp, pri=0, relay=gmail-smtp-in.l.google.com. [74.125.47.114], dsn=5.0.0, stat=Service unavailable
Jul 22 22:47:57 localhost sendmail[11418]: 00000600000000003: to=<MY.EMAIL@gmail.com>, delay=00:00:16, xdelay=00:00:03, mailer=esmtp, pri=0, relay=gmail-smtp-in.l.google.com. [74.125.47.114], dsn=5.0.0, stat=Service unavailable
Jul 22 22:48:07 localhost sendmail[11418]: 00000600000000005: to=<MY.EMAIL@ideiasustentavel.com>, delay=00:00:26, delay=00:00:10, mailer=esmtp, pri=0, relay=aspmx.l.google.com. [74.125.47.114], dsn=5.0.0, stat=Service unavailable
Jul 22 22:48:08 localhost sendmail[11418]: 00000600000000004:to=<MY.EMAIL@hotmail.com>, delay=00:00:27, xdelay=00:00:01, mailer=esmtp, pri=0, relay=mx4.hotmail.com. [65.54.244.232], dsn=5.0.0, stat=Service unavailable[/quote]

What intrigues me is the line " unable to write pid to
/home/openemm/var/run/sendmail-openemm-queue.pid: Permission denied" for when I looked inside "/home/openemm/var/run/" there was no such file as "sendmail-openemm-queue.pid".

Does a "touch sendmail-openemm-queue.pid" solves the problem? Otherwise, what could be causing this?
lucianosb
Posts: 4
Joined: Wed Jul 23, 2008 12:25 pm
Location: Belém - Brazil

Updating

Post by lucianosb »

I figured a way out for sending mails.

I just created a new user through the web interface with all user rights and tried to send a new mailing.

Everything was delivered OK. It is only the admin user that can't send mails in this case. The only issue lefting is that the statistics area is not working. I can't even get the open rates or bounces.

I sent 3 emails for testing, one to a hotmail accont and two to gmail accounts. The gmail users received it, but the hotmail one hasn't. After that my Statistcs pages shows nothing. All fields are '0'.

BTW, I did not configured bounce manegement for delayed bounces as the Wiki said bounces would work 'out of the box'. I didn't do it for I was urging to test and learn the aplication. My current OS is Cent OS 5, downloaded from the server cited above.
jesskung
Posts: 4
Joined: Tue Oct 07, 2008 5:20 pm
Location: singapore
Contact:

openemm + sendmail unable to write pid...

Post by jesskung »

Hi

I encountered the same symptons as well. I would be much obliged if you can help me out.

sendmail[9785]: unable to write pid to /home/openemm/var/run/sendmail-openemm-admin.pid: Permission denied

Thanks in advanced.
Regards
Jessica
maschoff
Site Admin
Posts: 2608
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

Please see this FAQ entry for further information:

http://www.openemm.org/faq/questions/25 ... inux+only)
OpenEMM Maintainer
Post Reply