• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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.

<someone@MyDomain.com>:

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

Return-Path: <me@MyDomain.com>
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: me@MyDomain.com
To: someone@MyDomain.com
References: <52823F12.2000402@mydomain.com>
In-Reply-To: <52823F12.2000402@mydomain.com>
Subject: RE: test
Date: Tue, 12 Nov 2013 15:47:33 +0100
Message-ID: <000301cedfb6$1f303ce0$5d90b6a0$@mydomain.com>
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]: to=postmaster@MyDomain.com
Nov 12 15:55:39 MyDomain qmail-local-handlers[9329]: to=postmaster@MyDomain.com
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]: to=MyName@gmail.com
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