Commit graph

7 commits

Author SHA1 Message Date
Dirk Meyer
4ab456a292 - add sample for clamav 2010-06-11 07:29:11 +00:00
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Dirk Meyer
eaa578daf7 - use RC_SUBR 2009-01-16 19:54:13 +00:00
Dirk Meyer
162a416c1a - fix CONF_AVFAILACTION for all scanners 2005-07-07 03:58:51 +00:00
Dirk Meyer
b5392dfa2b - ignore error state from clamdscan. 2004-11-17 06:33:57 +00:00
Dirk Meyer
e966675fa3 - add support for clamav/clamdscan 2004-03-05 21:36:12 +00:00
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