33 lines
1.1 KiB
Text
33 lines
1.1 KiB
Text
--- ./postfix-policyd-spf-perl.orig 2012-06-18 03:50:55.000000000 +0000
|
|
+++ ./postfix-policyd-spf-perl 2014-05-08 00:22:28.000000000 +0000
|
|
@@ -284,7 +284,7 @@
|
|
$attr->{helo_name} || '<UNKNOWN>'
|
|
);
|
|
};
|
|
- return "550 $helo_authority_exp";
|
|
+ return "%%SPF_FAIL%% $helo_authority_exp";
|
|
}
|
|
elsif ($helo_result->is_code('temperror')) {
|
|
if ($VERBOSE) {
|
|
@@ -294,7 +294,7 @@
|
|
$attr->{helo_name} || '<UNKNOWN>'
|
|
);
|
|
};
|
|
- return "DEFER_IF_PERMIT SPF-Result=$helo_local_exp";
|
|
+ return "%%SPF_TEMPERROR%% SPF-Result=$helo_local_exp";
|
|
}
|
|
elsif ($attr->{sender} eq '') {
|
|
if ($VERBOSE) {
|
|
@@ -368,10 +368,10 @@
|
|
);
|
|
};
|
|
if ($mfrom_result->is_code('fail')) {
|
|
- return "550 $mfrom_authority_exp";
|
|
+ return "%%SPF_FAIL%% $mfrom_authority_exp";
|
|
}
|
|
elsif ($mfrom_result->is_code('temperror')) {
|
|
- return "DEFER_IF_PERMIT SPF-Result=$mfrom_local_exp";
|
|
+ return "%%SPF_TEMPERROR%% SPF-Result=$mfrom_local_exp";
|
|
}
|
|
else {
|
|
return "PREPEND $mfrom_spf_header"
|