This article is for Parallels Plesk versions 10.4 and later.
For earlier versions, see this article:
The following error is found in
postfix/smtpd: NOQUEUE: milter-reject: CONNECT from unknown[IP]: 451 4.7.1 Service unavailable - try again later; proto=SMTP
There is a suspected issue with mail handlers. How can they be recreated?
- Nothing appears in the
Since Plesk 10.4, mail handlers are stored in the SQLite database file
To check if mail handlers exist on your server:
# /usr/local/psa/admin/sbin/mail_handlers_control --list
You can even temporarily enable 'SpamAssassin' or 'DrWeb' and send an email to a mailbox on your server (locally):
server4:~# mail firstname.lastname@example.org Subject: test test . Cc: server4:~#
Then, examine the maillog to see if the mail handlers are executed:
# tail /usr/local/psa/var/log/maillog | grep qmail-queue-handlers Mar 29 09:32:23 server4 qmail-queue-handlers... ...
If you still need to recreate mail handlers:
mchkto regenerate mail handlers:
# /usr/local/psa/admin/sbin/mchk --with-spam ==> Checking for: mailsrv_conf_init... ok ==> Checking for: mail_handlers_init... ok ==> Checking for: mailsrv_entities_dump... ok ==> Checking for: mail_admin_aliases... ok ==> Checking for: mail_auth_dump... ok ==> Checking for: mailman_lists_dump... ok ==> Checking for: mail_kav8_restore... ok ==> Checking for: mail_responder_restore... ok ==> Checking for: mail_spam_restore... ok ==> Checking for: mail_grey_restore... ok ==> Checking for: mail_mailbox_restore... ok ==> Checking for: mail_spf_restore... ok ==> Checking for: mail_dk_restore... ok ==> Checking for: mail_drweb_restore... ok #
- Check that the mail handlers were created and that they are applied as described in the Diagnostics section above.