Discussion:
Mailscanner loops stops processing emails.
Richard Mealing
2014-05-20 09:43:35 UTC
Permalink
Hi,

I'm having problems with mailscanner where I see the error like - Quarantined message s4K962Jg091731 as it caused MailScanner to crash several times

Here's my debug -

mailscanner --debug


In Debugging mode, not forking...
Trying to setlogsock(unix)
Building a message batch to scan...
Have a batch of 30 messages.
Can't call method "CombineReports" on unblessed reference at /usr/local/lib/MailScanner/MailScanner/MessageBatch.pm line 736.

I cannot see any problems with permissions, but I will be glad to share them with the list. Just let me know what you want to look at.

The only thing that seems to fix this is deleting the Processing.db file for mailscanner, then restarting mailscanner. If I have a large queue then it just happens again and I start seeing "Making attempt 2 at processing message s4K9YVUO015387" etc etc.

Does anyone else see this problem or is it just me?

MailScanner-4.84.6
sendmail-8.14.5
clamav-0.98.1_1
FreebSD 8.2-RELEASE

Thanks,
Rich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20140520/a52655ea/attachment.html
Martin Hepworth
2014-05-20 10:22:34 UTC
Permalink
make sure the MailScanner perl script has the -U flag at the top, sounds
like the usual taint mode issues.
--
Martin Hepworth, CISSP
Oxford, UK
Hi,
I?m having problems with mailscanner where I see the error like -
Quarantined message s4K962Jg091731 as it caused MailScanner to crash
several times
Here?s my debug ?
mailscanner --debug
In Debugging mode, not forking...
Trying to setlogsock(unix)
Building a message batch to scan...
Have a batch of 30 messages.
Can't call method "CombineReports" on unblessed reference at
/usr/local/lib/MailScanner/MailScanner/MessageBatch.pm line 736.
I cannot see any problems with permissions, but I will be glad to share
them with the list. Just let me know what you want to look at.
The only thing that seems to fix this is deleting the Processing.db file
for mailscanner, then restarting mailscanner. If I have a large queue then
it just happens again and I start seeing ?Making attempt 2 at processing
message s4K9YVUO015387? etc etc.
Does anyone else see this problem or is it just me?
MailScanner-4.84.6
sendmail-8.14.5
clamav-0.98.1_1
FreebSD 8.2-RELEASE
Thanks,
Rich
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20140520/23c79e9b/attachment.html
Richard Mealing
2014-05-20 11:33:01 UTC
Permalink
Hi Martin,

Thanks, but that doesn?t work for me.
I changed the Processing attemtps to 0 and now I see clamd timing out and crashing in the logs.

Lots of this -
MailScanner[66580]: Virus Scanning: No virus scanners worked, so message batch was abandoned and re-tried!

Lots of this ?
MailScanner[71612]: Cannot find Socket (/var/run/clamav/clamd) Exiting!

My socket does match mailscanner..

But now all the emails seem to be processing and obviously now not being quarantined my mailscanner.

I?m debugging clamd but I can?t find anything obvious in the logs. I?ve opened a thread with the clamd list.

Here?s some of my clamconf ?n -

LogFile = "/var/log/clamav/clamd.log"
LogFileMaxSize = "104857600"
LogTime = "yes"
LogVerbose = "yes"
PidFile = "/var/run/clamav/clamd.pid"
TemporaryDirectory = "/tmp"
LocalSocket = "/var/run/clamav/clamd"
MaxConnectionQueueLength = "30"
MaxThreads = "50"
ReadTimeout = "300"
CommandReadTimeout = "7"
MaxQueue = "300"
Debug = "yes"
User = "clamav"
AllowSupplementaryGroups = "yes"
StructuredMinCreditCardCount = "5"
StructuredMinSSNCount = "5"
MaxRecursion = "20"

Here?s my mailscanner processing timeouts ?


Max Unscanned Bytes Per Scan = 100m
Max Unsafe Bytes Per Scan = 50m
Max Unscanned Messages Per Scan = 30
Max Unsafe Messages Per Scan = 30


I?m wondering if there is something here I need to change. Any advice would obviously be appreciated!!

Thanks,
Rich

From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Martin Hepworth
Sent: 20 May 2014 11:23
To: MailScanner discussion
Subject: Re: Mailscanner loops stops processing emails.

