• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Qmail: message delivered OK, but "failure notices" are repeatedly sent

Status
Not open for further replies.

DanijelD

Basic Pleskian
Something went wrong with Qmail after I installed few fixes to Plesk.

Qmail delivers email message, but sends "failure notice" anyway

Hi. This is the qmail-send program at server1.MyDomain.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<[email protected]>:

--- Below this line is a copy of the message.

Return-Path: <[email protected]>
Received: (qmail 19916 invoked from network); 12 Nov 2013 15:47:45 +0100
Received: from 93-136-17-153.adsl.net.t-com.hr (HELO DanijelPC) (93.136.17.153)
by mydomain.com with ESMTPSA (RC4-MD5 encrypted, authenticated); 12 Nov 2013 15:47:45 +0100
From: [email protected]
To: [email protected]
References: <[email protected]>
In-Reply-To: <[email protected]>
Subject: RE: test
Date: Tue, 12 Nov 2013 15:47:33 +0100
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQEilo8lXdNBjhxXUH7DVyYqfdkeSpt6PxkA
Content-Language: hr

test



I get this "failure notice" every 2 minutes.

The mail is received so why is it sending failure notices?
What could be wrong?
 
Maybe this part from maillog helps:

Code:
Nov 12 15:55:39 MyDomain qmail-local-handlers[9329]: Handlers Filter before-local for qmail started ...
Nov 12 15:55:39 MyDomain qmail-queue-handlers[9330]: Handlers Filter before-queue for qmail started ...
Nov 12 15:55:39 MyDomain qmail-queue-handlers[9330]: from=#@[]
Nov 12 15:55:39 MyDomain qmail-local-handlers[9329]: from=#@[]
Nov 12 15:55:39 MyDomain qmail-queue-handlers[9330]: [email protected]
Nov 12 15:55:39 MyDomain qmail-local-handlers[9329]: [email protected]
Nov 12 15:55:39 MyDomain qmail-local-handlers[9329]: mailbox: /var/qmail/mailnames/MyDomain.com 
Nov 12 15:55:39 MyDomain qmail-queue-handlers[9335]: Error during 'check-quota' handler
Nov 12 15:55:39 MyDomain qmail-queue-handlers[9330]: handlers_stderr: Mail handler call failed. Error occured during execv(/usr/local/psa/handlers/hooks/check-quota): Permission denied. 
Nov 12 15:55:39 MyDomain qmail-queue-handlers[9334]: Handlers Filter before-queue for qmail started ...
Nov 12 15:55:39 MyDomain qmail-queue-handlers[9334]: from=#@[]
Nov 12 15:55:39 MyDomain qmail-queue-handlers[9334]: [email protected]
Nov 12 15:55:39 MyDomain qmail-queue-handlers[9338]: Error during 'check-quota' handler
Nov 12 15:55:39 MyDomain qmail-queue-handlers[9334]: handlers_stderr: Mail handler call failed. Error occured during execv(/usr/local/psa/handlers/hooks/check-quota): Permission denied. 
Nov 12 15:55:39 MyDomain qmail-queue-handlers[9335]: starter: submitter[9336] exited normally
Nov 12 15:55:39 MyDomain qmail-queue-handlers[9330]: PASS during call 'check-quota' handler
Nov 12 15:55:39 MyDomain qmail-queue-handlers[9330]: Unable to rename '/usr/local/psa/handlers/spool/messageMvCEqN' file: No such file or directory
Nov 12 15:55:39 MyDomain qmail-queue-handlers[9330]: files: cannot open file /usr/local/psa/handlers/spool/messageMvCEqN with message - No such file or directory
Nov 12 15:55:39 MyDomain qmail-queue-handlers[9330]: mailsend: cannot write message from file to submitter /var/qmail/bin/qmail-queue.moved
Nov 12 15:55:39 MyDomain qmail-queue-handlers[9330]: starter: submitter[9340] terminates abnormally with status 255
Nov 12 15:55:39 MyDomain qmail-queue-handlers[9330]: mailsend: wait for submitter failed
Nov 12 15:55:39 MyDomain qmail-queue-handlers[9330]: cannot reinject message to mail system
Nov 12 15:55:39 MyDomain qmail: 1384268139.497655 warning: trouble injecting bounce message, will try later
Nov 12 15:55:39 MyDomain qmail: 1384268139.497863 triple bounce: discarding bounce/42439857
Nov 12 15:55:39 MyDomain qmail: 1384268139.497903 end msg 42439857
Nov 12 15:55:39 MyDomain qmail-remote-handlers[9341]: Handlers Filter before-remote for qmail started ...

?
 
Fixed it.

Seems like Plesk messed up some folder permissions.

I had to change permissions to "handlers" and "hooks" folders to 755. Now it works.
 
Status
Not open for further replies.
Back
Top