Page 1 of 1

Problem starting sendmail

Posted: Tue Apr 22, 2008 2:55 am
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.

Re: Problem starting sendmail

Posted: Thu Jan 13, 2011 12:23 pm
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.

Re: Problem starting sendmail

Posted: Thu Jan 13, 2011 1:26 pm
by maschoff
Looks like a permission problem. Did you unpack the OpenEMM tarball with option p? If not, that's the problem!

Re: Problem starting sendmail

Posted: Sun May 13, 2012 5:28 pm
by armandg
I have the same problem, exept I have have untarred it with tar -zxvfp ?

Please help, Its not sending any emails?

Re: Problem starting sendmail

Posted: Wed Aug 01, 2012 9:11 pm
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

Re: Problem starting sendmail

Posted: Wed Aug 08, 2012 3:54 pm
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.