• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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