Fix default postfixadmin password rules
This commit is contained in:
parent
a5e756c280
commit
dd44c7ba8c
2 changed files with 12 additions and 6 deletions
|
|
@ -18,11 +18,13 @@ mailserver:
|
||||||
drop_user_agent:
|
drop_user_agent:
|
||||||
regex: '^User-Agent:'
|
regex: '^User-Agent:'
|
||||||
action: IGNORE
|
action: IGNORE
|
||||||
|
dovecot:
|
||||||
|
debug: false
|
||||||
postfixadmin:
|
postfixadmin:
|
||||||
php_fpm_config:
|
php_fpm_config:
|
||||||
user: postfixadmin
|
user: postfixadmin
|
||||||
group: postfixadmin
|
group: postfixadmin
|
||||||
listen: /run/php/php{{ php_version }}-fpm-postfixadmin.sock
|
listen: '/run/php/php{{ php_version }}-fpm-postfixadmin.sock'
|
||||||
listen.owner: www-data
|
listen.owner: www-data
|
||||||
listen.group: www-data
|
listen.group: www-data
|
||||||
listen.mode: '0660'
|
listen.mode: '0660'
|
||||||
|
|
@ -61,5 +63,7 @@ mailserver:
|
||||||
forgotten_admin_password_reset: false
|
forgotten_admin_password_reset: false
|
||||||
password_expiration: 'NO'
|
password_expiration: 'NO'
|
||||||
generate_password: 'YES'
|
generate_password: 'YES'
|
||||||
|
password_validation:
|
||||||
|
'/.{8}/': 'password_too_short 8'
|
||||||
used_quotas: 'YES'
|
used_quotas: 'YES'
|
||||||
show_footer_text: 'NO'
|
show_footer_text: 'NO'
|
||||||
|
|
|
||||||
|
|
@ -130,11 +130,6 @@ protocol lda {
|
||||||
mail_plugins = $mail_plugins sieve
|
mail_plugins = $mail_plugins sieve
|
||||||
}
|
}
|
||||||
|
|
||||||
# Debugging
|
|
||||||
auth_verbose = yes
|
|
||||||
auth_debug = yes
|
|
||||||
mail_debug = yes
|
|
||||||
|
|
||||||
# Quota
|
# Quota
|
||||||
plugin {
|
plugin {
|
||||||
# Use postfixadmins quota2 table, so used_quota works
|
# Use postfixadmins quota2 table, so used_quota works
|
||||||
|
|
@ -157,3 +152,10 @@ dict {
|
||||||
# proxy::pgsql
|
# proxy::pgsql
|
||||||
pgsql = pgsql:/etc/dovecot/dovecot-dict-sql.conf
|
pgsql = pgsql:/etc/dovecot/dovecot-dict-sql.conf
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{% if mailserver.dovecot.debug %}
|
||||||
|
# Debugging
|
||||||
|
auth_verbose = yes
|
||||||
|
auth_debug = yes
|
||||||
|
mail_debug = yes
|
||||||
|
{% endif %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue