1

Topic: milter.log: ERR parsing header: charset not supported: iso-8859-2

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 2025071101
- Deployed with iRedMail Easy or the downloadable installer? EE v1.4.0
- Linux/BSD distribution name and version: Ubuntu 22.04.5 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? EE v1.4.0
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Since the upgrade I cannot receive emails from one email address. I investigated, and  the reason is the email was rejected by the (new?) milter:

/var/log/mal.log:
Jul 15 05:34:09 mx postfix/cleanup[756996]: 4bh7Cj0hHGzl809: milter-reject: END-OF-MESSAGE from mx.example.com[0.0.0.0]: 5.7.1 Command rejected; from=<name.surname@example.com> to=<name.surname@mydomain.com> proto=ESMTP helo=<mx.example.com>

/var/log/milter/milter.log:
2025-07-15 05:34:09 ERROR Failed in parsing header: 'From: =?iso-8859-2?Q?Name_Surname=E6?= <name.surname@example.com>', error=missing word in phrase: charset not supported: "iso-8859-2"

Anyone can suggest a fix for this? I believe the issue could also affect other senders using iso-8859-2 charsets or other unsupported charsets in the from header.

Thank You,
CP

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: milter.log: ERR parsing header: charset not supported: iso-8859-2

It's a bug of the milter program, fixed the issue and repacked, please download and replace /usr/local/bin/milter-v1.0.0-*:
https://dl.iredmail.org/milter/

3

Re: milter.log: ERR parsing header: charset not supported: iso-8859-2

Thank You Zhang for your prompt reply.

I replaced the file and the issue was solved.

Have a nice day,
CP