syntax for overriding userdb fields from passdb config

2016-02-21 Thread Thomas Möhle
= userdb:chroot=/var/mail override_fields = %{userdb:chroot}=/var/mail override_fields = %{userdb_chroot}=/var/mail but none of the above returned /var/mail when I tried to hand %{userdb:chroot} to an external script. Thanks for your help, Thomas Möhle

Re: user password in mail-filter plugin

2016-02-05 Thread Thomas Möhle
> you did a > > doveadm auth cache flush > > to ensure the data is not taken from cache? I just tried it, just to make sure, but ince I'm restarting dovecot after any config change anyway, it didn't make a difference.

Re: user password in mail-filter plugin

2016-02-05 Thread Thomas Möhle
So let me show you my config, just to be sure: /etc/dovecot/conf.d/auth-sql.conf.ext: passdb { driver = sql override_fields = userdb_pass=%w args = /etc/dovecot/dovecot-sql.conf.ext } userdb { driver = prefetch result_success = continue } userdb { driver = sql args = /etc/dovecot/dov

Re: user password in mail-filter plugin

2016-02-05 Thread Thomas Möhle
Am 05.02.2016 um 10:38 schrieb Timo Sirainen: > >> On 05 Feb 2016, at 00:54, Thomas Möhle wrote: >> >>>> So, do I get this right? During login the content of dovecots %w >>>> variable is supposed to be stored in a userdb field, called userdb_pass, >>&

Re: user password in mail-filter plugin

2016-02-04 Thread Thomas Möhle
Am 04.02.2016 um 20:54 schrieb Timo Sirainen: > On 04 Feb 2016, at 19:41, Thomas Möhle wrote: >> >> Am 04.02.2016 um 17:43 schrieb Timo Sirainen: >>> On 04 Feb 2016, at 03:44, Thomas Möhle wrote: >>>> >>>> Hello, >>>> >>>

Re: user password in mail-filter plugin

2016-02-04 Thread Thomas Möhle
Am 04.02.2016 um 17:43 schrieb Timo Sirainen: > On 04 Feb 2016, at 03:44, Thomas Möhle wrote: >> >> Hello, >> >> I would like to use the users password within a mail-filter script. >> Dovecots %w variable is only available within dovecot-auth, is there any >>

user password in mail-filter plugin

2016-02-03 Thread Thomas Möhle
Hello, I would like to use the users password within a mail-filter script. Dovecots %w variable is only available within dovecot-auth, is there any way to access the password for a mail-filter? Thanks, Thomas