mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-28 13:58:22 +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
2
test/test-files/email-templates/smtp-ehlo.txt
Normal file
2
test/test-files/email-templates/smtp-ehlo.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
EHLO mail.localhost
|
||||
QUIT
|
|
@ -405,6 +405,14 @@ function count_processed_changes() {
|
|||
[ "$status" -ge 0 ]
|
||||
}
|
||||
|
||||
@test "checking smtp: not advertising smtputf8" {
|
||||
# Dovecot does not support SMTPUTF8, so while we can send we cannot receive
|
||||
# Better disable SMTPUTF8 support entirely if we can't handle it correctly
|
||||
run docker exec mail /bin/sh -c "nc 0.0.0.0 25 < /tmp/docker-mailserver-test/email-templates/smtp-ehlo.txt | grep SMTPUTF8 | wc -l"
|
||||
assert_success
|
||||
assert_output 0
|
||||
}
|
||||
|
||||
#
|
||||
# accounts
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue