Page 1 of 1

Plesk 9.3.0 & Qmail Scanner - Unable to open pipe

Posted: Thu Jan 14, 2010 8:43 am
by koolnyze
Hello,

My VPS server got updated to plesk 9.3.0 from 9.2.3 and the qmail stopped delivering email. In maillog it shows Unable to open pipe to /var/qmail/bin/qmail-queue.orig
I updated qmail-scanner (qmail-scanner-2.08-1.el5.art) and reset the permission of qmail-queue and the mails started getting delivered but the delivery is very slow. In the logs it shows the following error.

qmail-queue-handlers[18109]: Handlers Filter before-queue for qmail started ...
qmail-queue-handlers[18109]: Unable to get 'From:' string from SMTP session
X-Qmail-Scanner-2.01st: [xxxxxxxxxxxxxxxxxxxxxxxxxxxx126346123176318086] Unable to open pipe to /var/qmail/bin/qmail-queue.orig [54] (#4.3.0) -
X-Qmail-Scanner-2.01st: [xxxxxxxxxxxxxxxxxxxxxxxxxxxx126346123176318086] Unable to close pipe to /var/qmail/bin/qmail-queue.orig [54] (#4.3.0) - Illegal seek

I am running Virtuozzo plesk 9.3.0 over CentOS 5.4

Re: Plesk 9.3.0 & Qmail Scanner - Unable to open pipe

Posted: Fri Jan 15, 2010 9:02 am
by BruceLee
what does
telnet localhost 25
say?

Re: Plesk 9.3.0 & Qmail Scanner - Unable to open pipe

Posted: Fri Jan 15, 2010 10:06 am
by scott
sounds like the wrapper got overwritten or something. Usually reinstalling psa-qmail and then qmail-scanner will fix that.

Re: Plesk 9.3.0 & Qmail Scanner - Unable to open pipe

Posted: Sun Jan 17, 2010 12:53 pm
by breun
I'm seeing this problem as well after upgrading to Plesk 9.3.0. The CPU usage of clamd is also through the roof on some machines. I have tried installing several components and running things like qmail-scanner-reconfigure, but to no avail so far.

These are a few of the permissions that might be relevant:

Code: Select all

-r-xr-sr-x  1 mhandlers-user popuser   6664 Jan 17 16:57 qmail-queue
-rwsr-xr-x  1 root           root      6664 Jan 17 16:55 qmail-queue.backup
-r-s--x--x  1 qmailq         qmail    21016 Dec 30 02:09 qmail-queue.moved
-rwsr-xr-x  1 qmailq         qmail    74920 Dec 30 02:12 qmail-queue.orig
-rwsr-xr-x  1 root           root     74920 Jan 17 16:55 qmail-queue.orig.backup
-r-x--s--x  1 mhandlers-user popuser  71608 Dec 30 02:12 qmail-remote
-r-xr-xr-x  1 root           qmail    55320 Dec 30 02:09 qmail-remote.moved
-r-xr-xr-x  1 root           qmail    19128 Dec 30 02:09 qmail-rspawn
-rwsr-xr-x  1 qscand         qscand  160143 Jan 17 17:18 qmail-scanner-queue.pl
Anything strange here?

Re: Plesk 9.3.0 & Qmail Scanner - Unable to open pipe

Posted: Sun Jan 17, 2010 1:21 pm
by breun
scott wrote:Usually reinstalling psa-qmail and then qmail-scanner will fix that.
I did that, but it didn't help.

Re: Plesk 9.3.0 & Qmail Scanner - Unable to open pipe

Posted: Sun Jan 17, 2010 5:59 pm
by breun
By the way, I'm also seeing clamd taking up lots of CPU cycles. Is that something others are seeing as well? I haven't been able to figure out whether this is directly related to these qmail-scanner error messages.

koolnyze, I see you're still on qmail-scanner 2.01. I'm running with qmail-scanner 2.08 (current version in the atomic channel), but otherwise I'm seeing the same error messages.

Re: Plesk 9.3.0 & Qmail Scanner - Unable to open pipe

Posted: Sun Jan 17, 2010 6:50 pm
by breun
Ok, I fixed that clamd load problem. Doesn't look like it's related to the 'Unable to open pipe' messages, because I'm still seeing those. By the way, mail delivery *appears* to work just fine, despite those disturbing pipe messages.

Re: Plesk 9.3.0 & Qmail Scanner - Unable to open pipe

Posted: Mon Feb 01, 2010 5:57 pm
by DarkF@der
breun

i have updated also to 9.3.0
and have the same problem can you tell me how you have fixed that problem

the parallels team tells me to use patch /var/qmail/bin/qmail-queue

http://forum.parallels.com/showthread.php?t=98074

but if i do that spamassassin and qmailscanner stop working and when i try

Code: Select all

/usr/share/qmail-scanner/qmail-scanner-reconfigure.psa
it's sayed it's configured oke

but still is broke.... :cry:
spamassassin and qmailscanner wil stop working....

so can you tell me how you fixed the

Code: Select all

qmail-queue-handlers[10326]: Unable to get 'From:' string from SMTP session 
Unable to close pipe to /var/qmail/bin/qmail-queue.orig [54] (#4.3.0) - Illegal seek
error???


Thnx in advanced

Re: Plesk 9.3.0 & Qmail Scanner - Unable to open pipe

Posted: Mon Feb 01, 2010 6:13 pm
by breun
I haven't fixed that, I still get those messages too. It doesn't seem to harm delivery though.

Re: Plesk 9.3.0 & Qmail Scanner - Unable to open pipe

Posted: Thu Feb 18, 2010 2:15 pm
by BruceLee
Hi breun,

could you please tell me how you solved the load problem?

Thanks

Re: Plesk 9.3.0 & Qmail Scanner - Unable to open pipe

Posted: Thu Feb 18, 2010 6:26 pm
by breun
I don't really remember what the problem was. If you see clamd loading your box, I suggest checking out your maillog to see what's happening.

Re: Plesk 9.3.0 & Qmail Scanner - Unable to open pipe

Posted: Fri Feb 19, 2010 4:10 am
by BruceLee
thanks for your quick reply. I got it handled. There were bounce mails in a loop.

Re: Plesk 9.3.0 & Qmail Scanner - Unable to open pipe

Posted: Wed Mar 24, 2010 6:05 am
by netweblogic
BTW, people that have this issue on PLESK 9 (9.3 in my case). See this fix:

http://forum.parallels.com/showthread.p ... 074&page=2

Post #24

It seemed to solve my problem as well as the missing SMTP header issue.

Re: Plesk 9.3.0 & Qmail Scanner - Unable to open pipe

Posted: Wed Mar 24, 2010 5:20 pm
by breun
I just tested that patch on CentOS 4 i386 and it seems to work. Guess I'll be rolling this out to all boxes soon.

If you're using qmail-scanner make sure you replace /var/qmail/bin/qmail-queue.orig with the patched version (and match that file's ownership and permissions) instead of /var/qmail/bin/qmail-queue.