[Dovecot] deliver and root user

Bradlee Landis bradleelandis at gmail.com
Mon Jul 12 21:56:52 EEST 2010


On RHEL5, dovecot 1.0.7, I have set up sendmail to use `deliver` for
my local mda. It keeps giving me this error for the root user though:

Jul 12 12:51:29 mail sendmail[4105]: o699225f001348:
to=<root at localhost.localdomain>, ctladdr=<root at localhost.localdomain>
(0/0), delay=3+08:49:26, xdelay=00:00:00, mailer=local, pri=7502879,
dsn=4.0.0, stat=Deferred: local mailer (/usr/libexec/dovecot/deliver)
exited with EX_TEMPFAIL

I've tried to `chmod +s /usr/libexec/dovecot/deliver`, which I read
might fix some of those issues, but it didn't.

Anyways, here are the important changes I made in my config files for
using `deliver`:

== sendmail.mc ==
...
dnl ## Should I modify this??
define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')dnl
...
dnl ## Should I have "localhost.localdomain" here? It currently is not.
LOCAL_DOMAIN(`mydomain.com')
...
FEATURE(`local_procmail',
`/usr/libexec/dovecot/deliver',`/usr/libexec/dovecot/deliver -d $u')
MODIFY_MAILER_FLAGS(`LOCAL', `-f')
...
MAILER(smtp)
MAILER(procmail)
MAILER(local)
== END ==

== dovecot.conf ==
...
protocol lda {
  postmaster_address = postmaster at mydomain.com
  hostname = mydomain.com
}
== END ==

Any ideas, or do you need more information?

--
Thanks,
Brad Landis


More information about the dovecot mailing list