[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?
Patrick Domack
patrickdk at patrickdk.com
Tue Oct 11 15:37:26 EEST 2011
postfix delivers to the user, and I don't do lmtp authentication, I
just submit the email from postfix to lmtp.
I'm not even sure how you can use lmtp authentication to verify a
delivery address, normally when postfix uses lmtp the email was
accepted, and therefor would generate a bounce.
I can't find anything that wouldn't bounce using lmtp, in postfix or
dovecot documentation.
Quoting jake0534 at airpost.net:
> 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