Skip to content

Commit ee4031f

Browse files
committed
Enable SMTPUTF8.
It's probably safe to do so these days. It definitely is for our servers :)
1 parent b4b1f6c commit ee4031f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ An example config file is provided in `/opt/willi/etc/willi.conf.example`. Copy
2626
## Limitations
2727

2828
* If a client specifies multiple `RCPT TO` headers, only the first is used to select an upstream server. It will receive the complete SMTP session, including all other `RCPT TO` headers. If the upstream server does not accept mail for all recipients, it will reject the mail.
29+
* Upstream servers must support SMTPUTF8, because Willi will always advertise it.
2930
* If an upstream server does not support/allow XCLIENT from Willi, it only sees the proxy's IP. This can cause trouble with spam-filtering: If the upstream server blocks Willi's IP or greylists it, no client can send any mail to this server via Willi.
30-
* No support for "advanced" SMTP features like SMTPUTF8. This is because when the client connects, Willi doesn't know yet what upstream server will be used and what features it supports.
3131
* If upstream server does not support STARTTLS, Willi falls back to plain connection (even if client sent STARTTLS).
3232
* No support for authentication. This is by design, as Willi is primarily meant to be used for incoming mail.
3333

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ func main() {
7777
s.WriteTimeout = time.Duration(config.WriteTimeout)
7878
s.MaxMessageBytes = int(config.MaxMessageBytes)
7979
s.MaxRecipients = config.MaxRecipients
80+
s.EnableSMTPUTF8 = true
8081
s.AuthDisabled = true
8182
s.TLSConfig = tlsConfig
8283

0 commit comments

Comments
 (0)