1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/mail/antivirus-milter/files/antivirus.conf
Dirk Meyer 66a65607eb Sendmail milter wich uses Mcafee Virus Scan
The milter recives messages from sendmail, and saves them as a file in
a directory. The directory name and the file name are the "$i" (queue
identifier) from Sendmail, making it easier to identify them. Once the
entire message has been received, the milter runs "ripmime" on the file
to extract any attachments. If rupmime returns without an error then it
will run "uvscan" on the diretory to scan all the files in it. If uvscan
returns an error, then the milter will look for viruses output from
uvscan, and reject the message reporting which viruses were found. If
viruses were found then the entire directory is moved to quarantine,
otherwise it is deleted.

The milter also does extention checks. Certain extentions are blocked
completely. In specific, extenions of .scr, .vbs, .pif, and .com are
blocked.

Author gave permission to distribute it with BSD-License.

WWW: http://www.nmt.edu/~wcolburn/antivirus/
2004-01-05 17:51:18 +00:00

12 lines
290 B
Plaintext

HOMEDIR %%ANTIVIRUS%%
BASEDIR %%ANTIVIRUS%%/spool
AVSCANDIR /usr/local/bin
AVSCANNER /usr/local/bin/uvscan
QUARANTINE %%ANTIVIRUS%%/quarantine
UNPACKER /usr/local/bin/ripmime
SAFEUSER nobody
SAFEGROUP nobody
PIDFILE %%ANTIVIRUS%%/run/antivirus.pid
AVPRODUCT mcafee
AVFAILACTION tempfail