• 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

Forwarded to devs RHEL/Centos missing the Plesk milter entry for non_smtpd_milters

danami

Silver Pleskian
TITLE:
RHEL/Centos missing the Plesk milter entry for non_smtpd_milters
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Product version: Plesk Onyx 17.5.3 Update #38
Update date: 2018/01/22 13:37
Build date: 2017/03/17 16:00
OS version: CentOS 7.4.1708
Revision: 55d1b49a272f44666e1920eca8b6e4da449a38cd
Architecture: 64-bit
Wrapper version: 1.2
PROBLEM DESCRIPTION:
On RHEL/Centos servers postfix is missing the Plesk milter entry (inet:127.0.0.1:12768) for non_smtpd_milters in /etc/postfix/main.cf. This results in different issues for outgoing email like DKIM signatures not being added for any outgoing mail that uses the sendmail wrapper, PHP mail etc.​
STEPS TO REPRODUCE:
Check if the non_smtpd_milters entry has the milter added using the postconf tool:

Code:
# postconf | grep non_smtpd_milters
non_smtpd_milters =
ACTUAL RESULT:
Code:
# postconf | grep non_smtpd_milters
non_smtpd_milters =
EXPECTED RESULT:
Debian / Ubuntu Plesk servers have the proper entry:

Code:
# postconf | grep non_smtpd_milters
non_smtpd_milters = inet:127.0.0.1:12768
ANY ADDITIONAL INFORMATION:

I'm not entirely sure if the bug is that its missing in Centos/Ubuntu or if its not supposed to be there on Debian/Ubuntu??
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug
 
Last edited:
As it is described here - Postfix Configuration Parameters

A list of Milter (mail filter) applications for new mail that does not arrive via the Postfix smtpd(8) server.
This includes local submission via the sendmail(1) command line, new mail that arrives via
the Postfix qmqpd(8) server, and old mail that is re-injected into the queue with "postsuper -r".
Specify space or comma as separator. See the MILTER_README document for details.

We do not configure the non_smtp_milters parameter at all.
We use our custom sendmail-wrapper which already uses mail handlers stack and we didn't see any reason why we need use milters for qmqpd and postsuper.

It is not exactly a product's bug. Seems like a feature request. What about Uservoice request?
 
> We do not configure the non_smtp_milters parameter at all.

Weird. When I looked at one of our VMs in the lab it was set on Debian. Shouldn't this be set though? The Plesk milters also sign outgoing email so without it DKIM headers would not be set for any non_smtp email like PHP mail function or anything that uses the sendmail wrapper.
 
Confirming: I had to set the "non_smtpd_milters" for DKIM signing mail sent through PHP (7.1.14) mail function
 
Back
Top