store | blogs | forums | twitter | facebook | wiki | downloads | support portal
Atomic Secure Linux
It is currently Fri Aug 01, 2014 8:21 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Update qmail-scanner brokes the mail
Unread postPosted: Tue Apr 12, 2011 1:47 pm 
Offline
Forum Regular
Forum Regular

Joined: Thu May 07, 2009 12:46 pm
Posts: 285
Hello,

i did aa update qmail-scanner but it broked the mail:

Code:
root      6568  0.2  0.0 106560  9248 ?        S    20:45   0:00 /usr/bin/perl -w /usr/bin/psmon --daemon --cron
qscand    9835  0.2  0.0 105492  8720 ?        S    20:48   0:00 /usr/bin/perl -T /dev/fd/3//var/qmail/bin/qmail-scanner-queue.pl
qscand    9869  0.0  0.0 105492  7124 ?        S    20:48   0:00  \_ /usr/bin/perl -T /dev/fd/3//var/qmail/bin/qmail-scanner-queue.pl
qscand    9870  0.2  0.0  50396  8660 ?        S    20:48   0:00      \_ /usr/bin/perl -T /dev/fd/3//var/qmail/bin/qmail-scanner-queue.pl
qscand    9891  0.0  0.0  50396  7116 ?        S    20:48   0:00          \_ /usr/bin/perl -T /dev/fd/3//var/qmail/bin/qmail-scanner-queue.pl
qscand    9892  0.3  0.0  50364  8664 ?        S    20:48   0:00              \_ /usr/bin/perl -T /dev/fd/3//var/qmail/bin/qmail-scanner-queue.pl
qscand    9905  0.0  0.0  50364  7120 ?        S    20:48   0:00                  \_ /usr/bin/perl -T /dev/fd/3//var/qmail/bin/qmail-scanner-queue.pl
qscand    9906  0.3  0.0  50380  8668 ?        S    20:48   0:00                      \_ /usr/bin/perl -T /dev/fd/3//var/qmail/bin/qmail-scanner-queue.pl
qscand   10271  0.0  0.0  50380  7124 ?        S    20:48   0:00                          \_ /usr/bin/perl -T /dev/fd/3//var/qmail/bin/qmail-scanner-queue.pl
qscand   10272  0.3  0.0  50520  8748 ?        S    20:48   0:00                              \_ /usr/bin/perl -T /dev/fd/3//var/qmail/bin/qmail-scanner-queue.pl
qscand   10280  0.0  0.0  50520  7208 ?        S    20:48   0:00                                  \_ /usr/bin/perl -T /dev/fd/3//var/qmail/bin/qmail-scanner-queue.pl
qscand   10281  0.3  0.0  50516  8748 ?        S    20:48   0:00                                      \_ /usr/bin/perl -T /dev/fd/3//var/qmail/bin/qmail-scanner-queue.p
qscand   10289  0.0  0.0  50516  7208 ?        S    20:48   0:00                                          \_ /usr/bin/perl -T /dev/fd/3//var/qmail/bin/qmail-scanner-que
qscand   10290  0.3  0.0  50484  8748 ?        S    20:48   0:00                                              \_ /usr/bin/perl -T /dev/fd/3//var/qmail/bin/qmail-scanner
qscand   10299  0.0  0.0  50484  7204 ?        S    20:48   0:00                                                  \_ /usr/bin/perl -T /dev/fd/3//var/qmail/bin/qmail-sca
qscand   10300  0.3  0.0  50516  8752 ?        S    20:48   0:00                                                      \_ /usr/bin/perl -T /dev/fd/3//var/qmail/bin/qmail
qscand   10310  0.0  0.0  50516  7208 ?        S    20:48   0:00                                                          \_ /usr/bin/perl -T /dev/fd/3//var/qmail/bin/q
qscand   10311  0.3  0.0  50488  8752 ?        S    20:48   0:00                                                              \_ /usr/bin/perl -T /dev/fd/3//var/qmail/b
qscand   10319  0.0  0.0  50488  7208 ?        S    20:48   0:00                                                                  \_ /usr/bin/perl -T /dev/fd/3//var/qma
qscand   10320  0.4  0.0  50480  8748 ?        S    20:48   0:00                                                                      \_ /usr/bin/perl -T /dev/fd/3//var
qscand   10328  0.0  0.0  50480  7204 ?        S    20:48   0:00                                                                          \_ /usr/bin/perl -T /dev/fd/3/
qscand   10329  0.5  0.0  50512  8752 ?        S    20:48   0:00                                                                              \_ /usr/bin/perl -T /dev/f
qscand   10338  0.0  0.0  50512  7208 ?        S    20:48   0:00                                                                                  \_ /usr/bin/perl -T



if i don't remove qmail scanner my server will be broke and need a reboot

Any solotion because i had removed my qmail scanner my mail isn't working anymore


Top
 Profile  
 
 Post subject: Re: Update qmail-scanner brokes the mail
Unread postPosted: Wed May 25, 2011 1:15 pm 
Offline
Forum Regular
Forum Regular

Joined: Sun Mar 29, 2009 6:52 pm
Posts: 350
Ok first of all....

I have the same problem. Ever since I installed qmail scanner I can't remove it.
If you remove it it breaks the qmail mailserver and whatever you do it wont fix. I did anything you can imagine.
So you are one more hostage of the qmail scanner. Reinstall it and workaround with the qmail scanner config file. I disabled one or two things and I got it running normally ...

Also just today I had to update it because together with clamd it took all the resources of the system causing a load of 88 yes that is correct 88 and everything went down. I had to login using serial console to kill the damn proccesses of perl used by qscand.

Now things have gone back to normal. I hope I don't have a problem again.

I regret the day and the moment I installed the damn thing.

I also asked from scott and mike on an older post to tell me a way of uninstalling this thing without breaking the mailserver but they didn't get back to me.

I think this programm is even worse than microsoft windows :shock:

_________________
Hello IT.
Phone : Blah Blah ....
Have you tried turning it on and off again ?
Phone : Blah Blah ....
....
I'm sorry, are you from the Past ?!
http://www.youtube.com/watch?v=-E4fm4Wqego


Top
 Profile  
 
 Post subject: Re: Update qmail-scanner brokes the mail
Unread postPosted: Wed May 25, 2011 2:43 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7879
Location: earth
That would be: yum remove qmail-scanner. And if that doesn't work I'd need to know what the error is.

Remember: 100% of the bugs that go unreported, go unfixed.


Top
 Profile  
 
 Post subject: Re: Update qmail-scanner brokes the mail
Unread postPosted: Wed May 25, 2011 2:52 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
User avatar

Joined: Thu Feb 07, 2008 7:49 pm
Posts: 3609
Location: Chantilly, VA
https://www.atomicorp.com/wiki/index.php/Qmail-scanner

_________________
Michael Shinn
Atomicorp - Security For Everyone

Co-Author of Troubleshooting Linux Firewalls.


Top
 Profile  
 
 Post subject: Re: Update qmail-scanner brokes the mail
Unread postPosted: Thu May 26, 2011 5:33 am 
Offline
Forum Regular
Forum Regular

Joined: Sun Mar 29, 2009 6:52 pm
Posts: 350
Mike I have seen this wiki. But thanks anyway for your reply on this issue.

scott wrote:
That would be: yum remove qmail-scanner. And if that doesn't work I'd need to know what the error is.

Remember: 100% of the bugs that go unreported, go unfixed.


Hi Scott.

Thanks for replying. I had a ticket opened in the past about that.
If I uninstall the qmail scanner then the mailserver will not send emails from web, will not accept connections to smtp and generally it generates many errors and goes bad.

I can give you access if you want to take a look at it as well. I am afraid to attempt to uninstall it again because last time it caused me a chaos.
Maybe qmail scanner is a good app since it scans the emails but I feel it needs in our cases further documentation and search in what happens and conflicts with plesk.

Generally it is annoying that all servers by default send dozens of emails with errors every day especially with the emails.
I get all kinds of error about the email queue, spamassassin, qmail scanner. My own boxes are spamming me ! :P
I never even understood why this errors occur and I am sure I am not the only one having these errors. Anyone who has plesk and asl installed together surely gets these errors.

While if the system has no plesk installed and ASL no errors !

We know asl rules. And we know plesk has very deep issues with its own existense.
If you could help us manage, solve some minor problems like this which are lying around for a heck of a long time it would have been awesome.

_________________
Hello IT.
Phone : Blah Blah ....
Have you tried turning it on and off again ?
Phone : Blah Blah ....
....
I'm sorry, are you from the Past ?!
http://www.youtube.com/watch?v=-E4fm4Wqego


Top
 Profile  
 
 Post subject: Re: Update qmail-scanner brokes the mail
Unread postPosted: Thu May 26, 2011 9:39 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7879
Location: earth
So what kind of error message do you get when you remove it?


Top
 Profile  
 
 Post subject: Re: Update qmail-scanner brokes the mail
Unread postPosted: Thu May 26, 2011 11:32 am 
Offline
Forum Regular
Forum Regular

Joined: Thu May 07, 2009 12:46 pm
Posts: 285
I had to remove qmail scanner and reinstalled gmail after that i did a upgrade again and it seems to be ok!
The only thing is before the update everything was ok after the update i have to to reinstall qmail and qmailscanner.
That's not how i like to see a update :)


Top
 Profile  
 
 Post subject: Re: Update qmail-scanner brokes the mail
Unread postPosted: Thu May 26, 2011 11:49 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7879
Location: earth
Have you got any kind of error message from qmail I can see? This isn't much to go on at this point


Top
 Profile  
 
 Post subject: Re: Update qmail-scanner brokes the mail
Unread postPosted: Thu May 26, 2011 4:57 pm 
Offline
Forum Regular
Forum Regular

Joined: Sun Mar 29, 2009 6:52 pm
Posts: 350
scott wrote:
Have you got any kind of error message from qmail I can see? This isn't much to go on at this point


