[CentOS] cyrus: socket options

Fri Mar 16 21:21:15 UTC 2018
Alexander Dalloz <ad+lists at uni-x.org>

Am 16.03.2018 um 13:07 schrieb hw:
> [...]
>    # lmtp                cmd="lmtpd -a" listen="lmtp:" prefork=4
>    lmtpunix      cmd="lmtpd -a" listen="/var/lib/imap/socket/lmtp" 
> prefork=4
> [...]

Both definitions are wrong:

1) the lmtp line

man cyrus.conf

listen=<no default>
The UNIX or internet socket to listen on. This string field is required 
and takes one of the following forms:

[ host : ] port

So listen="lmtp:" is utterly nonsense. It would be 
listen="" if you want to restrict access to localhost.

2) the lmtpunix line

man lmtpd


     Preauthorize connections initiated on an internet socket, instead 
of requiring LMTP AUTH. This should only be used for connections coming 
from trusted hosts.

So no pre-auth on the unix socket.

And why do you define a prefork of 4?