diff options
author | Sergei Kolobov <sergei@FreeBSD.org> | 2003-12-11 11:40:35 +0000 |
---|---|---|
committer | Sergei Kolobov <sergei@FreeBSD.org> | 2003-12-11 11:40:35 +0000 |
commit | 46a4563118d992f8c05b8f3dbfb42d326e3e030b (patch) | |
tree | c9efc792f8edbaa084463d138bfd0b73adf1c14e /mail/qmail-scanner/files/patch-sub-spamassassin.pl | |
parent | Update from 1.3Beta3 to 1.4. Parts of the fixes are from Kopete to get (diff) |
Add qmail-scanner 1.20.r4, Content/Anti-virus Scanner for qmail.
Qmail-Scanner is e-mail content scanner that enables a qmail server to
scan all messages it receives for certain characteristics (normally viruses),
and react accordingly.
If you have a commercial virus scanner (eg, Sophos sweep, McAfee
uvscan, etc) installed when you build qmail-scanner, qmail-scanner
will configure itself to use that. Otherwise, it will only use its
internal content filter which only allows you to block mail based
on text in the subject/body, general types of attachments, etc.
WWW: http://qmail-scanner.sourceforge.net/
PR: 55941
Submitted by: moeti <freebsd@simplerezo.com>
Diffstat (limited to 'mail/qmail-scanner/files/patch-sub-spamassassin.pl')
-rw-r--r-- | mail/qmail-scanner/files/patch-sub-spamassassin.pl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mail/qmail-scanner/files/patch-sub-spamassassin.pl b/mail/qmail-scanner/files/patch-sub-spamassassin.pl new file mode 100644 index 000000000000..eae1990e2606 --- /dev/null +++ b/mail/qmail-scanner/files/patch-sub-spamassassin.pl @@ -0,0 +1,10 @@ +--- sub-spamassassin.pl.orig Mon Sep 29 04:17:22 2003 ++++ sub-spamassassin.pl Thu Dec 11 14:28:48 2003 +@@ -57,6 +57,7 @@ sub spamassassin { + $tag_score .= "SA:1($sa_score/$sa_max):"; + $sa_comment = "Yes, hits=$sa_score required=$sa_max" if ($spamc_options =~ /\-c/); + &debug("SA: yup, this smells like SPAM"); ++ $spam_event = 1; + } + $stop_spamassassin_time=[gettimeofday]; + $spamassassin_time = tv_interval ($start_spamassassin_time, $stop_spamassassin_time); |