• 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

E-Mail-delivery fails

pilleee

New Pleskian
Hello folks,
I suddenly got a problem with the milter service of plesk. When an email comes in I get the following error:

milter-reject: DATA from a10-217.smtp-out.amazonses.com[54.240.10.217]: 451 4.7.1 Service unavailable - try again later; from=<###> to=<###> proto=ESMTP helo=<a10-217.smtp-out.amazonses.com>
I looked to the following document: https://kb.plesk.com/en/120384 but that is a bit confusing because I dont know at all what this milter service does. When I deactivate it in my postfix main.cf file I get a lot of spam, so it seems that spam protection, Grreylisting, and all the other cool stuff wont work anymore, so that may not be the proper solution...
 
milter-reject: DATA from a10-217.smtp-out.amazonses.com[54.240.10.217]: 451 4.7.1 Service unavailable - try again later; from=<###> to=<###> proto=ESMTP helo=<a10-217.smtp-out.amazonses.com>
But do you have more important part of this error message like

connect to Milter service inet:localhost:12768: Connection refused

before error posted by you? Or, maybe, you have there something else?
 
This is the complete maillog for one message. In this case, it seems that the greylisting filter blocked this message, right?

May 23 10:26:15 zoomyboy postfix/smtpd[10755]: connect from a10-217.smtp-out.amazonses.com[54.240.10.217]
May 23 10:26:16 zoomyboy postfix/smtpd[10755]: 9AE9E23E280: client=a10-217.smtp-out.amazonses.com[54.240.10.217]
May 23 10:26:16 zoomyboy greylisting filter[10762]: Starting greylisting filter...
May 23 10:26:16 zoomyboy /usr/lib/plesk-9.0/psa-pc-remote[6659]: handlers_stderr: DEFER
May 23 10:26:16 zoomyboy /usr/lib/plesk-9.0/psa-pc-remote[6659]: DEFER during call 'grey' handler
May 23 10:26:16 zoomyboy /usr/lib/plesk-9.0/psa-pc-remote[6659]: Message aborted.
May 23 10:26:16 zoomyboy postfix/smtpd[10755]: 9AE9E23E280: milter-reject: DATA from a10-217.smtp-out.amazonses.com[54.240.10.217]: 451 4.7.1 Service unavailable - try again later; from=<###> to=<###> proto=ESMTP helo=<a10-217.smtp-out.amazonses.com>
May 23 10:26:39 zoomyboy postfix/smtpd[10755]: disconnect from a10-217.smtp-out.amazonses.com[54.240.10.217]

Add: However, If I disable the milter entirely, there's no "Starting greylisting filter..." and the postfix qmgr does his job right after the message comes in.
 
Last edited:
As possible solution, you can try to rebuild mail handlers with

# plesk repair mail
 
Repairing the mail server configuration

Reconfigure all domains and mailboxes? [Y/n] Y
Reconfiguring all domains and mailboxes ......................... [OK]

Error messages: 0; Warnings: 0; Errors resolved: 0

Seems that nothing happened. Am I really the only one with that problem?
 
Hello.

I have a similar problem: Postfix and Dovecot doesn't recognize users from my database.

May 24 14:17:58 plesk01 dovecot: pop3-login: Disconnected (auth failed, 1 attempts in 2 secs): user=<[email protected]>, method=PLAIN, rip=xxx.xxx.xxx.xxx, lip=10.240.0.2, session=<vKk1OZczOgDRVaGH>
May 24 14:19:38 plesk01 postfix/smtpd[11884]: NOQUEUE: reject: RCPT from bay004-omc2s9.hotmail.com[65.54.190.84]: 454 4.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<BAY004-OMC2S9.hotmail.com>

I have used the command to reconfigure mail accounts.

What's happening?
 
Back
Top