Koozali.org: home of the SME Server

SMTPUTF8

Offline compdoc

  • ****
  • 211
  • +0/-0
SMTPUTF8
« on: May 09, 2023, 06:52:36 PM »
In the last couple of months there have been a few messages that were rejected by my server. There weren't very many, but it concerns me. The reason listed is:

SMTPUTF8 is required, but was not offered by host xxx.xxx.xxx.xxx (ip address of my server)

Is this a feature I can enable, or something that can be added?

Thanks for any info.




Offline Jean-Philippe Pialasse

  • *
  • 2,762
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: SMTPUTF8
« Reply #1 on: May 09, 2023, 07:30:00 PM »
hi,
a little context is needed.
from where have you seen this message.
is it sending or recieving
have you checked qpsmtpd /sqpsmtpd /qmail logs
have you been able to isolate the message and to reproduce the issue?

Offline compdoc

  • ****
  • 211
  • +0/-0
Re: SMTPUTF8
« Reply #2 on: May 09, 2023, 10:02:37 PM »
I use a service named Rollernet.us to relay email to my SME server. According to their logs these few emails were rejected, and Ive researched that this is because I'm not advertising SMTPUTF8 in my connection's HELO/EHLO.

Apparently the emails are just dropped. Neither 'SMTPUTF8' or 'UTF8' are mentioned in any of the qpsmtpd /sqpsmtpd /qmail logs, in fact i can find no record of the connection at all on my end. Is there a log that records failed SMTP handshakes?

At Rollernet.us, I recently enabled email mirroring, so I was able to read this rejected email. Its just a notice from a website that I have an account with. I usually get their notices, but occasionally some went missing, so this is must be why. Occasionally they require SMTPUTF8.

Packages like Postfix have a setting to enable or disable SMTPUTF8, so I was hoping there might be a setting available for SME's smtp service.
« Last Edit: May 09, 2023, 10:06:17 PM by compdoc »

Offline Jean-Philippe Pialasse

  • *
  • 2,762
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: SMTPUTF8
« Reply #3 on: May 10, 2023, 06:22:03 AM »

Offline ReetP

  • *
  • 3,731
  • +5/-0
Re: SMTPUTF8
« Reply #4 on: May 10, 2023, 02:46:54 PM »
Apparently the emails are just dropped. Neither 'SMTPUTF8' or 'UTF8' are mentioned in any of the qpsmtpd /sqpsmtpd /qmail logs, in fact i can find no record of the connection at all on my end. Is there a log that records failed SMTP handshakes?

No logs on their side at all? Bounce messages or something?

As JP said, we need some info we can take a look. I have no idea what the transactions look like.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline compdoc

  • ****
  • 211
  • +0/-0
Re: SMTPUTF8
« Reply #5 on: May 10, 2023, 03:13:19 PM »
There are no entries that I can find in the logs on my side, but searching Rollernet's logs (their side) I've found that a dozen such emails have been dropped in the last month.

I'm going to see if there's an SMTPUTF8 extension available for qpsmtpd, but because there have been so few emails affected it might not be worth the trouble. I have also wondered if I could setup an MTA like Postfix that I can use to accept mail before forwarding to SME.

If this is happening to my server, I imagine there are other people this is happening to without them realizing it.

Offline Jean-Philippe Pialasse

  • *
  • 2,762
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: SMTPUTF8
« Reply #6 on: May 10, 2023, 07:45:12 PM »
as explained in the ticket i linked, there are not support for this in qpsmtpd, and only pointers on how to do it have been suggested.

for having done some more search even if few like pmg (proxmox mail gateway) and postfix offers support this seems pretty buggy (read there worst when you support it than when you do not in term of failure to deliver) as long as this is not offered everywhere which might take few more years.

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

this will also need qmail, spamassin, dovecot, clamav to handle it, and also downstream smtp


patch for qmail https://github.com/arnt/qmail-smtputf8
dovecot no support yet i am aware of
same for clamav and spamassassin but as they are called by qpsmtpd maybe a workaround could be done there



« Last Edit: May 10, 2023, 07:50:45 PM by Jean-Philippe Pialasse »

Offline ReetP

  • *
  • 3,731
  • +5/-0
Re: SMTPUTF8
« Reply #7 on: May 11, 2023, 02:58:40 AM »
That'll be a barrel of laughs then. Qmail clear text AND TLS for starters.   :(

Not just mail transport, but everything that may need to handle a UTF8 email address.... Ugly.

I guess many haven't noticed - anyone using a UTF8 address to us would be junk anyway!
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Jean-Philippe Pialasse

  • *
  • 2,762
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: SMTPUTF8
« Reply #8 on: May 11, 2023, 06:48:09 PM »

I guess many haven't noticed - anyone using a UTF8 address to us would be junk anyway!
YMMV.
if you live in asia or a lot of non English speaking countries you might encounter more and more strange characters in the email

Offline Fumetto

  • *
  • 874
  • +1/-0
Re: SMTPUTF8
« Reply #9 on: May 14, 2023, 11:27:06 PM »
So... it's a features... autoban from some contries... ^_^
Ok... ok... I'm going to whip myself in a corner... :-P

Offline ReetP

  • *
  • 3,731
  • +5/-0
Re: SMTPUTF8
« Reply #10 on: May 15, 2023, 10:07:19 AM »
So... it's a features... autoban from some contries... ^_^
Ok... ok... I'm going to whip myself in a corner... :-P

 :hammer: :lol:
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation