[Dovecot] Sendmail + deliver; silent errors.

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Fri Mar 19 10:50:00 EET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 19 Mar 2010, Daryl Tester wrote:

You are using system users?

> *)  The setuid users listed in the wiki kept result in setgid()

What setuid users?

> failures from deliver, so I've changed it to root:mail (mail being
> sendmail's MDA group), with permissions as u+s,g+rx,o-rwx
>
> When sendmail attempts delivery, I'm getting "deferred: deliver
> failed with EX_TEMP", but nothing recorded in the log files.  I've
> embarrassingly widened the permissions of /var/log/dovecot and the

I changed logging of deliver to syslog for this reason:
protocol lda {
[...]
   # Log to syslog
   log_path =
   info_log_path =
   syslog_facility = mail
}

=======

My definition of local delivery on Debian is:

dnl -f $g -- sender
dnl -d $u -- destination user account name
dnl -m $h -- mailbox to deliver to (+detail part of address)
dnl -n    -- don't create new mailbox
dnl -e    -- exit code rather DSN
FEATURE(`local_procmail', `/etc/mail/smrsh/dovecot-deliver', 
`/etc/mail/smrsh/dovecot-deliver -e -f $g -d $u')dnl

sendmail invokes deliver already as the system user, no setuid necessary.

regards,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBS6M6vL+Vh58GPL/cAQLTWggAmTJR+hlg42revY2+DYLcYlvAYEYDZKmG
RjoEDYxl+jtj8PkeJjAsw18wT8awUzN79fkgIh6cNi1kh/VvsCdzobVDjlJ48k2K
uTOvFRHS04uQLmOpaWsl50LRmrEw4AtMzrE2NOYL7XVdfyR6uqOf4DtpdRZsyRnD
XAc/I9nUfmk6aol0P+wnxSFNuN8hoLgIVSKF50oIzuLE3MjJgxxea7YcL+QSx8rU
j6HV5GalFYHX+/JNgVj7QUNdxdkxqhO1djNM2jhg3Ob5pYT3PGidzPLFVa10vqC2
qlFPJrc7JibyEysEDMReUxesk0ogYLKef/ey7piIGk3g9JVoBgiDGg==
=9X3F
-----END PGP SIGNATURE-----


More information about the dovecot mailing list