--stefan radulian wrote on 21.05.2002 15:17 +0200:

> hello,
> yet another question:
> how can i set up my courier to handle pop3-only and imap-only accounts. now i
> am using authdaemon/authmysql for authentification, and every new user i
> create is able to use pop3 and imap. what i want is to give imap access only
> to certain users, and pop3 to the rest. but i want to handle them all with
> mysql,...

Nope.

Only userdb can handle that, or two separate installations of
courier compiled into different directories (big mess).
A runtime-option for the path to the authsocket would help too,
but you really dont want to know about that :)

I'd also like to use different databases: one for the delivery
of incoming mail and another for authentification/retrival.

Without authdaemon pop3d and imapd could use authmysql, and esmtpd
uses userdb. Bad thing is that esmtpd and webmail share the same
setting (etc/authmodules).
Maybe some day webmail gets his own dedicated config-file (instead
of ~10 different files like now...) where the authmodule may be
specified individually. Until then I have to compile sqwebmail
separately, and play around with symlinks.

But back to your question:

Recompile --without-authdaemon, let pop3d and esmtp use authmysql
only, and point imapd to "authcram authuserdb" (via AUTHMODULES).
Then export the imap-capable users to authuserdb via cron.

Roland


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to