[Dovecot] How to startup multi auth daemond
Hi all,
I want restrict some user to use POP3 and some other to use SMTP. I consider to startup multi Auth daemond and each use a diffenent SQL. For example: for pop3: select .... where pop3_service=1 and ... for smtp: select .... where smtp_service=1 and ...
I don't know if this is a good idea and how to setup dovecot to do so.
Is there any suggest?
Thanks!
-- Xueron Nee xueron@gmail.com
On Wed, 2006-06-28 at 18:30 +0800, Xueron Nee wrote:
Hi all,
I want restrict some user to use POP3 and some other to use SMTP. I consider to startup multi Auth daemond and each use a diffenent SQL. For example: for pop3: select .... where pop3_service=1 and ... for smtp: select .... where smtp_service=1 and ...
I don't know if this is a good idea and how to setup dovecot to do so.
Is there any suggest?
Use %s in the query which expands to IMAP or POP3. For example for your above selects you could use:
select .. where %Ls_service=1 and ..
See doc/variables.txt for more information about them.
participants (2)
-
Timo Sirainen
-
Xueron Nee