• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved Postfix issue with 17.8.11 update

Awshucks

New Pleskian
Recently attempted the update to plesk 17.8.11 from 17.5.3 and ran into an issue with postfix erroring out and not sending/recieving emails.

Apr 18 19:47:33 servername postfix/cleanup[37758]: error: open /etc/postfix/header_checksrecipient_canonical_maps: No such file or directory
Apr 18 19:47:33 servername postfix/cleanup[37758]: fatal: open dictionary: expecting "type:name" form instead of "="
Apr 18 19:47:34 servername postfix/master[7628]: warning: process /usr/lib/postfix/cleanup pid 37758 exit status 1
Apr 18 19:47:34 servername postfix/master[7628]: warning: /usr/lib/postfix/cleanup: bad command startup -- throttling

The line in the main.cf is set to:
header_checks = regexp:/etc/postfix/header_checksrecipient_canonical_maps = tcp:127.0.0.1:12346

I ended up reverting to a previous snapshot from before the update to get the system running again.
 
On default Plesk 17.8 installation on CentOS 7 I see nothing about header_checksrecipient_canonical_maps :

[root@ppu17-8 ~]# ll /etc/postfix/header_checksrecipient_canonical_maps
ls: cannot access /etc/postfix/header_checksrecipient_canonical_maps: No such file or directory

[root@ppu17-8 ~]# grep header_checksrecipient_canonical_maps /etc/postfix/main.cf

[root@ppu17-8 ~]# grep header_checks /etc/postfix/main.cf
# The header_checks parameter specifies an optional table with patterns
# For details, see "man header_checks".
#header_checks = regexp:/etc/postfix/header_checks

Try to comment this line and run

# plesk repair mail

for fixing this issue.
 
After upgrading to Plesk 17.8.11 my main.cf file has these two new entries at the end of the file:
Code:
recipient_canonical_maps = tcp:127.0.0.1:12346
recipient_canonical_classes = envelope_recipient,header_recipient

Earlier in the main.cf file, I have this, which was originally commented out, but I had uncommented it to add some of my own header mods:
Code:
header_checks = regexp:/etc/postfix/header_checks

It looks like maybe the install mistook something at the end of the header_checks listing as the end-of-file and tried to insert the code there incorrectly.
I would look for this code in your main.cf file, and separate it as it should look, according to my examples:
Code:
/etc/postfix/header_checksrecipient_canonical_maps
 
Comparing the updated config I kept a copy of and the original from before the update you are correct, looks like a line break was missed in the update of the file when it tried adding the recipient_canonical_maps = setting since that is not on the original, the classes property was added properly on a new line. I have made some changes to the main.cf for spam filtering purposes so maybe that caused the line error. Will be updating the server later today again after hours and will update thread if separating works.
 
Last edited:
Server is fully up and running with postfix showing no errors anymore once the recipient_canonical_maps was moved to its own line in the main.cf file. Thanks for all the help.
 
Back
Top