[Dovecot] To query two SQL tables for user verification over LMTP, should I use (a) two separate lookups? or (b) just one lookup with a boolean query?

jake0534 at airpost.net jake0534 at airpost.net
Tue Oct 11 04:52:50 EEST 2011


Hey,

On Monday, October 10, 2011 7:46 PM, "Patrick Domack"
<patrickdk at patrickdk.com> wrote:
> I always keep it seperate, the user table is used by dovecot only, and  
> the alias table is used by postfix.
> 
> And then for users, you just alias them to themselfs. Then everything  
> exists in the alias table, and postfix knows all valid users, cause  
> they all exist in the alias table.
> 
> I just think of it as, user accounts, and email addresses that map to  
> the user accounts.

So you're not using LMTP authentication to verify that Postfix is trying
to deliver to a valid user?  I though that's what it was for.

In your setup, 'who' does Postfix try to deliver to, then?  The 'real'
user, after figuring out and remapping any aliases to it? Or to the
alias, and then Dovecot does the remapping?

Jake



More information about the dovecot mailing list