make sure the MailScanner perl script has the -U flag at the top, sounds like the usual taint mode issues.

--
Martin Hepworth, CISSP
Oxford, UK

On 20 May 2014 10:43, Richard Mealing <richard at fastnet.co.uk<mailto:richard at fastnet.co.uk>> wrote:
Hi,

I?m having problems with mailscanner where I see the error like - Quarantined message s4K962Jg091731 as it caused MailScanner to crash several times

Here?s my debug ?

mailscanner --debug


In Debugging mode, not forking...
Trying to setlogsock(unix)
Building a message batch to scan...
Have a batch of 30 messages.
Can't call method "CombineReports" on unblessed reference at /usr/local/lib/MailScanner/MailScanner/MessageBatch.pm line 736.

I cannot see any problems with permissions, but I will be glad to share them with the list. Just let me know what you want to look at.

The only thing that seems to fix this is deleting the Processing.db file for mailscanner, then restarting mailscanner. If I have a large queue then it just happens again and I start seeing ?Making attempt 2 at processing message s4K9YVUO015387? etc etc.

Does anyone else see this problem or is it just me?

MailScanner-4.84.6
sendmail-8.14.5
clamav-0.98.1_1
FreebSD 8.2-RELEASE

Thanks,
Rich

--
MailScanner mailing list
mailscanner at lists.mailscanner.info<mailto:mailscanner at lists.mailscanner.info>
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20140520/f03eaacd/attachment.html
Valentin Laskov
2014-05-20 11:59:42 UTC
Permalink
clamd ??? :) What version ?

I'm still using 0.98.1 because 0.98.3 is buggy

There is 0.98.4.rc1 which I can't compile

Valentin


----- Original Message -----
From: "Richard Mealing" <richard at fastnet.co.uk>
To: "'MailScanner discussion'" <mailscanner at lists.mailscanner.info>
Sent: Tuesday, May 20, 2014 2:33 PM
Subject: RE: Mailscanner loops stops processing emails.


| Hi Martin,
|
| Thanks, but that doesn?t work for me.
| I changed the Processing attemtps to 0 and now I see clamd timing out and crashing in the logs.
|
| Lots of this -
| MailScanner[66580]: Virus Scanning: No virus scanners worked, so message batch was abandoned and re-tried!
|
| Lots of this ?
| MailScanner[71612]: Cannot find Socket (/var/run/clamav/clamd) Exiting!
|
| My socket does match mailscanner..
|
| But now all the emails seem to be processing and obviously now not being quarantined my mailscanner.
|
| I?m debugging clamd but I can?t find anything obvious in the logs. I?ve opened a thread with the clamd list.
|
| Here?s some of my clamconf ?n -
|
| LogFile = "/var/log/clamav/clamd.log"
| LogFileMaxSize = "104857600"
| LogTime = "yes"
| LogVerbose = "yes"
| PidFile = "/var/run/clamav/clamd.pid"
| TemporaryDirectory = "/tmp"
| LocalSocket = "/var/run/clamav/clamd"
| MaxConnectionQueueLength = "30"
| MaxThreads = "50"
| ReadTimeout = "300"
| CommandReadTimeout = "7"
| MaxQueue = "300"
| Debug = "yes"
| User = "clamav"
| AllowSupplementaryGroups = "yes"
| StructuredMinCreditCardCount = "5"
| StructuredMinSSNCount = "5"
| MaxRecursion = "20"
|
| Here?s my mailscanner processing timeouts ?
|
|
| Max Unscanned Bytes Per Scan = 100m
| Max Unsafe Bytes Per Scan = 50m
| Max Unscanned Messages Per Scan = 30
| Max Unsafe Messages Per Scan = 30
|
|
| I?m wondering if there is something here I need to change. Any advice would obviously be appreciated!!
|
| Thanks,
| Rich
|
| From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Martin Hepworth
| Sent: 20 May 2014 11:23
| To: MailScanner discussion
| Subject: Re: Mailscanner loops stops processing emails.
|
| make sure the MailScanner perl script has the -U flag at the top, sounds like the usual taint mode issues.
|
| --
| Martin Hepworth, CISSP
| Oxford, UK
|
| On 20 May 2014 10:43, Richard Mealing <richard at fastnet.co.uk<mailto:richard at fastnet.co.uk>> wrote:
| Hi,
|
| I?m having problems with mailscanner where I see the error like - Quarantined message s4K962Jg091731 as it caused MailScanner to
crash several times
|
| Here?s my debug ?
|
| mailscanner --debug
|
|
| In Debugging mode, not forking...
| Trying to setlogsock(unix)
| Building a message batch to scan...
| Have a batch of 30 messages.
| Can't call method "CombineReports" on unblessed reference at /usr/local/lib/MailScanner/MailScanner/MessageBatch.pm line 736.
|
| I cannot see any problems with permissions, but I will be glad to share them with the list. Just let me know what you want to look
at.
|
| The only thing that seems to fix this is deleting the Processing.db file for mailscanner, then restarting mailscanner. If I have a
large queue then it just happens again and I start seeing ?Making attempt 2 at processing message s4K9YVUO015387? etc etc.
|
| Does anyone else see this problem or is it just me?
|
| MailScanner-4.84.6
| sendmail-8.14.5
| clamav-0.98.1_1
| FreebSD 8.2-RELEASE
|
| Thanks,
| Rich
|
| --
| MailScanner mailing list
| mailscanner at lists.mailscanner.info<mailto:mailscanner at lists.mailscanner.info>
| http://lists.mailscanner.info/mailman/listinfo/mailscanner
|
| Before posting, read http://wiki.mailscanner.info/posting
|
| Support MailScanner development - buy the book off the website!
|
|


