This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| reference:virus_scan_filter_script [2016/02/12 14:49] – created paul | reference:virus_scan_filter_script [2018/11/14 10:45] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| (Added in V6.17) | (Added in V6.17) | ||
| - | This script has a single function **FilterResult** | + | The **VIRUSSCAN.LUA** |
| This function is called for every virus that a VPOP3-integrated (eg VPOP3 AV or Sophos SAV Interface) detects. The function has the opportunity to ' | This function is called for every virus that a VPOP3-integrated (eg VPOP3 AV or Sophos SAV Interface) detects. The function has the opportunity to ' | ||
| Line 19: | Line 19: | ||
| * filter_variables is the list of [[http:// | * filter_variables is the list of [[http:// | ||
| + | Example: | ||
| + | function FilterResult(virus, | ||
| + | | ||
| + | if (vars[" | ||
| + | | ||
| + | end | ||
| + | | ||
| + | return false | ||
| + | end | ||