Re: cyrus: socket options

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



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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux