Subversion Repositories sa-exim

Compare Revisions

Ignore whitespace Rev 80 → Rev 81

/trunk/debian/changelog
22,8 → 22,11
first. Normally, /var/spool/sa-exim is then empty and can be removed
without asking the user, avoiding leaving unowned files (Closes:
#657140).
* greylist-lint.patch: disable greylisting plugin during spamassassin
--lint to avoid warnings about missing headers (Closes: #760860).
Thanks to Chaskiel Grundman.
 
-- Magnus Holmgren <holmgren@debian.org> Fri, 22 Jul 2016 10:51:55 +0200
-- Magnus Holmgren <holmgren@debian.org> Fri, 22 Jul 2016 10:58:46 +0200
 
sa-exim (4.2.1-14) unstable; urgency=low
 
/trunk/debian/patches/greylist-lint.patch
0,0 → 1,17
From: Chaskiel Grundman <cg2v@andrew.cmu.edu>
Subject: Prevent warnings during spamassassin --lint
Bug: https://bugs.debian.org/760860
 
--- a/Greylisting.pm
+++ b/Greylisting.pm
@@ -65,6 +65,10 @@ sub greylisting
my $dontcheckscore;
my %option;
+ if ($self->{main}->{lint_rules}) {
+ Mail::SpamAssassin::Plugin::dbg("GREYLISTING: disabled while linting");
+ return 0;
+ }
Mail::SpamAssassin::Plugin::dbg("GREYLISTING: called function");
$optionhash =~ s/;/,/g;
/trunk/debian/patches/series
7,3 → 7,4
readme.patch
reproducible-build.patch
greylisting-ipv6.patch
greylist-lint.patch