mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
46a4563118
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>
11 lines
482 B
Perl
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);
|