WARNING: Wide character in print at /usr/share/perl5/PMG/SMTP.pm line 48.

poetry

Active Member
May 28, 2020
206
57
33
Hello,

We have been noticing this error every time some mail is received that has characters žđščćŽĐŠČĆ in recipient mail.

We are using Mail Gateway 6.3-5 with all latest updates installed.

pmg-smtp-filter[1044]: Wide character in subroutine entry at /usr/share/perl5/PMG/RuleDB/Spam.pm line 138.
pmg-smtp-filter[1044]: WARNING: Wide character in print at /usr/share/perl5/PMG/SMTP.pm line 48.

pmg-smtp-filter[1044]: fast exit because of errors (free 259944448 bytes)
pmg-smtp-filter[1044]: fast exit because of errors (free 259944448 bytes)
pmg-smtp-filter[953]: Starting "1" children
postfix/lmtp[1028]: 8FF2D1E0A19: to=<removed-for-privacy>, relay=127.0.0.1[127.0.0.1]:10024, delay=429550, delays=429546/0.29/2.5/1.4, dsn=4.4.0, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.4.0 detected undelivered mail to <removed-for-privacy> (in reply to end of DATA command))

What we do not understand is why does the mail gateway keep trying to deliver the message if it's "undelivered mail". Should it not refuse the delivery and notify the sender immediately?

Here are the current messages that contain characters žđščćŽĐŠČĆ and are stuck in the queue. Why they are not cleared out immediately once the mail gateway detects 451?
What is the default or RFC time to keep trying to deliver email if 451 is detected?

characters.png

Let us know how can we fix this.

Thank you!
 
Hi I've experienced this issue many times in the past, and it starts to be annoying. It looks like this is still not fixed in current version of PMG. Is this such low priority because nobody cares or the solution is somewhat complex? The bug report hasn't been updated for three years now.
 
Last edited:
We're currently looking into it - so I hope that one of the upcoming versions should contain a fix - but as always - no promises when that will be the case.
 
  • Like
Reactions: aasami

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!