Example records for SQL AUTH

James lista at xdrv.co.uk
Wed Nov 5 09:27:50 UTC 2014


On 03/11/2014 22:29, Jorge Bastos wrote:


> Password_query:
>
> password_query = select username, domain,password from users where
> username='%u' and domain='%d' and active='true'
>

Try "... username='%n' ..." not %u


 From doc/dovecot/example-config/dovecot-sql.conf

# Commonly used available substitutions (see 
http://wiki.dovecot.org/Variables
# for full list):
#   %u = entire user at domain
#   %n = user part of user at domain
#   %d = domain part of user at domain




James.




More information about the dovecot mailing list