[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dovecot correct ownership for logs




On 15/5/24 18:23, Richard wrote:
Interesting. That's not even configured in our main.cfg. We have these concerning dovecot:
smtpd_sasl_type = dovecot
mailbox_command = /usr/lib/dovecot/deliver -d $USER

The sasl line is not relevant

The mailbox_command is unusual. It means whatever process actually execute the mailbox_command runs as (some) postfix user to run the deliver application. This may well cause permission issues.

The usual case is dovecot listens for commands on a unix socket or maybe an IP socket. In any case it has an entirely separate user ID from postfix.

You may want to look at using the mailbox_transport option instead of the mailbox_command option

mailbox_transport  =  lmtp:unix:private/dovecot-lmtp


Reply to: