Good day Guys

Reading:
https://doc.dovecot.org/2.4.1/core/config/auth/databases/sql.html#sqlite

Im trying to do a field look up but I get the following error message

Failed to parse configuration: Failed to expand sqlite_path setting variables: dom
ain: No value to get domain from

This is what I have

passdb sql {
  query = SELECT name AS username, password FROM mailboxes WHERE name = '%{user | username}'
  sqlite_path = /usr/home/.mail/%{domain}/mailconf.sq3
}

If I hard code the path, then the error message goes away

Regards
Brent Clark

_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to