[CentOS] C6.7 evolution to cyrus imap(s) fails

Tue Aug 11 19:16:28 UTC 2015
Richard <lists-centos at listmail.innovate.net>


------------ Original Message ------------
> Date: Tuesday, August 11, 2015 20:24:36 +0200
> From: Alexander Dalloz <ad+lists at uni-x.org>
>
> Am 11.08.2015 um 17:56 schrieb Dr J Austin:
>> Hi
>> 
>> I have been using evolution/cyrus/exim for 10 years - until
>> yesterday!
>> 
>> I upgraded to C6.7 and now there is no way I can find of
>> connecting from evo to the cyrus imap(s) server
>> 
>> [root at maui:~]$ ps -ef|grep imap
>> cyrus    27768     1  0 15:21 ?        00:00:00
>> /usr/lib/cyrus-imapd/cyrus-master -d
>> cyrus    27775 27768  0 15:21 ?        00:00:00 imapd -s
>> cyrus    27779 27768  0 15:21 ?        00:00:00 imapd
>> cyrus    27781 27768  0 15:21 ?        00:00:00 imapd
>> cyrus    27782 27768  0 15:21 ?        00:00:00 imapd
>> cyrus    27783 27768  0 15:21 ?        00:00:00 imapd
>> cyrus    27933 27768  0 15:36 ?        00:00:00 imapd
>> cyrus    28048 27768  0 15:46 ?        00:00:00 imapd
>> 
>> evo is running on a fully updated F22 machine, cyrus/exim on C6.7
>> k-9 mail on a tablet and a mobile no longer connect
>> even tried thunderbird which also would not connect
>> 
>> When trying to connect with evo I get Failed to open folder
>> The reported error was "Could not connect to 148.197.29.5:
>> Connection refused"
>> 
>> If I try to change things by editing the "Recieving Email" menu
>> ie by changing the "Encryption method" from "SSL on a dedicated
>> port" 993 to "No encryption" it still fails
>> In fact just hitting Authentication "Check for supported types"
>> gives
>> Failed to query server for a list of supported authentication
>> mechanisms. Could not connect to 148.197.29.5: Connection refused
>> 
>> wireshark shows just two lines using tcp.port==993 filter
>> Unfortunately this does not mean much to me!
>> 
>> 124    3.276582000    148.197.29.159    148.197.29.5    TCP    74
>> 54564→993 [SYN] Seq=0 Win=29200 Len=0 MSS=1460 SACK_PERM=1
>> TSval=71392019 TSecr=0 WS=128
>> 
>> 125    3.276770000    148.197.29.5    148.197.29.159    TCP    60
>> 993→54564 [RST, ACK] Seq=1 Ack=1 Win=0 Len=0
>> 
>> I have tried the following to no avail
>> tcpdump -s 0 -w dump_file
>> ssldump -a -A -H -d -r dump_file
>> and
>> selinux in permissive mode
>> firewall off
>> 
>> Help!
>> 
>> John
> 
> What does cyrus-imapd log?
> 
> Alexander
> 
>

A "connection refused" response generally means that the daemon
isn't allowing the connection (isn't listening or is configured to
reject), rather than something with the handshake protocol. So,
mucking with your clients' encryption/authentication settings
probably won't do anything.

You might also want to use netstat to confirm what's listening as
your imapd and to confirm that it's listening on the external
interface (not just localhost). Something like:

  netstat -pln | egrep ':993|:143'

as root, should get the interesting bits.

Also, you might want to check to see if the cyrus config files were
touched with the update (look also for rpmnew and rpmold cyrus
config files).