sgscan (1) - Linux Manuals

sgscan: scan an file or mailbox for viruses/spams

NAME

sgscan - scan an file or mailbox for viruses/spams

SYNOPSIS

sgscan [--help] [--config filename] [--debug level] [--clean] [--verbose] [--quiet] [--av-only] files...

DESCRIPTION

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

OPTIONS

--help
Display a short help text.
--config filename
Load "filename" as alternate config. This filename must be without ".py" extension.
--debug level
Set debug level to "level". You can specifi level from 0 to 9.
--clean
Clean all known viruses from mailboxes.
--quiet
Quiet output. If an infection/spam will be found, only increment an counter and do not display anything.
--verbose
Verbose output. Also clean emails are shown. Virus name "CLEAN" will be shown.
--progress
Show progress indicator. Shows total number of emails in mailbox, email counter, infection/spam count and estimation time.
--av-only
Use only antivirus scanners and do not use antispam scanners.

EXAMPLES

Scan all mailboxes for viruses.
sgscan --av-only /var/mail/*
Scan and clean all mailboxes:
sgscan --clean /var/mail/*

AUTHOR

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

SEE ALSO

sgfilter(1), sagator(8), sqback(8)