Getting cyradm to work over SSL

Philip Prindeville philipp_subx at redfish-solutions.com
Thu Jun 4 16:23:30 EDT 2015


I'm running cyrus 2.4.17 on Fedora 21 (with cyrus-sasl 2.1.26).

I'm trying to write some test automation, but can only get it to work 
with IMAP, not IMAP/SSL.

If I run:

% cyradm --user cyrus --port 143 --auth login --notls localhost

that works fine (though oddly it complains about a self-signed cert).  
I've created a user "cyrus" using:

saslpasswd -c -u mail cyrus

and that authenticates fine.

If I run:

% cyradm --user --port 993 --auth login localhost

however, it silently fails to authenticate with exit code 141.

The relevant part of my config file looks like:

admins: cyrus
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
hashimapspool: true
# sasl_pwcheck_method: saslauthd
sasl_pwcheck_method: auxprop
# sasl_mech_list: PLAIN LOGIN
sasl_mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5
allowplaintext: no
defaultdomain: mail

Why does cyradm work with clear IMAP but fail with IMAP/S?

Thanks,

-Philip



More information about the Cyrus-devel mailing list