documentation

tallison at tacocat.net tallison at tacocat.net
Tue Oct 28 11:53:57 EST 2003


>
> I am not sure why would anyone be motivated to help you after such a
> message.  You provided no specifics such as error messages, sample
> configurations, sieveshell command line options you tried, etc.
>

I'm not expecting anyone to be particularly motivated.  I admit that much
of this post was more venting than productive.  But it's really
frustrating to have something almost but not quite working for weeks.

Below I've (re)posted some specifics on what I was seeing.

In addition to this, I was finding the very similar log entries when I was
asked to authenticate an 'ldapadd' command.  similar in that the problem
was sasldb not being able to authenticate.  Interesting in that I have
nothing left to indicate that sasldb should be used for authentication.  I
would call this something of a "ghost".

Given that I might have done something to my SuSE 8.2 Professional
installation, I may have to start over again.

However, I was able to determine from another person on the SuSE mailing
list that what I entered for the "not working" segment should work as that
is his S.O.P. and what did work shouldn't.

For what it's worth, it would probably be better to just list what I'm
doing and seeing.

CONFIGURATION
/etc/imapd.conf:
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sasldb

postconf -n | grep myhostname
myhostname = mcgee.tacocat.net

mcgee:~ # ls -l /etc/sasldb2
-rw-r-----    1 root     mail        12288 2003-10-27 07:07 /etc/sasldb2

I am trying to use the authentication with a domain matching my $myhostname.

WHATS HAPPENING
This works (logged in as root at localhost)

mcgee:~ # sasldblistusers2
mcgee:~ # saslpasswd2 -c bobby
Password:
Again (for verification):
mcgee:~ # sasldblistusers2
bobby at mcgee: userPassword

mcgee:~ # sieveshell -u bobby -a bobby localhost
connecting to localhost
Please enter your password:
 > quit
mcgee:~ #

This does not work:
mcgee:~ # sasldblistusers2
mcgee:~ # saslpasswd2 -c -u mcgee.tacocat.net bobby
Password:
Again (for verification):
mcgee:~ # sasldblistusers2
bobby at mcgee.tacocat.net: userPassword
mcgee:~ # sieveshell -u bobby -a bobby -r mcgee.tacocat.net localhost
connecting to localhost
Please enter your password:
Please enter your password:
Please enter your password:
Please enter your password:
unable to connect to server at /usr/bin/sieveshell line 174, <STDIN> line 4.
mcgee:~ #

And this was the result in the logs.
Oct 27 07:07:35 mcgee master[5411]: about to exec
/usr/lib/cyrus/bin/timsieved
Oct 27 07:07:35 mcgee sieve[5411]: executed
Oct 27 07:07:35 mcgee sieve[5411]: accepted connection
Oct 27 07:07:35 mcgee timsieved[5411]: OTP unavailable because can't
read/write key database /etc/opiekeys: No such file or directory
Oct 27 07:07:35 mcgee timsieved[5411]: DIGEST-MD5 server step 1
Oct 27 07:07:35 mcgee perl: DIGEST-MD5 client step 2
Oct 27 07:07:37 mcgee timsieved[5411]: DIGEST-MD5 server step 2
Oct 27 07:07:37 mcgee timsieved[5411]: no secret in database
Oct 27 07:07:37 mcgee timsieved[5411]: badlogin: localhost[127.0.0.1]
DIGEST-MD5 authentication failure
Oct 27 07:07:38 mcgee timsieved[5411]: Password verification failed
Oct 27 07:07:38 mcgee timsieved[5411]: badlogin: localhost[127.0.0.1]
PLAIN authentication failure
Oct 27 07:07:40 mcgee timsieved[5411]: badlogin: localhost[127.0.0.1]
LOGIN authentication failure
Oct 27 07:07:41 mcgee timsieved[5411]: no secret in database
Oct 27 07:07:41 mcgee timsieved[5411]: badlogin: localhost[127.0.0.1]
CRAM-MD5 authentication failure
Oct 27 07:07:41 mcgee perl: No worthy mechs found
Oct 27 07:07:41 mcgee master[1172]: process 5411 exited, status 0









More information about the Info-cyrus mailing list