Re: dovecot 2.4.4 community edition, bug in variables

Aki Tuomi via dovecot <[email protected]> Fri, 22 May 2026 19:57:03 +0300 (EEST)
Newsgroups gmane.mail.imap.dovecot
Message-ID <1757092425.12882.1779469023678@appsuite-pro-sync-core-mw-groupware-1.appsuite-pro-sync-core-mw-hazelcast-headless.appsuite-dev.svc.cluster.local>
> On 22/05/2026 19:37 EEST Terry Braun via dovecot <[email protected]> wrote:
> 
>  
> I'm using this passdb sql to a postgres db
> 
> passdb sql {
>    query = SELECT NULL AS password, 'Y' as nopassword, userid AS user \
>      FROM users \
>      WHERE addr = '%{user}' AND password = '%{password}'
> }
> 

Returning `foo` as userid will, in your config, change user to `foo`.

Aki

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]