--------------------------------------------------------------------------------


| --
| MailScanner mailing list
| mailscanner at lists.mailscanner.info
| http://lists.mailscanner.info/mailman/listinfo/mailscanner
|
| Before posting, read http://wiki.mailscanner.info/posting
|
| Support MailScanner development - buy the book off the website!
|
Richard Mealing
2014-05-20 13:35:44 UTC
Permalink
0.98.1_1

I tried using the .3 version but it doesn't compile for me either. I'm waiting for the .4 version to become available in the freebsd ports. I'm not sure it's going to fix my problem through.

I would say it's a permission problem but it works most of the time, so could it be?

When I get a heavy load like a ddos or something, it breaks. Clamd crashes and then restarts, processes some mail but then crashes again. Since I changed the Processing db to 0 I don't get this loop any more, so I'm happy now, but I really want to try and fix the clamd crashing problems.

I will continue to debug clamd.

Thanks,
Rich

-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Valentin Laskov
Sent: 20 May 2014 13:00
To: MailScanner discussion
Subject: Re: Mailscanner loops stops processing emails.

clamd ??? :) What version ?

I'm still using 0.98.1 because 0.98.3 is buggy

There is 0.98.4.rc1 which I can't compile

Valentin


----- Original Message -----
From: "Richard Mealing" <richard at fastnet.co.uk>
To: "'MailScanner discussion'" <mailscanner at lists.mailscanner.info>
Sent: Tuesday, May 20, 2014 2:33 PM
Subject: RE: Mailscanner loops stops processing emails.


| Hi Martin,
|
| Thanks, but that doesn?t work for me.
| I changed the Processing attemtps to 0 and now I see clamd timing out and crashing in the logs.
|
| Lots of this -
| MailScanner[66580]: Virus Scanning: No virus scanners worked, so message batch was abandoned and re-tried!
|
| Lots of this ?
| MailScanner[71612]: Cannot find Socket (/var/run/clamav/clamd) Exiting!
|
| My socket does match mailscanner..
|
| But now all the emails seem to be processing and obviously now not being quarantined my mailscanner.
|
| I?m debugging clamd but I can?t find anything obvious in the logs. I?ve opened a thread with the clamd list.
|
| Here?s some of my clamconf ?n -
|
| LogFile = "/var/log/clamav/clamd.log"
| LogFileMaxSize = "104857600"
| LogTime = "yes"
| LogVerbose = "yes"
| PidFile = "/var/run/clamav/clamd.pid"
| TemporaryDirectory = "/tmp"
| LocalSocket = "/var/run/clamav/clamd"
| MaxConnectionQueueLength = "30"
| MaxThreads = "50"
| ReadTimeout = "300"
| CommandReadTimeout = "7"
| MaxQueue = "300"
| Debug = "yes"
| User = "clamav"
| AllowSupplementaryGroups = "yes"
| StructuredMinCreditCardCount = "5"
| StructuredMinSSNCount = "5"
| MaxRecursion = "20"
|
| Here?s my mailscanner processing timeouts ?
|
|
| Max Unscanned Bytes Per Scan = 100m
| Max Unsafe Bytes Per Scan = 50m
| Max Unscanned Messages Per Scan = 30
| Max Unsafe Messages Per Scan = 30
|
|
| I?m wondering if there is something here I need to change. Any advice would obviously be appreciated!!
|
| Thanks,
| Rich
|
| From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Martin Hepworth
| Sent: 20 May 2014 11:23
| To: MailScanner discussion
| Subject: Re: Mailscanner loops stops processing emails.
|
| make sure the MailScanner perl script has the -U flag at the top, sounds like the usual taint mode issues.
|
| --
| Martin Hepworth, CISSP
| Oxford, UK
|
| On 20 May 2014 10:43, Richard Mealing <richard at fastnet.co.uk<mailto:richard at fastnet.co.uk>> wrote:
| Hi,
|
| I?m having problems with mailscanner where I see the error like - Quarantined message s4K962Jg091731 as it caused MailScanner to
crash several times
|
| Here?s my debug ?
|
| mailscanner --debug
|
|
| In Debugging mode, not forking...
| Trying to setlogsock(unix)
| Building a message batch to scan...
| Have a batch of 30 messages.
| Can't call method "CombineReports" on unblessed reference at /usr/local/lib/MailScanner/MailScanner/MessageBatch.pm line 736.
|
| I cannot see any problems with permissions, but I will be glad to share them with the list. Just let me know what you want to look
at.
|
| The only thing that seems to fix this is deleting the Processing.db file for mailscanner, then restarting mailscanner. If I have a
large queue then it just happens again and I start seeing ?Making attempt 2 at processing message s4K9YVUO015387? etc etc.
|
| Does anyone else see this problem or is it just me?
|
| MailScanner-4.84.6
| sendmail-8.14.5
| clamav-0.98.1_1
| FreebSD 8.2-RELEASE
|
| Thanks,
| Rich
|
| --
| MailScanner mailing list
| mailscanner at lists.mailscanner.info<mailto:mailscanner at lists.mailscanner.info>
| http://lists.mailscanner.info/mailman/listinfo/mailscanner
|
| Before posting, read http://wiki.mailscanner.info/posting
|
| Support MailScanner development - buy the book off the website!
|
|


--------------------------------------------------------------------------------


| --
| MailScanner mailing list
| mailscanner at lists.mailscanner.info
| http://lists.mailscanner.info/mailman/listinfo/mailscanner
|
| Before posting, read http://wiki.mailscanner.info/posting
|
| Support MailScanner development - buy the book off the website!
|
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!
Valentin Laskov
2014-05-20 14:20:05 UTC
Permalink
You can try using clamscan not clamd or clamdscan.
clamscan works not so fast - it loads virus database each time it started, but you can obtain reliability this way. You can decrease
number of MailScanner child processes to decrease system load.

----- Original Message -----
From: "Richard Mealing" <richard at fastnet.co.uk>
To: "'MailScanner discussion'" <mailscanner at lists.mailscanner.info>
Sent: Tuesday, May 20, 2014 4:35 PM
Subject: RE: Mailscanner loops stops processing emails.


| 0.98.1_1
|
| I tried using the .3 version but it doesn't compile for me either. I'm waiting for the .4 version to become available in the
freebsd ports. I'm not sure it's going to fix my problem through.
|
| I would say it's a permission problem but it works most of the time, so could it be?
|
| When I get a heavy load like a ddos or something, it breaks. Clamd crashes and then restarts, processes some mail but then crashes
again. Since I changed the Processing db to 0 I don't get this loop any more, so I'm happy now, but I really want to try and fix the
clamd crashing problems.
|
| I will continue to debug clamd.
|
| Thanks,
| Rich
|
| -----Original Message-----
| From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Valentin Laskov
| Sent: 20 May 2014 13:00
| To: MailScanner discussion
| Subject: Re: Mailscanner loops stops processing emails.
|
| clamd ??? :) What version ?
|
| I'm still using 0.98.1 because 0.98.3 is buggy
|
| There is 0.98.4.rc1 which I can't compile
|
| Valentin
|
Richard Mealing
2014-05-20 14:48:15 UTC
Permalink
OK, I will give that a go.

