Failed to start sendmail.service: Connection timed out

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

Moderator: moderator

Failed to start sendmail.service: Connection timed out

Postby NielsCharlier » Mon Jul 04, 2016 1:50 pm

I installed openemm on ubuntu 15. I removed postfix and replaced it with sendmail.

I get the following messages when I start-up openemm:

Start /home/openemm/bin/scripts/bav-update.py .. done.
Start /home/openemm/bin/scripts/bav-trigger.py .. done.
Start /home/openemm/bin/scripts/bavd.py .. done.
Start /home/openemm/bin/bav -L INFO .. done.
Start python /home/openemm/bin/scripts/recovery.py .. done.
Start /home/openemm/bin/scripts/update.py account bounce .. done.
Start /home/openemm/bin/scripts/pickdist.py .. done.
Stopping obsolete sendmail processes: done.
Starting sendmails: listener [....] Starting sendmail (via systemctl): sendmail.service Failed to start sendmail.service: Connection timed out
polkit-agent-helper-1: pam_authenticate failed: Authentication failure
failed!

mail queues ADMIN WARNING: Ignoring submission mode -N option (not in submission mode)
WARNING: Ignoring submission mode -N option (not in submission mode)
QUEUE WARNING: Ignoring submission mode -N option (not in submission mode)
WARNING: Ignoring submission mode -N option (not in submission mode)
MIDQUEUE WARNING: Ignoring submission mode -N option (not in submission mode)
SLOWQUEUE WARNING: Ignoring submission mode -N option (not in submission mode)
done.
Start /home/openemm/bin/scripts/slrtscn.py .. done.
Starting up Tomcat ......
Check Java installation :OK
Check Tomcat installation :OK
Using CATALINA_BASE: /home/openemm
Using CATALINA_HOME: /usr/share/tomcat8
Using CATALINA_TMPDIR: /home/openemm/temp
Using JRE_HOME: /usr/lib/jvm/java-1.8.0-openjdk-amd64
Using CLASSPATH: /usr/share/tomcat8/bin/bootstrap.jar:/usr/share/tomcat8/bin/tomcat-juli.jar
Tomcat started.


At first, I was also getting error messages in /var/log/mail.log, all to do with permissions.
I solved all of these by doing two things:
* in /etc/mail/sendmail.cf, replaced the TrustedUser 'smmta' by openemm:
# Trusted user for file ownership and starting the daemon
O TrustedUser=openemm
* Added openemm to the smmsp and smmta groups so it has permission to all mail related files.

BUT the errors and warnings during start-up prevail.

I have done a test mailing and openemm does seem able to send emails though. So maybe it doesn't even matter? I'm not sure, but it bothers me.

1. Can I get rid of these messages, in particular the errors (warnings I can perhaps ignore)?
2. Should I even worry about them at all?


Thanks for your help!
NielsCharlier
 
Posts: 1
Joined: Mon Jul 04, 2016 12:23 pm

Re: Failed to start sendmail.service: Connection timed out

Postby maschoff » Thu Jul 07, 2016 11:41 am

We are not familiar with toolkit polkit-agent-helper, but it seems to be the cause of your access problem.
OpenEMM Maintainer
maschoff
Site Admin
 
Posts: 2130
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany


Return to Installation & Upgrades

Who is online

Users browsing this forum: No registered users and 2 guests

cron