[Dovecot] Question about auth-master, deliver, and SQL maps

Timo Sirainen tss at iki.fi
Wed Mar 7 09:17:29 EET 2007


On 7.3.2007, at 4.50, Richard Coleman wrote:

> But when I configure deliver to use auth-master, it doesn't work  
> right,
> because it is passing the recipient email address as a key to
> user_query, which is wrong.  Somehow, I need auth-master to use a
> different SQL query from user_query when doing lookups for  
> deliver.  In
> essence, I want deliver to use the same SQL queries where were
> previously used for the Postfix "virtual" delivery agent.

%s expands to IMAP, POP3 or deliver. You could use that in the  
user_query (or create a nice function which takes it and username as  
parameters).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070307/d76b76e0/attachment.pgp 


More information about the dovecot mailing list