[CentOS] cyrus: socket options

Alexander Dalloz ad+lists at uni-x.org
Fri Mar 16 19:14:51 UTC 2018


Am 16.03.2018 um 13:07 schrieb hw:
> 
> Hi,
> 
> what are the following messages supposed to tell me and does this 
> indicate a problem?
> 
> 
> # systemctl status cyrus-imapd
> [...]
> master[3766]: unable to setsocketopt(IP_TOS): Operation not supported
> master[3766]: unable to setsocketopt(IP_TOS): Operation not supported
> [...]

That's cyrus-imapd itself failing and has nothing to do with Exim.

> Exim says it can not connect to the lmtp socket even when selinux 
> doesn´t get in the way.  The configuration looks like this:
> 
> 
> cyrus.conf (none of the two options work):
> 
> [...]
>    # lmtp                cmd="lmtpd -a" listen="lmtp:127.0.0.1" prefork=4
>    lmtpunix      cmd="lmtpd -a" listen="/var/lib/imap/socket/lmtp" 
> prefork=4
> [...]

Providing just a snipped from the complete configuration of cyrus-imapd 
is insufficient.

> exim.conf:
> 
> [...]
> begin transports
> 
> 
> 
> # cyrus_ltcp:
> #   driver = smtp
> #   protocol = lmtp
> #   delivery_date_add
> #   envelope_to_add
> #   return_path_add
> #   hosts = localhost
> #   allow_localhost
> 
> lmtp_socket:
>    driver = lmtp
>    socket = /var/lib/imap/socket/lmtp
>    delivery_date_add
>    envelope_to_add
>    return_path_add
> 
> 
> # ls -la /var/lib/imap/socket/lmtp
> srwxrwxrwx. 1 root root 0 Mar 16 12:58 /var/lib/imap/socket/lmtp
> 
> 
> I have this working on the old server (which doesn´t run Centos) and am 
> trying to migrate it to the new one (which runs Centos 7.4).  The 
> version of cyrus and sasl are the same on both machines.

So cyrus-imapd and cyrus-sasl are not the ones shipped by CentOS?

> What´s the problem with Centos that these things don´t just work as they 
> usually do?

It works on CentOS, I can assure you that.

Alexander





More information about the CentOS mailing list