Search

Search for:
Language:  

No categories for selected product

I cannot send any mail from the server even via command line. The following error occurs: "PERM_FAILURE: SMTP Error (state 13): 554 mail server permanently rejected message (#5.3.0)"

Article ID: 836 
Last Review: Apr, 16 2012
Views:
APPLIES TO:
  • Parallels Plesk Panel 8.x for Linux/Unix
  • Plesk 7.5.x Reloaded

Symptoms

During the test, mail is bounced back with the following error:

    Delivery to the following recipient failed permanently: test@domain.com
Technical details of permanent failure: PERM_FAILURE: SMTP Error (state 13): 554 mail server     permanently rejected message (#5.3.0)


Or you see this error in the maillog:

warning: trouble injecting bounce message, will try later

Resolution

This is a kind of permission error. Check "/usr/local/psa/var/log/maillog" for errors. This usually happens when there are incorrect permissions on qmail binary files, such as:



# ls -l /var/qmail/bin/qmail-queue*
-r-xr-xr-x 1 drweb qmail 158268 Aug 16 11:08 /var/qmail/bin/qmail-queue
-r-xr-xr-x 1 root qmail 158268 Sep 13 2004 /var/qmail/bin/qmail-queue.drweb
-r-xr-xr-x 1 root qmail 12044 Aug 17 13:57 /var/qmail/bin/qmail-queue.origin


The permissions must be:


# ls -la /var/qmail/bin/qmail-queue*
-r-s--x--x 1 drweb qmail 161024 Oct 11 13:31 /var/qmail/bin/qmail-queue
-r-s--x--x 1 drweb qmail 161024 Oct 11 13:31 /var/qmail/bin/qmail-queue.drweb
-r-s--x--x 1 qmailq qmail 16012 Aug 24 13:21 /var/qmail/bin/qmail-queue.origin


Otherwise, files in the qmail queue are created with incorrect permissions and qmail can't write to the "drweb temp" directory.

Fix permissions for the queue files with the following command:

for i in /var/qmail/queue/mess/*; do chown qmailq:qmail $i/*;done



If you have Dr.Web installed on the server, read article #1552.






Email subscription for changes to this article Email subscription for changes to this article

Please provide feedback on this article

* Did this article help you solve your issue?
Yes
No
What can we do to improve this article?

PLEASE NOTE: Knowledge Base feedback is reviewed occasionally and we do not reply to most of the individual comments. Please contact us using one of the Support channels for a response to any support inquiries. We appreciate your feedback.

Subscribe me for article updates. My email
 
 
 
 
 
 
For Home
For Hosters
For SaaS
For IaaS
For Developers
For Health Care
 
Desktop Virtualization
- Parallels Desktop 7 for Mac
- Parallels Transporter
- Parallels Mobile
- Parallels Desktop Switch to Mac Edition
- Parallels Workstation
- Parallels Workstation Extreme
- Parallels Desktop for Mac Enterprise Edition
Server Virtualization
- Parallels Server for Mac 4.0
- Parallels Server for Mac 4.0 Mac mini Edition
- Parallels Server for Mac Bare Metal Edition
- Parallels Server Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Automation for Cloud Infrastructure
- Parallels Business Automation
- Parallels Business Automation Standard
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
- Parallels Small Business Panel
- Parallels Domain/SSL Reseller Program
- Parallels Partner Storefront
More Products