Hi,

I was wondering, if it would be possible to mark the mail as
'UNDECIPHERABLE' if SAVI returns one of the error codes already defined
here:

    if (! grep {$result == $_} (514,527,530,538,549) ) {
      $status = 2; $output = "ERROR $query: $msg";
    } else { # don't panic on non-fatal (encrypted, corrupted, partial)
      $status = 0; $output = "CLEAN $query: $msg";
    }

This would have the following advantages:

- UNDECIPHERABLE detection would work with $bypass_decode_parts = 1;

- Sophos detects probably more mails as non scannable (having more inside
  knowledge about file contents).

Mark: what do you think, is it feasible?

Cheers
David

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to