I've changed in mailscanner - Maximum Processing Attempts = 0
And now I've changed this in clamd.conf -

SelfCheck 3600

It was set to 10 minutes and I think it just restarts itself, then mailscanner cannot find the socket and starts complaining. I'll give it more time and see if the errors persist.

Since disabling the processing attempts I see no mail looping (Yay). From reading an old thread from Julian, it is off by default. I don't really understand what it does.

Thanks,
Rich


---Original Message-----
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Valentin Laskov
Sent: 20 May 2014 15:20
To: MailScanner discussion
Subject: Re: Mailscanner loops stops processing emails.

You can try using clamscan not clamd or clamdscan.
clamscan works not so fast - it loads virus database each time it started, but you can obtain reliability this way. You can decrease number of MailScanner child processes to decrease system load.



----- Original Message -----
From: "Richard Mealing" <richard at fastnet.co.uk>
To: "'MailScanner discussion'" <mailscanner at lists.mailscanner.info>
Sent: Tuesday, May 20, 2014 4:35 PM
Subject: RE: Mailscanner loops stops processing emails.


| 0.98.1_1
|
| I tried using the .3 version but it doesn't compile for me either. I'm waiting for the .4 version to become available in the
freebsd ports. I'm not sure it's going to fix my problem through.
|
| I would say it's a permission problem but it works most of the time, so could it be?
|
| When I get a heavy load like a ddos or something, it breaks. Clamd crashes and then restarts, processes some mail but then crashes
again. Since I changed the Processing db to 0 I don't get this loop any more, so I'm happy now, but I really want to try and fix the
clamd crashing problems.
|
| I will continue to debug clamd.
|
| Thanks,
| Rich
|
| -----Original Message-----
| From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Valentin Laskov
| Sent: 20 May 2014 13:00
| To: MailScanner discussion
| Subject: Re: Mailscanner loops stops processing emails.
|
| clamd ??? :) What version ?
|
| I'm still using 0.98.1 because 0.98.3 is buggy
|
| There is 0.98.4.rc1 which I can't compile
|
| Valentin
|
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!
Chris Stone
2014-05-20 16:40:02 UTC
Permalink
Had similar problems here and also found that disabling the Processing
Attempts database code fixed it - no more loops. I don't see it as a clamd
problem though - looks more like SA crashing on processing. I now from time
to time see messages that I 'think' would cause the problems if Processing
Attempts were enabled - they seem to get processed 4-6 times before going
on though and being seen as spam and quarantined. Not causing any real
problems this way so leaving as is.


