Auth method by domain

Tarjei Huse tarjei at nu.no
Thu May 6 16:23:58 EDT 2004


On Wed, 2004-05-05 at 22:07, Rob Siemborski wrote:
> On Wed, 5 May 2004, Morten Dreier wrote:
> 
> > With cyrus - is it possible to use different auth method in different
> > domains?
> > Lets say that one domain uses postgres auth while an other domain uses
> > ldap - is this possible?
> 
> Per-domain configuration options aren't currently possible, no.  This
> mostly has to do with how the configuration system is architected (It'd
> probably be some amount of work to make this efficient).
Well, there is a way around this:

As long as each domain has it's own ip-adress, you can set up multiple
instances of imapd with different config files and thus different
auth-configurations using the -C configurationparameter in cyrus.conf.

example:
localimap cmd="imapd -C /etc/imapd.conf.local" listen=localhost:imap
prefork=0

This is what I use to provide plaintextlogins for webmail while
demanding tls or digest-md5 for everyone else.

Tarjei


> -Rob
> 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
> Research Systems Programmer * /usr/contributed Gatekeeper
> 
> ---
> 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

---
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




More information about the Info-cyrus mailing list