Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMTPUTF8 error with Postfix #96

Open
jakob11git opened this issue Feb 20, 2024 · 1 comment
Open

SMTPUTF8 error with Postfix #96

jakob11git opened this issue Feb 20, 2024 · 1 comment
Milestone

Comments

@jakob11git
Copy link

Hey, I have a very simple Postfix install with support for EAI. When I send an email manually it looks like this:

$ telnet example.网站 25
Trying 2a01:dead:beef::1...
Connected to example.网站.
Escape character is '^]'.
220 example.xn--5tzm5g ESMTP Postfix (Debian/GNU)
EHLO localhost
250-example.xn--5tzm5g
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250-SMTPUTF8
250 CHUNKING
MAIL FROM:<user@localhost> SMTPUTF8
250 2.1.0 Ok
RCPT TO:<管理者@example.xn--5tzm5g>
250 2.1.5 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
Date: Tue, 20 Feb 2024 17:52:59 +0100
To: 管理者@example.网站
From: user@localhost
Subject: testmail
X-Mailer: Hand-written Telnet session

Hey this is a test mail

.
250 2.0.0 Ok: queued as 8D19020BD3
QUIT
221 2.0.0 Bye
Connection closed by foreign host.

Can I do something similar with swaks? Currently it seems not to advertise SMTPUTF8 support in MAIL FROM message

$ swaks
To: 管理者@example.xn--5tzm5g
=== Trying example.xn--5tzm5g:25...
=== Connected to example.xn--5tzm5g.
<-  220 example.xn--5tzm5g ESMTP Postfix (Debian/GNU)
 -> EHLO localhost
<-  250-example.xn--5tzm5g
<-  250-PIPELINING
<-  250-SIZE 10240000
<-  250-VRFY
<-  250-ETRN
<-  250-STARTTLS
<-  250-ENHANCEDSTATUSCODES
<-  250-8BITMIME
<-  250-DSN
<-  250-SMTPUTF8
<-  250 CHUNKING
 -> MAIL FROM:<user@localhost>
<-  250 2.1.0 Ok
 -> RCPT TO:<管理者@example.xn--5tzm5g>
<** 553 5.6.7 Must declare SMTPUTF8 to send unicode address
 -> QUIT
<-  221 2.0.0 Bye
=== Connection closed with remote host.
@jetmore
Copy link
Owner

jetmore commented Feb 20, 2024

There's a patch for it in #20 and it's being considered for the next release. There's not support in the official release yet though

@jetmore jetmore added this to the next-auth milestone Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants