Discussion:
amavis av_scan randomly skips av_scanners
(too old to reply)
Martin Thomas Swaton
2016-02-16 17:36:21 UTC
Permalink
Hi together,

I am facing a strange behaviour and am searching for a solution.
I have configured four av_scanners:

1 a small pl script that searches for some headers in the mailfiles
2 another pl script that searches for vba code.
3 sophos savscan
4 clamd


All work well and give clean/infected state back.

But sometimes (maybe when there are more messages at the same time)
amavis just skips some of the scanners without any note.

In the logfile at level 5 I only see which scanners are used (run) but
no note about the others!

What I do see, that the first two seem to be skipped and the other two -
maybe not.
Sophos and clamd also are in the backup list so this may be, why they
are not skipped? But would that give a note, if the backup list is used?

Any ideas what is happening here?

thanks,
martin
Martin Thomas Swaton
2016-02-17 14:49:18 UTC
Permalink
hi everybody,

I could solve the issue, it was a directory check in the used perl
scanner scripts. The author did check the amavis directory against a
wrong regular expression.
I removed the unnecessary checks and everything works.

Cheers
Martin
Post by Martin Thomas Swaton
Hi together,
I am facing a strange behaviour and am searching for a solution.
1 a small pl script that searches for some headers in the mailfiles
2 another pl script that searches for vba code.
3 sophos savscan
4 clamd
All work well and give clean/infected state back.
But sometimes (maybe when there are more messages at the same time)
amavis just skips some of the scanners without any note.
In the logfile at level 5 I only see which scanners are used (run) but
no note about the others!
What I do see, that the first two seem to be skipped and the other two
- maybe not.
Sophos and clamd also are in the backup list so this may be, why they
are not skipped? But would that give a note, if the backup list is used?
Any ideas what is happening here?
thanks,
martin
Loading...