Its been almost a year. If I remember correctly when I removed qmail scanner you couldnt send messages and there was a queue write error or something like that. The same problem was existing both for webmails which would return failure and the error was shown when you were trying to send an email through outlook.

Uninstalling and reinstalling qmail didnt fix the problem. Neither fixing all permissions of qmail. Neither swapping to postfix and back to qmail. Nothing fixed the problem. I was trying for 2 days to find a solution back then.

Also it was checking mime types which caused almost all mails not to be able to be sent and marked them as bad but i disabled this from the conf and solved that problem.

Finally its been a year in which there are around 20-30 emails from ossec per day with hundreds of error lines some examples are :

Code:
1.X-Qmail-Scanner-2.08st: [server13064229417983625] mail server permanently rejected message. (#5.3.0) - Illegal seek

2.X-Qmail-Scanner-2.08st: [server13064229557983647] Unable to close pipe to /var/qmail/bin/qmail-queue.orig [61] (#4.3.0) - Illegal seek

3. spamd[2868]: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile /var/qmail/mailnames///.spamassassin/auto-whitelist.lock.plesk.javing.eu.2868 for /var/qmail/mailnames///.spamassassin/auto-whitelist.lock: No such file or directory
 

_________________
Hello IT.
Phone : Blah Blah ....
Have you tried turning it on and off again ?
Phone : Blah Blah ....
....
I'm sorry, are you from the Past ?!
http://www.youtube.com/watch?v=-E4fm4Wqego


Top
 Profile  
 
 Post subject: Re: Update qmail-scanner brokes the mail
Unread postPosted: Thu May 26, 2011 5:24 pm 
Offline
Forum Regular
Forum Regular

Joined: Wed Mar 19, 2008 10:22 pm
Posts: 109
nobody wrote:
Its been almost a year. If I remember correctly when I removed qmail scanner you couldnt send messages and there was a queue write error or something like that. The same problem was existing both for webmails which would return failure and the error was shown when you were trying to send an email through outlook.


I also experienced a similar problem trying to uninstall qmail-scanner. Unfortunately, it was always over a year ago now so I don't have anything specific.

The difference for me, was that switching to Postfix and then back to Qmail fixed my problem.


Top
 Profile  
 
 Post subject: Re: Update qmail-scanner brokes the mail
Unread postPosted: Thu May 26, 2011 6:01 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
User avatar

Joined: Thu Feb 07, 2008 7:49 pm
Posts: 3609
Location: Chantilly, VA
Code:
2.X-Qmail-Scanner-2.08st: [server13064229557983647] Unable to close pipe to /var/qmail/bin/qmail-queue.orig [61] (#4.3.0) - Illegal seek


Did you check to make sure this wasnt a Plesk included condition? I distinctly recall a Parallels update that caused this many years ago.

_________________
Michael Shinn
Atomicorp - Security For Everyone

Co-Author of Troubleshooting Linux Firewalls.


Top
 Profile  
 
 Post subject: Re: Update qmail-scanner brokes the mail
Unread postPosted: Fri May 27, 2011 9:42 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7879
Location: earth
Yeah I know for a fact the Illegal Seek error message is coming from the plesk handler system, qmail-scanner is just in a place to report the message.


Top
 Profile  
 
 Post subject: Re: Update qmail-scanner brokes the mail
Unread postPosted: Fri May 27, 2011 12:44 pm 
Offline
Forum Regular
Forum Regular

Joined: Sun Mar 29, 2009 6:52 pm
Posts: 350
mikeshinn wrote:
Code:
2.X-Qmail-Scanner-2.08st: [server13064229557983647] Unable to close pipe to /var/qmail/bin/qmail-queue.orig [61] (#4.3.0) - Illegal seek


Did you check to make sure this wasnt a Plesk included condition? I distinctly recall a Parallels update that caused this many years ago.


scott wrote:
Yeah I know for a fact the Illegal Seek error message is coming from the plesk handler system, qmail-scanner is just in a place to report the message.



Thanks for the replies once again.

Well I tried about 2 or 3 patches parallels dispatched which were supposed to fix such errors that I experience. I downloaded a different queue file and changed it with the original according to the patches and instructions.
Offcourse as I said I don't actually remember which ones I tried but again this didn't resolve my problem.
Thank god I had the original queue file since parallels patches wouldn't do anything more than totally destructing the mail server.

spaceout wrote:
I also experienced a similar problem trying to uninstall qmail-scanner. Unfortunately, it was always over a year ago now so I don't have anything specific.

The difference for me, was that switching to Postfix and then back to Qmail fixed my problem.


Weird. I tried this switching at least 5 times. I was in a paranoid state of mind back then.
Ahmmm ... Were you back then using greylisting ?
I had greylisting enabled before even installing the qmail scanner.

_________________
Hello IT.
Phone : Blah Blah ....
Have you tried turning it on and off again ?
Phone : Blah Blah ....
....
I'm sorry, are you from the Past ?!
http://www.youtube.com/watch?v=-E4fm4Wqego


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group