Am Monday 02 January 2006 20:34 schrieb Holm Kapschitzki:

> >Create your Users and Mailboxes with "[EMAIL PROTECTED]",
> > "[EMAIL PROTECTED]",..
> >
> >in Cyrus-Imapd and in your DB. Let the Users authenticate with
> >"[EMAIL PROTECTED]",.. as Username and fitting Password. Use in
> > sql_statement "select cleartextpw from users where username = '%u'" and
> > forget the Realm.
>
> forget the realm sounds good. That means  i can use the same db for
> cyrus sasl und cyrus imap as like for postfix ( mydestination ) and the
> value in main.cf "
> smtpd_sasl_local_domain" is empty ?

The sql-auxprop Plugin is from Cyrus-SASL. Cyrus-Imapd and Postfix uses 
Cyrus-SASL to handle Authentication. Yes of course you can use the same DB. 
Just configure Cyrus-SASL, for Postfix in /path/to/smtpd.conf, for 
Cyrus-Imapd in /etc/imapd.conf. 

I don't understand what you mean with "mydestination" in this case.

smtpd_sasl_local_domain is bound to the "%r" in your sql-query. If you don't 
use "%r" then you can give smtpd_sasl_local_domain whatever value you like.
Maybe delete it from your main.cf, so "postconf -n" is a Line shorter...

-- 
        Andreas
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to