1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/mail/qmail-scanner1/files/patch-sub-spamassassin.pl
Sergei Kolobov 46a4563118 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>
2003-12-11 11:40:35 +00:00

11 lines
482 B
Perl

--- 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);