• 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.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • 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.

Issue postfix milter-reject | how to tune Milter ?

jorge ceballos

Regular Pleskian
Hi,
I have a sporadic problem with postfix milter rejecting valid emails sent from a specific confirmated source (its a bank).
Please notice, Greylisting is NOT enabled and has never been.

Two days ago, I whitelisted this domain (*.domain) in the server-wide email config, though no AV is active.
Yesterday, I disabled EVERY email incoming filter incluing the Milter in the services panel to no avail; these emails were rejected.
The log shows the following:

XXXXXXXX: milter-reject: END-OF-MESSAGE from email.bank.com[xxx.xxx.xxx.xxx]: 5.7.1 Command rejected; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<email.bank.com>

If I look into further detail by the message's ID, I get:

xxxxxx: milter-reject: END-OF-MESSAGE from mail.bank.com[xxx.xxx.xxx.xxx]: 5.7.1 Command rejected; from=<account@bankcom> to=<[email protected]> proto=ESMTP helo=<mail.bank.com>

xxxxxx: message-id=<[email protected]>

xxxxxx: client=mail.bank.com[xxx.xxx.xxx.xxx]

Please advice, I'm lost and haven't found anything in the web regarding how to tune Milter.

Regards
 
Hi,

You can try to add a -v to the smtpd process in /etc/postfix/master.cf and reload postfix. You'll see a lot more output in the maillog:

smtp inet n - n - - smtpd -v
 
Thanks Maartenv,
I am sorry, Plesk support found I had ClamAV running, which I dont recall having installed and it was blocking certain PDFs attachments according to its heuristic analysis.
BTW, though reject was shown in the maillog, maillog.processed had all the missing details - like the clamd rejection; so its always a good idea to check both looking out for more detail, like in my case.

Regards,
 
Thanks Maartenv,
I am sorry, Plesk support found I had ClamAV running, which I dont recall having installed and it was blocking certain PDFs attachments according to its heuristic analysis.
BTW, though reject was shown in the maillog, maillog.processed had all the missing details - like the clamd rejection; so its always a good idea to check both looking out for more detail, like in my case.

Regards,
No worries, I'm glad it's solved now!

Can you please change the status of your question from "Issue" to "Resolved"?
 
Back
Top