1sagator(1)                          SAGATOR                         sagator(1)
2
3
4

NAME

6       sgscan - scan an file or mailbox for viruses/spams
7

SYNOPSIS

9       sgscan  [--help]  [--config filename] [--debug level] [--clean] [--ver‐
10       bose] [--quiet] [--av-only] files...
11

DESCRIPTION

13       This command is a part of sagator. It can be  used  to  scan  files  or
14       mailboxes for viruses/spams. It also can be used to clean mailboxes (if
15       some viruses passes through sagator).
16

OPTIONS

18       --help Display a short help text.
19
20       --config filename
21              Load "filename" as alternate config. This filename must be with‐
22              out ".py" extension.
23
24       --debug level
25              Set debug level to "level". You can specifi level from 0 to 9.
26
27       --clean
28              Clean all known viruses from mailboxes.
29
30       --quiet
31              Quiet output. If an infection/spam will be found, only increment
32              an counter and do not display anything.
33
34       --verbose
35              Verbose output. Also clean emails are shown. Virus name  "CLEAN"
36              will be shown.
37
38       --progress
39              Show  progress  indicator. Shows total number of emails in mail‐
40              box, email counter, infection/spam count and estimation time.
41
42       --av-only
43              Use only antivirus scanners and do not use antispam scanners.
44

EXAMPLES

46       Scan all mailboxes for viruses.
47              sgscan --av-only /var/mail/*
48
49       Scan and clean all mailboxes:
50              sgscan --clean /var/mail/*
51

AUTHOR

53       Jan ONDREJ (SAL) <ondrejj (at) salstar.sk>
54

SEE ALSO

56       sgfilter(1), sagator(8), sqback(8)
57
58
59
60version 0.1                    December 20, 2004                    sagator(1)
Impressum