• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Repeated headers in mails using postfix

Bevan

Basic Pleskian
Hi!

This problem was already reported some time ago in the Plesk 10 forum. Unfortunately there was no answer and this bug is still present in Plesk 11 so I report it here:

When postfix receives a mail with multiple recipients it writes some header lines multiple times into that mail.

Detailed bug report:

---------------------------------------------------------------
PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE
Plesk Panel, 11.0.9, Update #7, Debian 6 (Squeeze), amd64

PROBLEM DESCRIPTION
When using postfix as MTA some header lines will be written repeatedly
into a received mail if it contains multiple recipients.
To be precise: They are written once per recipient.
As far as I can see it affects the following headers:
- Received-SPF
- X-No-Relay
- X-No-Auth

STEPS TO REPRODUCE
Send a mail with multiple recipients to a server using Plesk and Postfix.

ACTUAL RESULT
Multiple lines of the following headers are included in the mail:
- Received-SPF
- X-No-Relay
- X-No-Auth

EXPECTED RESULT
Each header line should exist only once.

ANY ADDITIONAL INFORMATION
--------------------------------------------------------------

Could you please forward it to the developers? It may not be a problem with 2 or 3 recipients, but with a lot more you run into problems...
 
I have forwarded your report to developers. I will update thread with results when I receive them.
 
As workaround just remove non_auth.re and no_rely.re records in main.cf for Plesk >=10.4
or clean:
/var/spool/postfix/plesk/non_auth.re
/var/spool/postfix/plesk/no_relay.re
 
Hi IgorG,

thanks for your answer. Because of the names of the files I think this removes the X-No-Auth and X-No-Relay headers. Please note that also the Received-SPF header is affected by this problem when SPF is enabled.
 
Back
Top