Description of problem: I upgraded cyrus-imapd to the pending Koji build after encountering bug 729767. Then when running sieveshell, I saw: [philipp@builder ~]$ sieveshell --user philipp mail connecting to mail unable to connect to server at /usr/bin/sieveshell line 170. [philipp@builder ~]$ Version-Release number of selected component (if applicable): cyrus-imapd-utils-2.4.10-1.fc15.x86_64 on the client, and on the server: cyrus-imapd-utils-2.4.10-2.fc15.x86_64 cyrus-imapd-2.4.10-2.fc15.x86_64 How reproducible: Above. Steps to Reproduce: 1. 2. 3. Actual results: Fails to connect. Expected results: Successful connection. Additional info:
how did you updated cyrus-imapd? It's not installable right now, because it needs libdb-utils. libdb-utils conflict with db4-utils, requirement of rpm.
(In reply to comment #1) > how did you updated cyrus-imapd? It's not installable right now, because it > needs libdb-utils. libdb-utils conflict with db4-utils, requirement of rpm. It had already been installed on the client. On the server side, I removed db4-utils (--nodeps), installed libdb-utils, and then updated cyrus-imapd*.
Can someone call out in the bug notes what needs to be done to fix this?
OK, I've finally got to this one, but it works for me (tested with cyrus-imapd-2.4.12-1) $ sieveshell --user mhlavink localhost connecting to localhost Please enter your password: please retest with latest cyrus-imapd packages, if it still does not work for you: - attach your config files - check all log files (messages, secure and maillog), anything there? - do you have the same version on client and server? - does it work on server?
Created attachment 532909 [details] strace of failing run of sieve Builder (192.168.1.10) is the client. Mail (192.168.1.3) is the server. Both are running 2.4.12-1
Hmm... Also noticed: [philipp@builder ~]$ sivtest -u user -w 'password' -r mail -m digest-md5 mail S: "IMPLEMENTATION" "Cyrus timsieved v2.4.12-Fedora-RPM-2.4.12-1.fc15" S: "SASL" "DIGEST-MD5 CRAM-MD5" S: "SIEVE" "comparator-i;ascii-numeric fileinto reject vacation imapflags notify envelope relational regex subaddress copy" S: "STARTTLS" S: "UNAUTHENTICATE" S: OK Authentication failed. no mechanism available Security strength factor: 0 logout OK "Logout Complete" Connection closed. [philipp@builder ~]$ Does sieve not support MD5-based challenge/response authentication?
Ok, I'm an idiot. The problem was unrelated to the db4-utils stuff. It had to do instead with cyrus-sasl-md5 having been orphaned then removed during the upgrade; Sendmail continued to work because you don't need cyrus-sasl-md5 to implement digest-md5, just cram-md5... so authentication was continuing to work in Sendmail but failing in sieveshell... only it didn't look like a failure until I manually ran sivtest and verified. Re-installing cyrus-sasl-md5 fixed sivtest and sieveshell. Sieveshell was bombing out with a meaningless message that should have said "SASL required for authentication but SASL runtime not detected" or something similar instead of "unable to connect to server ...". Given that sieveshell is built around perldoc Cyrus::SIEVE::managesieve, which in turn is poorly documented, I'm guessing there's no point in opening a separate bug to get the error reporting improved (and that would need to be done upstream anyway). Let's go ahead and close this bug.