• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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