[Dovecot] Sendmail + Deliver as an LDA probs

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Thu Feb 19 13:48:02 EET 2009


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

On Thu, 19 Feb 2009, ben wrote:

> aliases/aliases.db :
>
> blaatuser | /opt/dovecot/libexec/dovecot/deliver -d $u

In my eyes, there are two problems here:

1) This line should read

blaatuser: "| /opt..."

2) you cannot use $u in aliases

Also, delivering in Aliases means that sendmail is using a non-root / 
non-virtuser-uid UID. So you probably have to SetUID-root deliver, in 
order to give deliver a) permission to the auth socket and b) permission 
to spool the message into the mailbox.

====

Actually you never told sendmail to use the dovecot: mailer you've 
configured.

Remove both the virtuser and alias entry, so sendmail even tries to hit 
mailertable you have configuered the dovecot: mailer in.

Also, remove the domain from local-host-names and place it into 
relay-domains.

Check the requireness of SetUID-root of deliver. (s. above)

Bye,

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

iQEVAwUBSZ1G9HWSIuGy1ktrAQL9fwf8CLD+bMo6C5GrLSiZ1GWRp6rV4nJalfpL
Lzpe0B/274nYjMkMzh+8xOgDxdkyNOweEJYfzULJu+jFIWARmNJNq1CczCCH3paR
RQExE2sF/1UD4ZzVptdI86CQ0k90G8EfDKzxR7QQj7Dyo9uCLGfI4P+njVyRmNCL
YqWg58p0bAQF6BF6PEFg8ZwBxuLj2NPc1YJ0R7xt00luT2up0QSoFahv0Gq06/yR
SfMfJh/lcB63vpERwgnkubMPn0grhafoS7fLZqZfsXdzphZ0GlNFCKRWs41N5G3l
4KUTnFaoy9AHN4+Dmn/Rn7bGcBQTMQz8cLOtYLO7UngufLW/A2lSNQ==
=74TF
-----END PGP SIGNATURE-----


More information about the dovecot mailing list