user password in mail-filter plugin
Thomas Möhle ( at bitkomplex)
Thomas Möhle ( at bitkomplex)
Wed Feb 10 16:18:37 UTC 2016
Am 05.02.2016 um 11:31 schrieb Thomas Möhle:
> Am 05.02.2016 um 10:38 schrieb Timo Sirainen:
>>
>>> On 05 Feb 2016, at 00:54, Thomas Möhle <thomas at bitkomplex.de> wrote:
>>>
>>> Unfortunately it still doesn't work. The filter-script does not recieve
>>> any data from that variable.
>>> I tried replacing the %w with %u, to see, if the filter-script would at
>>> least recieve the username then, but that doesn't work, either. So I'm
>>> not sure, if %{userdb:pass} isn't read correctly, or if "override_fields
>>> = userdb_pass=%w" doesn't set it right.
>>
>> Check with:
>>
>> doveadm auth login user at domain password
>>
>> In the output there's supposed to be the "pass" field in userdb extra fields. If not, try adding before your first userdb:
>>
>> userdb {
>> driver = prefetch
>> result_success = continue
>> }
>>
>> I don't think that was supposed to be necessary though.
>>
>
> Still nothing. It seems like the extra field doesn't even exist. :/
>
> doveadm auth login thomas at example.com mypassword
> passdb: thomas at example.com auth succeeded
> userdb extra fields:
> thomas at example.com
> home=/var/mail/example.com/thomas
> mail=maildir:/var/mail/example.com/thomas/mail:LAYOUT=fs
> quota_rule=*:bytes=0
> uid=5000
> gid=5000
>
I'm still stuck on this issue. What can I do, if "override_fields =
userdb_pass=%u" sets the field to the username? Is it possible, that
this is a bug in v2.2.21?
More information about the dovecot
mailing list