[Dovecot] Master User Features I'd like to see

Marc Perkel marc at perkel.com
Tue Aug 17 00:01:26 EEST 2010



On 8/16/2010 11:26 AM, Timo Sirainen wrote:
> On Mon, 2010-08-16 at 11:17 -0700, Marc Perkel wrote:
>
>> Odd - wonder what I'm doing wrong then? My result:
>>
>> Aug 16 10:44:43 auth: Debug: sql(support at junkemailfilter.com,127.0.0.1):
>> query: SELECT user_name, domain_name, password FROM users WHERE
>> user_name = 'support' AND domain_name = 'junkemailfilter.com' AND
>> owns_domain='1' AND 'junkemailfilter.com'=''
> This is from passdb { master = yes } passdb? How are you logging in? I
> used auth_master_user_separator=* and:
>
> a login tss at dovecot.org*master at dovecot.org pass
> b login tss at foobar.org*master at dovecot.org pass
>
>

auth_master_user_separator = *
passdb {
   driver = sql
   args = /etc/dovecot/dovecot-domain-owner-sql.conf
   master = yes
   pass = yes
}

I'm logging in leslie at junkemailfilter.com*support at junkemailfilter.com

But the %{login_domain} evaluates to an empty string as you can see from 
the results of the debug.

Aug 16 10:44:43 auth: Debug: sql(support at junkemailfilter.com,127.0.0.1):
query: SELECT user_name, domain_name, password FROM users WHERE
user_name = 'support' AND domain_name = 'junkemailfilter.com' AND
owns_domain='1' AND*'junkemailfilter.com'=''*




More information about the dovecot mailing list