[CentOS] cyrus: socket options

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


Am 16.03.2018 um 13:07 schrieb hw:
> [...]
>    # lmtp                cmd="lmtpd -a" listen="lmtp:127.0.0.1" 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:

path
[ host : ] port

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

2) the lmtpunix line

man lmtpd

-a

     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?

Alexander




More information about the CentOS mailing list