Not seing SASL auth metchanisms from sieve

Albert Chin info-cyrus at lists.thewrittenword.com
Tue Feb 24 17:40:41 EST 2004


On Tue, Feb 24, 2004 at 05:25:38PM -0500, Igor Brezac wrote:
> 
> On Tue, 24 Feb 2004, Albert Chin wrote:
> 
> > On Tue, Feb 24, 2004 at 01:49:39PM -0600, Albert Chin wrote:
> > >
> > > BTW, imapd doesn't display the auth mechanisms either:
> > > $ telnet [host] imap
> > > a001 CAPABILITY
> > > * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS
> > > NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND
> > > BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE
> > > IDLE
> >
> > Ok, I looked at the sieve_get_handle() function in
> > perl/sieve/managesieve/managesieve.xs. It errors out if no SASL auth
> > mechanisms are displayed:
> >   mechlist=read_capability(obj);
> >   if(!mechlist) {
> >         globalerr = "sasl mech list empty";
> >         XSRETURN_UNDEF;
> >   }
> >
> > So, that's definitely my problem. Anyone with ideas as to why I don't
> > see any auth mechanisms displayed? Should I query the cyrus-sasl
> > mailing list?
> >
> 
> You must be using plaintext mechs (plain, login).  These mechs will show
> only when you protect the transport (use tls).  It looks like you did not
> configure tls.

True (I'm using PAM via saslauthd). So, with the following in
imapd.conf and TLS, I should get some auth mechanisms displayed?
  sasl_mech_list: PLAIN
  sasl_pwcheck_method: saslauthd

-- 
albert chin (china at thewrittenword.com)
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list