[Dovecot] using dovecot deliver

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Wed Jan 13 12:48:04 EET 2010


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

On Wed, 13 Jan 2010, Per Laine wrote:

> in dovecot-deliver.log that says "Can't connect to auth server at
> /var/spool/postfix/private/dovecot: Permission denied" Im using

IMHO the error message is very descriptive:
"Permission denied" :)

>  passdb:
>    driver: passwd-file
>    args: /etc/dovecot/passwd
>  userdb:
>    driver: passwd-file
>    args: /etc/dovecot/users

Looks like system users

>  socket:
>    type: listen
>    client:
>      path: /var/spool/postfix/private/auth
>      mode: 432
>      user: postfix
>      group: postfix

IMHO Postfix executes deliver with system user privilegues, hence, 
"postfix" is not correct. The permission must allow all your system users 
to connect to this socket.

Or follow the adivce on http://wiki.dovecot.org/LDA/Postfix
"If you need multiple uids/gids you'll need to set deliver setuid root or 
invoke it through sudo. See the LDA main page how to do this securely."
Dovecot picks up the destination user from "-d" then.

Regards,

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

iQEVAwUBS02k6L+Vh58GPL/cAQKwXgf/Vuta5wcSCGhiXpB551pjLbatD8YaBbYu
oC/EhRev0pLsLSvA4KH2mDcVlQcTJOoBIsNKeb+a+l6EPRMZLLHlkfoF/iUnus+J
fYRnz74LtYZGwHa3O9OM72ccTPyjbeiksSsDZ7AwQah/eOuLs0yhU0cT4Qj6jZE7
xV0+kD/0PXknI2+ffptf41qNBrC3Sk3yEcHQSeeLdmrPoxOuioKReZiEnXC4S8hE
YGQFZHASCoa7juPbHaE5xtcFFcJggG+IiqV+j/yhr3CD328Oi1nD3kNP/4/dxl0/
GUXrQEcRlX4Lvv4kaQocfEhPOpH3rO1mPS6X11O8RZtoJvVA7ynx4w==
=EdC3
-----END PGP SIGNATURE-----


More information about the dovecot mailing list