mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-03 01:24:52 +02:00
Disable SMTPUTF8 as Dovecot can't handle it
This commit is contained in:
parent
a0ee229f00
commit
f5dac6e71c
3 changed files with 16 additions and 0 deletions
|
@ -122,6 +122,7 @@ function register_functions() {
|
|||
_register_setup_function "_setup_postfix_hostname"
|
||||
_register_setup_function "_setup_dovecot_hostname"
|
||||
|
||||
_register_setup_function "_setup_postfix_smtputf8"
|
||||
_register_setup_function "_setup_postfix_sasl"
|
||||
_register_setup_function "_setup_postfix_override_configuration"
|
||||
_register_setup_function "_setup_postfix_sasl_password"
|
||||
|
@ -706,6 +707,11 @@ function _setup_postfix_sizelimits() {
|
|||
postconf -e "mailbox_size_limit = ${DEFAULT_VARS["POSTFIX_MAILBOX_SIZE_LIMIT"]}"
|
||||
}
|
||||
|
||||
function _setup_postfix_smtputf8() {
|
||||
notify 'inf' "Configuring postfix smtputf8 support (disable)"
|
||||
postconf -e "smtputf8_enable = no"
|
||||
}
|
||||
|
||||
function _setup_spoof_protection () {
|
||||
notify 'inf' "Configuring Spoof Protection"
|
||||
sed -i 's|smtpd_sender_restrictions =|smtpd_sender_restrictions = reject_authenticated_sender_login_mismatch,|' /etc/postfix/main.cf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue