store | blogs | forums | twitter | facebook | wiki | downloads | support portal
Atomic Secure Linux
It is currently Tue Jul 29, 2014 2:39 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 43 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
Unread postPosted: Mon Nov 21, 2011 1:10 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
After upgrading Plesk 9.5.4 to 10.4.4 e-mail was no longer being scanned by qmail-scanner. I tried reinstalling qmail-scanner and qmail-scanner-reconfigure, but now the server gets overloaded with /usr/bin/perl -T /dev/fd/3//var/qmail/bin/qmail-scanner-queue.pl processes as soon as SMTP gets enabled. Any ideas?

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
Unread postPosted: Mon Nov 21, 2011 1:31 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7874
Location: earth
yeah dont use plesk 10.4.4 :P


Top
 Profile  
 
 Post subject: Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
Unread postPosted: Mon Nov 21, 2011 1:51 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
This post provided the fix: http://linuxhostingsupport.net/blog/tag ... e-group-id

Code:
chown mhandlers-user.popuser /var/qmail/bin/qmail-queue
chmod 2511 /var/qmail/bin/qmail-queue

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
Unread postPosted: Mon Nov 21, 2011 1:52 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
scott wrote:
yeah dont use plesk 10.4.4 :P


Anything in particular you don't like about Plesk 10.4.4 or were you just trying to be funny?

Mail worked fine after reinstalling Plesk's qmail stack. Reinstalling qmail-scanner was what broke it again. Which is a little strange because we've done a bunch of fresh installs of Plesk 10 and have installed qmail-scanner on those servers without problems.

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
Unread postPosted: Mon Nov 21, 2011 10:30 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7874
Location: earth
You know I try to care about their madness, then I find stuff like this:

http://www.mozilla.org/en-US/firefoxlive/#


Top
 Profile  
 
 Post subject: Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
Unread postPosted: Mon Nov 28, 2011 11:02 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
It seems the upgrading Plesk 10.3.1 to Plesk 10.4.4 also breaks qmail-scanner.

Do the following commands to fix this:

1. Run yum remove qmail-scanner
2. Run /usr/local/psa/admin/bin/autoinstaller and switch to Postfix.
3. Run /usr/local/psa/admin/bin/autoinstaller again and switch back to Qmail.
4. Run /usr/local/psa/admin/sbin/mchk
5. Run yum install qmail-scanner

If anyone knows of an easier way to get qmail-scanner back to life I'd love to hear it. Simply reinstalling the qmail-scanner package doesn't work and even results in more and more nested and hanging qmail-scanner processes which will eventually kill the server.

If removing qmail-scanner left /etc/qmail-scanner.ini.rpmsave behind then run the following to get back your old settings:

Code:
mv /etc/qmail-sacnner.ini.rpmsave /etc/qmail-scanner.ini
qmail-scanner-reconfigure

_________________
Lemonbit Internet Dedicated Server Management


Last edited by breun on Thu Jan 19, 2012 5:37 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
Unread postPosted: Wed Nov 30, 2011 5:22 am 
Offline
Forum User
Forum User

Joined: Tue Jul 19, 2011 6:30 am
Posts: 69
Location: United Kingdom
We are on 10.4.4 and have had problems with qmail-scanner... we used to get the mail subject come up in the mail log, but no longer do. How can we check if we have the same issue?

Thanks


Top
 Profile  
 
 Post subject: Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
Unread postPosted: Wed Nov 30, 2011 5:52 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
Check the mailheaders on e-mails that are received by mailboxes on your server. Do they have a header saying the e-mail was scanned by qmail-scanner?

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
Unread postPosted: Wed Nov 30, 2011 8:37 am 
Offline
Forum User
Forum User

Joined: Tue Jul 19, 2011 6:30 am
Posts: 69
Location: United Kingdom
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10)
X-Spam-Level:
X-Spam-Status: No, score=-4.4 required=3.0 tests=AWL,BAYES_00,EXTRA_MPART_TYPE,
HTML_MESSAGE,MIME_BASE64_TEXT,RCVD_IN_DNSWL_MED autolearn=ham version=3.2.5
Received: (qmail 13341 invoked by uid 110); 30 Nov 2011 12:24:34 +0000
Delivered-To:
Received: (qmail 13332 invoked from network); 30 Nov 2011 12:24:34 +0000
Received: from
Received:Wed, 30 Nov 2011 12:15:12 GMT
Received:Wed, 30 Nov 2011 12:15:09 GMT
X-rim-org-msg-ref-id:
Message-ID: <
Reply-To:
X-Priority: Normal
References: <00$82651870$@com>
In-Reply-To: <00b2d0$82651870$@com>
Sensitivity: Normal
Importance: Normal
Subject:
To:

From:
Date: Wed, 30 Nov 2011 12:15:31 +0000
Content-Type: multipart/related; type="multipart/alternative";
MIME-Version: 1.0


It appears not. :(


Top
 Profile  
 
 Post subject: Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
Unread postPosted: Wed Nov 30, 2011 3:05 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
The workaround I posted above should fix that. I don't know what the workaround fixes exactly yet, so I don't know if there is an easier way.

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
Unread postPosted: Mon Dec 05, 2011 11:27 am 
Offline
Forum User
Forum User

Joined: Tue Jul 19, 2011 6:30 am
Posts: 69
Location: United Kingdom
Thanks Breun! Worked a treat.


Top
 Profile  
 
 Post subject: Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
Unread postPosted: Tue Dec 20, 2011 1:13 pm 
Offline
Forum User
Forum User

Joined: Fri Nov 30, 2007 8:46 pm
Posts: 6
Thanks Bruen worked for me too! I was upgrading from Plesk 10.3.1 to 10.4.4 Dec 19, and got the runaway processes with qmail-scanner.

I am too dumb to understand why it works, but I trust your solutions to get me going again!

Thanks!


Top
 Profile  
 
 Post subject: Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
Unread postPosted: Thu Jan 19, 2012 5:33 pm 
Offline
Forum User
Forum User

Joined: Thu Jan 08, 2009 4:31 am
Posts: 24
Location: Fort Worth, TX
I am having the same trouble and none of these solutions helped.

It's been infuriating --

If I swap between postfix and qmail - the errors are still there.
After mchk, errors are still there.
Installing qmail-scanner again? Server launches 1,000s of child processes until it hangs.

I've seen the permissions solution all over the internet also, and wow. Simply doesn't work.

Anyone around to reach out incase I cannot solve this?

--

BTW - when swapped to postfix, I get:


Jan 19 15:36:01 server /usr/lib64/plesk-9.0/psa-pc-remote[11710]: mkstemp(/usr/local/psa/handlers/spool/mlfi.secssV) failed: No such file or directory

--

Which is essentially the same error about permissions...


Last edited by AntiochInteractive on Thu Jan 19, 2012 6:20 pm, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
Unread postPosted: Thu Jan 19, 2012 5:36 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
Did you follow the exact steps I posted above? Not pretty, but worked every time for us.

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: Upgrade Plesk 9.5.4 to 10.4.4 breaks qmail-scanner
Unread postPosted: Thu Jan 19, 2012 6:11 pm 
Offline
Forum User
Forum User

Joined: Thu Jan 08, 2009 4:31 am
Posts: 24
Location: Fort Worth, TX
breun wrote:
Did you follow the exact steps I posted above? Not pretty, but worked every time for us.


Yes, and multiple times.

remove qmail-scanner (which I'm not adding back)
autoinstaller - postfix
autoinstaller - qmail
mchk
service qmail start

no dice.

--

Jan 19 16:12:30 server qmail-queue-handlers[1686]: cannot create temporary file - (2) No such file or directory
Jan 19 16:12:30 server qmail-queue-handlers[1686]: cannot read message from stdin
Jan 19 16:12:30 server qmail: 1327011150.202806 warning: trouble injecting bounce message, will try later
Jan 19 16:12:30 server qmail-queue-handlers[1687]: Handlers Filter before-queue for qmail started ...
Jan 19 16:12:30 server qmail-queue-handlers[1687]: cannot create temporary file - (2) No such file or directory
Jan 19 16:12:30 server qmail-queue-handlers[1687]: cannot read message from stdin
Jan 19 16:12:30 server qmail: 1327011150.210871 warning: trouble injecting bounce message, will try later
Jan 19 16:12:30 server qmail-queue-handlers[1688]: Handlers Filter before-queue for qmail started ...
Jan 19 16:12:30 server qmail-queue-handlers[1688]: cannot create temporary file - (2) No such file or directory
Jan 19 16:12:30 server qmail-queue-handlers[1688]: cannot read message from stdin
Jan 19 16:12:30 server qmail: 1327011150.218977 warning: trouble injecting bounce message, will try later
Jan 19 16:12:30 server qmail-queue-handlers[1689]: Handlers Filter before-queue for qmail started ...
Jan 19 16:12:30 server qmail-queue-handlers[1689]: cannot create temporary file - (2) No such file or directory
Jan 19 16:12:30 server qmail-queue-handlers[1689]: cannot read message from stdin
Jan 19 16:12:30 server qmail: 1327011150.227035 warning: trouble injecting bounce message, will try later
Jan 19 16:12:30 server qmail-queue-handlers[1690]: Handlers Filter before-queue for qmail started ...
Jan 19 16:12:30 server qmail-queue-handlers[1690]: cannot create temporary file - (2) No such file or directory
Jan 19 16:12:30 server qmail-queue-handlers[1690]: cannot read message from stdin
Jan 19 16:12:30 server qmail: 1327011150.235518 warning: trouble injecting bounce message, will try later
Jan 19 16:12:30 server qmail-queue-handlers[1691]: Handlers Filter before-queue for qmail started ...
Jan 19 16:12:30 server qmail-queue-handlers[1691]: cannot create temporary file - (2) No such file or directory
Jan 19 16:12:30 server qmail-queue-handlers[1691]: cannot read message from stdin


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 43 posts ]  Go to page 1, 2, 3  Next

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group