[pmg-devel] Spam scanning after virus is found

Davide Bozzelli davide.bozzelli at gmail.com
Tue Apr 17 15:17:57 CEST 2018


Which kind of problems could happen if the spam scan is skipped ?
I mean, apart not evaluate other rules .

Maybe you could add a flag like " enable-quick" which disable spam scan IF
virus is found.


On Tue, Apr 17, 2018 at 1:16 PM, Dietmar Maurer <dietmar at proxmox.com> wrote:

> > No, it's just a simple test with one receiver.
> >
> > I've read the code of Spam.pm (analyze_spam sub)
>
> Rule matching is done in pmg-api/bin/pmg-smtp-filter, the
> method is called apply_rules():
>
> sub apply_rules {
>     my ($self, $queue, $msginfo, $entity, $ldap) = @_;
> ...
>
>
> But it seems wrong to me to skip all rules only because we found a virus.
>
> It would be possible to skip SPAM detection if we found a virus
> ($queue->{vinfo})
> in analyze_spam(), but it may result in interesting info. So I am not sure
> if we really want to skip that?
>
> _______________________________________________
> pmg-devel mailing list
> pmg-devel at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pmg-devel
>



-- 
Got problems with Windows? - ReBooT
Got problems with Linux? - Be RooT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pve.proxmox.com/pipermail/pmg-devel/attachments/20180417/2db939e8/attachment.html>


More information about the pmg-devel mailing list