Emails are getting stuck in the mqueue.in directory
Danny Beland
Danny_Beland at PCH.GC.CA
Mon Apr 11 19:57:55 IST 2005
[ The following text is in the "ISO-8859-1" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
That is what I was using before trying posix and I had the same problem.
Danny
-----"Chris Picciotto" <cpicciotto at kalisystems.com> wrote: -----
To: <Danny_Beland at PCH.GC.CA>
From: "Chris Picciotto" <cpicciotto at kalisystems.com>
Date: 04/11/2005 01:56PM
Subject: Re: Emails are getting stuck in the mqueue.in
directory
Hi Danny,
Sorry - I did not reply to the list. But it appears you have the
incorrect file locking type. MailScanner should be set to "flock"
not "posix" to clear the files.
Try that?
Hope it helps,
Chris
----- Original Message -----
From: Danny Beland
Newsgroups: gmane.mail.virus.mailscanner
Sent: Monday, April 11, 2005 5:24 AM
Subject: Emails are getting stuck in the mqueue.in directory
I'm running Linux with sendmail v8.12.10, MailScanner
v4.40.11, ClamAV and McAfee command line scanner. The problem
we have is that emails get stuck in the mqueue.in folder.
When there is new messages, we can see that there is some
getting stuck . In the log below we can see that it only gets
4 messages out but there is still 34 left, but after it is
done scanning, it doesn't go to grab the 34 messages left.
The content of the mqueue.in folder is listed after the
mailscanner log. I was using flock as the lock type before,
but the same problem occurs. There is also nothing in the
incoming folders. I am not sure if it is a setting that is
causing this or it is a bug. Thanks!!
Apr 11 11:04:24 hound2 MailScanner[13081]: MailScanner child
caught a SIGHUP
Apr 11 11:04:24 hound2 MailScanner[13628]: MailScanner child
caught a SIGHUP
Apr 11 11:04:24 hound2 MailScanner[13349]: MailScanner child
caught a SIGHUP
Apr 11 11:04:24 hound2 MailScanner[13185]: MailScanner child
caught a SIGHUP
Apr 11 11:04:24 hound2 MailScanner[13532]: MailScanner child
caught a SIGHUP
Apr 11 11:04:24 hound2 MailScanner[12896]: MailScanner child
caught a SIGHUP
Apr 11 11:04:24 hound2 MailScanner[13745]: MailScanner child
caught a SIGHUP
Apr 11 11:04:24 hound2 MailScanner[13869]: MailScanner child
caught a SIGHUP
Apr 11 11:04:24 hound2 MailScanner[12930]: MailScanner child
caught a SIGHUP
Apr 11 11:04:24 hound2 MailScanner[13044]: MailScanner child
caught a SIGHUP
Apr 11 11:04:30 hound2 MailScanner[14192]: MailScanner E-Mail
Virus Scanner version 4.40.11 starting...
Apr 11 11:04:30 hound2 MailScanner[14192]: Read 0 hostnames
from the phishing whitelist
Apr 11 11:04:31 hound2 MailScanner[14192]: Using locktype =
posix
Apr 11 11:04:31 hound2 MailScanner[14192]: Creating hardcoded
struct_flock subroutine for linux (Linux-type)
Apr 11 11:04:31 hound2 MailScanner[14192]: New Batch: Found
34 messages waiting
Apr 11 11:04:31 hound2 MailScanner[14192]: New Batch:
Scanning 4 messages, 26463 bytes
Apr 11 11:04:31 hound2 MailScanner[14192]: Spam Checks:
Starting
Apr 11 11:04:32 hound2 MailScanner[14192]: Message
j3BF4No5014108 from 142.195.251.129
(julie.meloche at desjardins.com) to pch.gc.ca is not spam,
SpamAssassin (score=-1.49, required 3.8, AWL 0.01, BAYES_00
-2.60, NO_REAL_NAME 0.01, PRIORITY_NO_NAME 1.10)
Apr 11 11:04:34 hound2 MailScanner[14192]: Message
j3BF4Oo4014130 from 24.201.245.36 (stephane.01 at videotron.ca)
to pc.gc.cais not spam, SpamAssassin (score=-2.514, required
3.8, autolearn=not spam, AWL 0.09, BAYES_00 -2.60)
Apr 11 11:04:35 hound2 MailScanner[14192]: Message
j3BF4Mo4014096 from 129.33.92.44
(christine at thedavisfamily.ca) to pch.gc.ca is not spam,
SpamAssassin (score=-2.292, required 3.8, BAYES_00 -2.60,
NO_REAL_NAME 0.01, SARE_WEOFFER 0.30)
Apr 11 11:04:35 hound2 MailScanner[14192]: Message
j3BF4Mo4014099 from 64.254.157.135
(louise.danjou at cossette.com) to pch.gc.ca is not spam,
SpamAssassin (score=-2.461, required 3.8, AWL 0.02, BAYES_00
-2.60, HTML_MESSAGE 0.00, HTML_TAG_EXIST_TBODY 0.11)
Apr 11 11:04:36 hound2 MailScanner[14192]: Virus and Content
Scanning: Starting
Apr 11 11:04:37 hound2 MailScanner[14192]: <A> tag found in
message j3BF4Mo4014099 from louise.danjou at cossette.com
Apr 11 11:04:37 hound2 MailScanner[14192]: Uninfected:
Delivered 4 messages
Apr 11 11:04:41 hound2 MailScanner[14219]: MailScanner E-Mail
Virus Scanner version 4.40.11 starting...
Apr 11 11:04:41 hound2 MailScanner[14219]: Read 0 hostnames
from the phishing whitelist
Apr 11 11:04:42 hound2 MailScanner[14219]: Using locktype =
posix
Apr 11 11:04:42 hound2 MailScanner[14219]: Creating hardcoded
struct_flock subroutine for linux (Linux-type)
Apr 11 11:04:52 hound2 MailScanner[14220]: MailScanner E-Mail
Virus Scanner version 4.40.11 starting...
Apr 11 11:04:52 hound2 MailScanner[14220]: Read 0 hostnames
from the phishing whitelist
Apr 11 11:04:53 hound2 MailScanner[14220]: Using locktype =
posix
Apr 11 11:04:53 hound2 MailScanner[14220]: Creating hardcoded
struct_flock subroutine for linux (Linux-type)
Apr 11 11:05:03 hound2 MailScanner[14221]: MailScanner E-Mail
Virus Scanner version 4.40.11 starting...
Apr 11 11:05:03 hound2 MailScanner[14221]: Read 0 hostnames
from the phishing whitelist
Apr 11 11:05:04 hound2 MailScanner[14221]: Using locktype =
posix
Apr 11 11:05:04 hound2 MailScanner[14221]: Creating hardcoded
struct_flock subroutine for linux (Linux-type)
Apr 11 11:05:14 hound2 MailScanner[14224]: MailScanner E-Mail
Virus Scanner version 4.40.11 starting...
Apr 11 11:05:14 hound2 MailScanner[14224]: Read 0 hostnames
from the phishing whitelist
Apr 11 11:05:15 hound2 MailScanner[14224]: Using locktype =
posix
Apr 11 11:05:15 hound2 MailScanner[14224]: Creating hardcoded
struct_flock subroutine for linux (Linux-type)
Apr 11 11:05:25 hound2 MailScanner[14227]: MailScanner E-Mail
Virus Scanner version 4.40.11 starting...
Apr 11 11:05:25 hound2 MailScanner[14227]: Read 0 hostnames
from the phishing whitelist
Apr 11 11:05:27 hound2 MailScanner[14227]: Using locktype =
posix
Apr 11 11:05:27 hound2 MailScanner[14227]: Creating hardcoded
struct_flock subroutine for linux (Linux-type)
Apr 11 11:05:36 hound2 MailScanner[14231]: MailScanner E-Mail
Virus Scanner version 4.40.11 starting...
Apr 11 11:05:36 hound2 MailScanner[14231]: Read 0 hostnames
from the phishing whitelist
Apr 11 11:05:37 hound2 MailScanner[14231]: Using locktype =
posix
Apr 11 11:05:37 hound2 MailScanner[14231]: Creating hardcoded
struct_flock subroutine for linux (Linux-type)
Apr 11 11:05:47 hound2 MailScanner[14232]: MailScanner E-Mail
Virus Scanner version 4.40.11 starting...
Apr 11 11:05:47 hound2 MailScanner[14232]: Read 0 hostnames
from the phishing whitelist
Apr 11 11:05:49 hound2 MailScanner[14232]: Using locktype =
posix
Apr 11 11:05:49 hound2 MailScanner[14232]: Creating hardcoded
struct_flock subroutine for linux (Linux-type)
Apr 11 11:05:58 hound2 MailScanner[14235]: MailScanner E-Mail
Virus Scanner version 4.40.11 starting...
Apr 11 11:05:58 hound2 MailScanner[14235]: Read 0 hostnames
from the phishing whitelist
Apr 11 11:05:59 hound2 MailScanner[14235]: Using locktype =
posix
Apr 11 11:05:59 hound2 MailScanner[14235]: Creating hardcoded
struct_flock subroutine for linux (Linux-type)
Apr 11 11:06:09 hound2 MailScanner[14236]: MailScanner E-Mail
Virus Scanner version 4.40.11 starting...
Apr 11 11:06:09 hound2 MailScanner[14236]: Read 0 hostnames
from the phishing whitelist
Apr 11 11:06:10 hound2 MailScanner[14236]: Using locktype =
posix
Apr 11 11:06:10 hound2 MailScanner[14236]: Creating hardcoded
struct_flock subroutine for linux (Linux-type)
hound2:/var/spool/mqueue.in # date
Mon Apr 11 11:09:24 EDT 2005
hound2:/var/spool/mqueue.in # ls -la
total 8847
drwx------ 3 root root 2448 Apr 11 11:04 .
drwxr-xr-x 14 root root 392 Mar 7 07:08 ..
drwx------ 2 root root 48 Apr 1 11:37 .hoststat
-rw------- 1 root mail 0 Mar 23 11:18
dfj2NEI6xL013577
-rw------- 1 root mail 28672 Mar 23 10:00
dfj2NEiZxL000663
-rw------- 1 root mail 49152 Mar 23 10:30
dfj2NFNDxL027390
-rw------- 1 root mail 8192 Mar 23 10:27
dfj2NFNRxL027535
-rw------- 1 root mail 933888 Mar 23 11:27
dfj2NGR3xL009916
-rw------- 1 root mail 45056 Mar 23 11:38
dfj2NGZbhN013223
-rw------- 1 root mail 36864 Mar 23 11:52
dfj2NGiFhN018441
-rw------- 1 root mail 16384 Mar 23 11:54
dfj2NGnNhN021755
-rw------- 1 root mail 12288 Mar 23 12:19
dfj2NHG4hN005200
-rw------- 1 root mail 36864 Mar 23 12:33
dfj2NHRChN011805
-rw------- 1 root mail 32768 Mar 23 12:34
dfj2NHTAhN012967
-rw------- 1 root mail 12288 Mar 23 12:37
dfj2NHY3hN016085
-rw------- 1 root mail 20480 Mar 23 12:45
dfj2NHiPhN022029
-rw------- 1 root mail 28672 Mar 23 12:55
dfj2NHpkhN026568
-rw------- 1 root mail 49152 Mar 23 13:10
dfj2NHsnhN028287
-rw------- 1 root mail 1294336 Mar 23 13:11
dfj2NHv6hN029541
-rw------- 1 root mail 2375680 Mar 23 13:11
dfj2NHv6hN029542
-rw------- 1 root mail 24576 Mar 23 13:10
dfj2NI1vhN032534
-rw------- 1 root mail 368640 Mar 23 13:47
dfj2NIlL9h026163
-rw------- 1 root mail 8192 Mar 24 10:55
dfj2OFsFmq028118
-rw------- 1 root mail 16384 Mar 24 10:55
dfj2OFslmq028381
-rw------- 1 root mail 28672 Mar 24 10:56
dfj2OFtpmq028984
-rw------- 1 root mail 139264 Mar 24 10:56
dfj2OFummq029645
-rw------- 1 root mail 541 Apr 1 11:35
dfj31EZ1q7006497
-rw------- 1 root mail 16384 Apr 1 10:19
dfj31FIwq7010985
-rw------- 1 root mail 20480 Apr 1 10:24
dfj31FM9q7013458
-rw------- 1 root mail 16384 Apr 1 11:44
dfj31Gikq7017302
-rw------- 1 root mail 872 Apr 4 10:08
dfj34C8nOj011677
-rw------- 1 root mail 61440 Apr 4 08:53
dfj34ClhOj026253
-rw------- 1 root mail 16384 Apr 4 09:08
dfj34D6YOj020610
-rw------- 1 root mail 155648 Apr 4 09:53
dfj34DaiOj000798
-rw------- 1 root mail 421888 Apr 4 09:44
dfj34Dd0Oj004396
-rw------- 1 root mail 368640 Apr 4 10:05
dfj34E2pOj009876
-rw------- 1 root mail 708608 Apr 4 10:14
dfj34E8UOj017604
-rw------- 1 root mail 28672 Apr 11 09:12
dfj3BDAsWg029242
-rw------- 1 root mail 32768 Apr 11 09:26
dfj3BDJiWg003720
-rw------- 1 root mail 49152 Apr 11 09:33
dfj3BDVOWh011659
-rw------- 1 root mail 61440 Apr 11 09:33
dfj3BDVPWh011695
-rw------- 1 root mail 8192 Apr 11 09:33
dfj3BDVWWh011768
-rw------- 1 root mail 20480 Apr 11 09:34
dfj3BDVXWh011771
-rw------- 1 root mail 32768 Apr 11 09:43
dfj3BDduWg017597
-rw------- 1 root mail 32768 Apr 11 09:48
dfj3BDjOWg021883
-rw------- 1 root mail 831488 Apr 11 10:41
dfj3BEdFWg027932
-rw------- 1 root mail 638976 Apr 11 10:52
dfj3BElWWg001619
-rw------- 1 root mail 923 Apr 5 00:56
qfj352riWh022594
-rw------- 1 root mail 967 Apr 5 09:28
qfj35BSMWh013958
-rw------- 1 root mail 925 Apr 5 14:18
qfj35GHhWh004468
-rw------- 1 root mail 949 Apr 5 16:05
qfj35I5kWh013983
-rw------- 1 root mail 977 Apr 5 16:09
qfj35I60Wh014078
-rw------- 1 root mail 940 Apr 5 19:08
qfj35L7sWh004843
-rw------- 1 root mail 953 Apr 6 01:40
qfj363aaWh008242
-rw------- 1 root mail 1711 Apr 6 00:20
qfj364J3Wo022047
-rw------- 1 root mail 1001 Apr 6 04:52
qfj366q0Wh003389
-rw------- 1 root mail 1046 Apr 6 23:23
qfj371NVWh010276
-rw------- 1 root mail 961 Apr 7 00:54
qfj372qWWh006615
-rw------- 1 root mail 928 Apr 7 02:15
qfj374CoWi031202
-rw------- 1 root mail 971 Apr 7 17:01
qfj37IwpWh004066
-rw------- 1 root mail 924 Apr 8 03:00
qfj38404Wh003283
-rw------- 1 root mail 924 Apr 8 03:35
qfj384YMWh013402
-rw------- 1 root mail 925 Apr 8 04:05
qfj3863tWh006263
-rw------- 1 root mail 916 Apr 8 10:20
qfj38CHnWh000714
-rw------- 1 root mail 965 Apr 8 15:57
qfj38HsLWh004420
-rw------- 1 root mail 915 Apr 8 20:13
qfj38MC0Wh007466
-rw------- 1 root mail 944 Apr 8 23:42
qfj391dvWh009561
-rw------- 1 root mail 915 Apr 9 01:07
qfj39260Wh016687
-rw------- 1 root mail 914 Apr 9 21:58
qfj39MvdWh023748
-rw------- 1 root mail 916 Apr 10 04:46
qfj3A6ebWh030427
-rw------- 1 root mail 916 Apr 10 09:43
qfj3ABWdWh030461
-rw------- 1 root mail 996 Apr 10 11:40
qfj3ADduWh027873
-rw------- 1 root mail 1008 Apr 10 16:23
qfj3AILcWh007512
-rw------- 1 root mail 950 Apr 10 23:05
qfj3B0vZWo005462
-rw------- 1 root mail 1007 Apr 11 00:19
qfj3B4JMWg020843
-rw------- 1 root mail 920 Apr 11 03:50
qfj3B5n2Wh013589
-rw------- 1 root mail 950 Apr 11 10:14
qfj3BCDgWh028342
hound2:/var/spool/mqueue.in # ls -1|wc -l
77
hound2:/var/spool/mqueue.in #
...
hound2:/var/spool/MailScanner/incoming # ls *
14192:
. ..
14219:
. ..
14220:
. ..
14221:
. ..
14224:
. ..
14227:
. ..
14231:
. ..
14232:
. ..
14235:
. ..
14236:
. ..
hound2:/var/spool/MailScanner/incoming # cd ../quarantine/
hound2:/var/spool/MailScanner/quarantine # ls
. ..
Danny Béland
------------------------ MailScanner list
------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (
http://www.mailscanner.biz/maq/ )
and the archives (
http://www.jiscmail.ac.uk/lists/mailscanner.html ).
Support MailScanner development - buy the book off the
website!
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/)
and the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list