timsieved & sasl

Patrick Welche prlw1 at newn.cam.ac.uk
Wed Aug 28 08:42:00 EDT 2002


I can login to imapd with cyradm, but can't to timsieved with sieveshell.
What's the difference?

I'm playing spot the difference, but am running out of clues:

   % cyradm --user dburs2 localhost

gets me in, with

   imapd[376]: login: localhost[127.0.0.1] dburs2 DIGEST-MD5 User logged in

but

   % sieveshell --user=dburs2 localhost
   connecting to localhost
   Please enter your password: 
   Please enter your password: 
   unable to connect to server: Authentication Error at /usr/local/bin/sieveshell line 175, <STDIN> line 2.

and

timsieved[382]: badlogin: localhost[127.0.0.1] DIGEST-MD5 authentication failure
timsieved[382]: badlogin: localhost[127.0.0.1] CRAM-MD5 authentication failure

% telnet localhost imap
...
. capability
* CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES IDLE AUTH=DIGEST-MD5 AUTH=CRAM-MD5

% telnet localhost sieve
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
"IMPLEMENTATION" "Cyrus timsieved v1.1.0"
"SASL" "DIGEST-MD5 CRAM-MD5"
"SIEVE" "fileinto reject envelope vacation imapflags notify subaddress relational regex"
OK



So, they both appear to have the same auth mechs, yet one works and the other
apparently doesn't...

Hints?

Cheers,

Patrick




More information about the Info-cyrus mailing list