ansible-role-postfix/templates/authmysqlrc.j2

18 lines
603 B
Text
Raw Normal View History

2022-10-11 09:19:06 +02:00
MYSQL_SERVER localhost
MYSQL_USERNAME {{ mail_db_user}}
MYSQL_PASSWORD {{ mail_db_password }}
MYSQL_PORT 0
MYSQL_DATABASE {{ mail_db_name }}
MYSQL_USER_TABLE users
MYSQL_CRYPT_PWFIELD password
#MYSQL_CLEAR_PWFIELD password
MYSQL_UID_FIELD 5000
MYSQL_GID_FIELD 5000
MYSQL_LOGIN_FIELD email
MYSQL_HOME_FIELD "/home/vmail"
MYSQL_MAILDIR_FIELD CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/')
#MYSQL_NAME_FIELD
MYSQL_QUOTA_FIELD quota
MYSQL_OPT 0
##NAME: MARKER:0 # # Do not remove this section from this configuration file. This section # must be present at the end of this file.