• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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