I don't quite understand why I should bother about pam.conf if the
pwcheck_method is saslauthd? Should all the authentications are done through
saslauthd for imapd, popd, and timsieved? Here is my /etc/imapd.conf:

configdirectory: /ext/imap/config
partition-default: /ext/imap/mailboxes
servername: bragi.netsco.com
admins: root cyrus
sasl_pwcheck_method: saslauthd
allowplaintext: yes
allowanonymouslogin: no
autocreatequota: 20
sendmail: /usr/lib/sendmail
timeout: 30
imapidlepoll: 60
impaidreponse: yes
umask: 077
sieveuserhomedir: false
sievedir: /ext/imap/sieve
sasl_auto_transition: yes
postuser: bb
lmtpsocket: /var/cyrus/socket/lmtp
idlesocket: /var/cyrus/socket/idle
dracinterval: 30
drachost: localhost
altnamespace: yes
userprefix: Other Users
sharedprefix: Shared Folders
logtimestamps: yes
sasl_mech_list: plain
sasl_sasldb_path: /etc/sasldb2

Running sieveshell returns authentication error with not much detailed
information:
bash-2.03# /usr/local/bin/sieveshell --user=keith --authname=keith mailhost
connecting to mailhost
Please enter your password:
unable to connect to server: Authentication Error at
/usr/local/bin/sieveshell line 172, <STDIN> chunk 1.

peeking in /var/adm/messages shows:
Feb 25 23:48:45 bragi timsieved[1459]: [ID 702911 auth.notice] Password
verification failed

and /var/log/imapd.log shows:
Feb 25 23:46:49 bragi master[1434]: [ID 392559 local6.debug] about to exec
/usr/
local/cyrus/bin/timsieved
Feb 25 23:46:49 bragi sieve[1434]: [ID 518349 local6.debug] executed
Feb 25 23:46:49 bragi sieve[1434]: [ID 921384 local6.debug] accepted
connection
Feb 25 23:46:52 bragi timsieved[1434]: [ID 656617 local6.notice] badlogin:
local
host[127.0.0.1] PLAIN authentication failure
Feb 25 23:46:52 bragi master[1365]: [ID 310780 local6.debug] process 1434
exited
, status 75

Thanks
keith

> -----Original Message-----
> From: Ken Murchison [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 25, 2002 8:24 PM
> To: Keith Kee
> Cc: Cyrus Info
> Subject: Re: sieveshell authentication failed on Solaris
>
>
>
>
> Keith Kee wrote:
> >
> > Hi:
> >    I am running cyrus-imap 2.1.2 and cyrus-sasl 2.1.1 on
> Solaris 8, and I am
> > having problem getting timsieved to authenticate right. Following the
> > instructions written in "installing sieve" in the docs included with the
> > source, I should be able to check my login to timsieved using
> > sieveshell --user=keith --authname=keith localhost. However, I
> am getting an
> > error: unable to connect to server: Authentication Error at
> > /usr/local/bin/sieveshell line 172, <STDIN> chunk 1.
> >
> >    I am using saslauthd as my pwcheck_method, and started
> saslauthd -a pam.
> > I was able to login to the imap server but not the timsieved. Reading
> > through the posting in this mailing list archive, there was some mention
> > about having to copying pam.d/imap to pam.d/timsieved. I believe this
> > applies to linux only? I don't find a pamd.d directory in Solaris 8.
> > Besides, I did not edit pam.conf file to make imap server authenticate
> > correctly. Also, I have sasl_mech_list set to plain in /etc/imapd.conf.
>
> Whether you have one big pam.conf or separate files under pam.d, you
> need to have a 'sieve' config which can be a copy of your 'imap' or
> 'pop' config.
>
> Ken
> --
> Kenneth Murchison     Oceana Matrix Ltd.
> Software Engineer     21 Princeton Place
> 716-662-8973 x26      Orchard Park, NY 14127
> --PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp
>
>

Reply via email to