[Dovecot] How to startup multi auth daemond
Timo Sirainen
tss at iki.fi
Wed Jun 28 16:14:37 EEST 2006
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060628/9846836e/attachment.pgp
More information about the dovecot
mailing list