Applicable to:
- Plesk for Linux
Symptoms
-
It is not possible to send mails from the Plesk Server
-
In logfile
/var/log/maillog
the following records are found:CONFIG_TEXT: Jan 20 16:47:45 test_vm postfix/trivial-rewrite[5708]: warning: transport_maps lookup failure
Jan 20 16:47:45 test_vm postfix/trivial-rewrite[5708]: warning: hash:/var/spool/postfix/plesk/transport is unavailable. open database /var/spool/postfix/plesk/transport.db: Invalid argument
Jan 20 16:47:45 test_vm postfix/trivial-rewrite[5708]: warning: hash:/var/spool/postfix/plesk/transport lookup error for "jdoe@example2.com"
Jan 20 16:47:45 test_vm postfix/trivial-rewrite[5708]: warning: transport_maps lookup failure
Jan 20 16:47:45 test_vm postfix/smtpd[5877]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 451 4.3.0 mailbox@example.com: Temporary lookup failure; from=mailbox@example.com to=jdoe@example2.com proto=ESMTP helo=<testserver.test>
Cause
Corrupted Postfix package.
Resolution
-
Connect to the server via SSH
-
Backup Postfix configuration files:
# mv /etc/postfix/main.cf /root/main.cf.saved
# mv /etc/postfix/master.cf /root/master.cf.saved -
Switch Mail Transfer Agent(MTA) from Postfix to Qmail and back to Postfix that is described in [How to] How to define which MTA is used in Plesk and how to switch from QMail to Postfix and back
-
Restore mail configuration:
# /usr/local/psa/admin/sbin/mchk --with-spam
Comments
4 comments
Hello,
we run postfix on ubuntu 18.04 with ersion 17.8.11 Update #41
---
We do have that problem every 2 to 5 days
Hi @andreas gstrein!
Well, it's weird that the issue occurs so often
I suggest creating a request to the Support Department to take a look at this issue:
Plesk Support | Create a request
yeah nasty!
we will move to qmail
Hello @andreas,
Thank you for the information.
In case deeper investigation is required, consider submitting a request to Plesk Support (to us or to our partner in case the license was purchased from them).
Please sign in to leave a comment.