Chris
Post by Richard Mealing
OK, I will give that a go.
I've changed in mailscanner - Maximum Processing Attempts = 0
And now I've changed this in clamd.conf -
SelfCheck 3600
It was set to 10 minutes and I think it just restarts itself, then
mailscanner cannot find the socket and starts complaining. I'll give it
more time and see if the errors persist.
Since disabling the processing attempts I see no mail looping (Yay). From
reading an old thread from Julian, it is off by default. I don't really
understand what it does.
Thanks,
Rich
---Original Message-----
mailscanner-bounces at lists.mailscanner.info] On Behalf Of Valentin Laskov
Sent: 20 May 2014 15:20
To: MailScanner discussion
Subject: Re: Mailscanner loops stops processing emails.
You can try using clamscan not clamd or clamdscan.
clamscan works not so fast - it loads virus database each time it started,
but you can obtain reliability this way. You can decrease number of
MailScanner child processes to decrease system load.
----- Original Message -----
From: "Richard Mealing" <richard at fastnet.co.uk>
To: "'MailScanner discussion'" <mailscanner at lists.mailscanner.info>
Sent: Tuesday, May 20, 2014 4:35 PM
Subject: RE: Mailscanner loops stops processing emails.
| 0.98.1_1
|
| I tried using the .3 version but it doesn't compile for me either. I'm
waiting for the .4 version to become available in the
freebsd ports. I'm not sure it's going to fix my problem through.
|
| I would say it's a permission problem but it works most of the time, so could it be?
|
| When I get a heavy load like a ddos or something, it breaks. Clamd
crashes and then restarts, processes some mail but then crashes
again. Since I changed the Processing db to 0 I don't get this loop any
more, so I'm happy now, but I really want to try and fix the
clamd crashing problems.
|
| I will continue to debug clamd.
|
| Thanks,
| Rich
|
| -----Original Message-----
mailscanner-bounces at lists.mailscanner.info] On Behalf Of Valentin Laskov
| Sent: 20 May 2014 13:00
| To: MailScanner discussion
| Subject: Re: Mailscanner loops stops processing emails.
|
| clamd ??? :) What version ?
|
| I'm still using 0.98.1 because 0.98.3 is buggy
|
| There is 0.98.4.rc1 which I can't compile
|
| Valentin
|
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
--
Chris Stone
AxisInternet, Inc.
www.axint.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20140520/456930fa/attachment.html
Alex Neuman
2014-05-20 12:40:32 UTC
Permalink
Sounds like a permissions issue.
Post by Richard Mealing
Hi Martin,
Thanks, but that doesn?t work for me.
I changed the Processing attemtps to 0 and now I see clamd timing out and
crashing in the logs.
Lots of this -
MailScanner[66580]: Virus Scanning: No virus scanners worked, so message
batch was abandoned and re-tried!
Lots of this ?
MailScanner[71612]: Cannot find Socket (/var/run/clamav/clamd) Exiting!
My socket does match mailscanner..
But now all the emails seem to be processing and obviously now not being
quarantined my mailscanner.
I?m debugging clamd but I can?t find anything obvious in the logs. I?ve
opened a thread with the clamd list.
Here?s some of my clamconf ?n -
LogFile = "/var/log/clamav/clamd.log"
LogFileMaxSize = "104857600"
LogTime = "yes"
LogVerbose = "yes"
PidFile = "/var/run/clamav/clamd.pid"
TemporaryDirectory = "/tmp"
LocalSocket = "/var/run/clamav/clamd"
MaxConnectionQueueLength = "30"
MaxThreads = "50"
ReadTimeout = "300"
CommandReadTimeout = "7"
MaxQueue = "300"
Debug = "yes"
User = "clamav"
AllowSupplementaryGroups = "yes"
StructuredMinCreditCardCount = "5"
StructuredMinSSNCount = "5"
MaxRecursion = "20"
Here?s my mailscanner processing timeouts ?
Max Unscanned Bytes Per Scan = 100m
Max Unsafe Bytes Per Scan = 50m
Max Unscanned Messages Per Scan = 30
Max Unsafe Messages Per Scan = 30
I?m wondering if there is something here I need to change. Any advice
would obviously be appreciated!!
Thanks,
Rich
mailscanner-bounces at lists.mailscanner.info] *On Behalf Of *Martin Hepworth
*Sent:* 20 May 2014 11:23
*To:* MailScanner discussion
*Subject:* Re: Mailscanner loops stops processing emails.
make sure the MailScanner perl script has the -U flag at the top, sounds
like the usual taint mode issues.
--
Martin Hepworth, CISSP
Oxford, UK
Hi,
I?m having problems with mailscanner where I see the error like -
Quarantined message s4K962Jg091731 as it caused MailScanner to crash
several times
Here?s my debug ?
mailscanner --debug
In Debugging mode, not forking...
Trying to setlogsock(unix)
Building a message batch to scan...
Have a batch of 30 messages.
Can't call method "CombineReports" on unblessed reference at
/usr/local/lib/MailScanner/MailScanner/MessageBatch.pm line 736.
I cannot see any problems with permissions, but I will be glad to share
them with the list. Just let me know what you want to look at.
The only thing that seems to fix this is deleting the Processing.db file
for mailscanner, then restarting mailscanner. If I have a large queue then
it just happens again and I start seeing ?Making attempt 2 at processing
message s4K9YVUO015387? etc etc.
Does anyone else see this problem or is it just me?
MailScanner-4.84.6
sendmail-8.14.5
clamav-0.98.1_1
FreebSD 8.2-RELEASE
Thanks,
Rich
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20140520/e6772628/attachment.html
Loading...