Problem starting sendmail

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

Moderator: moderator

joedj
Posts: 2
Joined: Tue Apr 22, 2008 2:46 am

Problem starting sendmail

Post by joedj »

Hey folks,

Trying to set up OpenEMM via RPM on a fresh install of:

- Red Hat Enterprise Linux Server release 5 (Tikanga)
- sendmail-8.13.8-2.el5
- sendmail-cf-8.13.8-2.el5
- OpenEMM-5.4.0-1

I get the following errors when attempting to start sendmail:

[openemm@wtfdevbs4 ~]$ mailer.sh start
Stopping obsolete sendmail processes: done.
Starting sendmails: listener 550 Permission denied (real uid not trusted)
admin queue WARNING: Ignoring submission mode -N option (not in submission mode)
Permission denied (real uid not trusted)
mail queue WARNING: Ignoring submission mode -N option (not in submission mode)
Permission denied (real uid not trusted)
done.

This command also causes the following to be logged in /var/log/maillog:

Apr 22 11:50:17 wtfdevbs4 sendmail[11441]: user 507 attempted to run daemon
Apr 22 11:50:17 wtfdevbs4 sendmail[11442]: user 507 attempted to start a queue runner daemon
Apr 22 11:50:17 wtfdevbs4 sendmail[11443]: user 507 attempted to start a queue runner daemon

I have seen several other forum posts here with the same issues, but no resolutions yet.
artmunro
Posts: 3
Joined: Thu Jan 13, 2011 7:22 am
Contact:

Re: Problem starting sendmail

Post by artmunro »

Im getting the same thing. Looks like a permissions thing. I think it might have to do with Ubuntu 10

ANyone know where this can be checked or changed? I believe that the openemm user is not trusted. But dont know where to check or how to solve.




Starting sendmails: listener WARNING: Xbav: local socket name /home/openemm/var/run/bav.sock missing
550 Permission denied (real uid not trusted)
client queue mqueue-client Permission denied (real uid not trusted)
admin queue WARNING: Ignoring submission mode -N option (not in submission mode)
Permission denied (real uid not trusted)
mail queue WARNING: Ignoring submission mode -N option (not in submission mode)
Permission denied (real uid not trusted)
done.
Start /home/openemm/bin/scripts/slrtscn.py .. done.
maschoff
Site Admin
Posts: 2608
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Problem starting sendmail

Post by maschoff »

Looks like a permission problem. Did you unpack the OpenEMM tarball with option p? If not, that's the problem!
OpenEMM Maintainer
armandg
Posts: 1
Joined: Sun May 13, 2012 5:25 pm

Re: Problem starting sendmail

Post by armandg »

I have the same problem, exept I have have untarred it with tar -zxvfp ?

Please help, Its not sending any emails?
gkaster
Posts: 1
Joined: Wed Aug 01, 2012 9:05 pm

Re: Problem starting sendmail

Post by gkaster »

Hi,

After almost going crazy I found a solution.
By the way I'm using CentOS 6 on a VM for OpenEMM.

I edited /etc/mail/sendmail.cf and replaced the line below:
# O TrustedUser=root
with
O TrustedUser=openemm

After I restarted OpenEMM I got a few permission errors on maillog.
After creating the files and giving the correct ownership I restarted OpenEMM again and it worked fine.

Hope it helps
maschoff
Site Admin
Posts: 2608
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Problem starting sendmail

Post by maschoff »

Congratulations! However, we advise you not to modify sendmail.cf directly because it will be overwritten as soon as sendmail.mc is changed and processed.
OpenEMM Maintainer
Post Reply