Displaying 3 results from an estimated 3 matches for "user_database_lookup".
Did you mean:
user_database_lookups
2014 May 20
3
Setting mail location in SQL?
Trying to figure out the syntax to set a mail_location for SQL. This
doesn't work:
userdb {
driver = sql
args = /etc/dovecot/master-combined-sql.conf
override_fields =
mail_location=maildir:/fakedir/%d/%n:INBOX=/fakedir:LAYOUT=fs
}
Does anyone know the proper syntax?
Thanks in advance
2014 May 20
1
Setting mail location in SQL?
...oesn't
> work:
>
> userdb {
> driver = sql
> args = /etc/dovecot/master-combined-sql.conf
> override_fields =
> mail_location=maildir:/fakedir/%d/%n:INBOX=/fakedir:LAYOUT=fs
> }
>
> Does anyone know the proper syntax?
http://wiki2.dovecot.org/AuthDatabase/SQL#User_database_lookups
It's the "mail" field. You configured the reverse case:
http://wiki2.dovecot.org/UserDatabase?highlight=%28override_fields%29
- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBU3r553z1H7kL/d9rAQL87gf/b7+5vsp3eHcmqbqwrpSQXn8OElg3rpb+
wa/ym...
2013 Jul 05
1
Variable similar to %u but providing the username changed by a database lookup?
Hello,
Variable %u may be used in dovecot.conf whenever the "full username" is needed.
But the expansion of %u returns the username before a possible change performed thru a password or user database lookup (e.g., in the case of a SQL database, thru as "AS user" clause).
Is there a variable that would expand to the changed name when used in the configuration file?
TIA,
Axel