If an email is submitted via SMTPUTF8 it will bounce

short description

If a email is accepted via SMTPUTF8 and amavis via port 10026 is used the email is bounced. I think this happens if the mail is being forwarded.

correct behaviour

amavis should announce SMTPUTF8 on port 10026 correctly, port 10024 is not affected

environment

Server OS: (debian)
Server OS version: (stretch) ISPConfig version: (3.1.13p1)

proposed fix

remove this line from install/tpl/amavisd_user_config.master

smtpd_discard_ehlo_keywords => ['8BITMIME'],

references

http://www.postfix.org/SMTPUTF8_README.html

Introduced with Postfix version 3.0, this fully supports UTF-8 email addresses and UTF-8 message header values.

https://www.ijs.si/software/amavisd/release-notes.txt

A SMTP response to an EHLO command will now announce SMTPUTF8 capability by default.

log entries

relay=127.0.0.1[127.0.0.1]:10026, delay=0.2, delays=0.15/0/0.05/0, dsn=5.6.7, status=bounced (SMTPUTF8 is required, but was not offered by host 127.0.0.1[127.0.0.1])