Bug#989541: postfix-policyd-spf-perl: openspf.org doesn't exist, shouldn't give it in bounce messages

2022-11-22 Thread Alexander Bech
On Mon, 07 Jun 2021 14:22:48 +1000 Russell Coker  
wrote:

> Package: postfix-policyd-spf-perl
> Version: 2.011-1.1
> Severity: normal
>
> 
https://www.getmailbird.com/what-spf-resources-are-available-now-that-openspf-org-is-gone/

>
> According to the above URL openspf.org disappeared in early 2019.
>
> Jun 7 05:18:38 itmustbe postfix/policy-spf[2667136]: Policy 
action=550 Please see 
http://www.openspf.org/Why?s=mfrom;id=%40XXX.X.net;ip=999.99.999.99;r=luv.asn.au

>
> Currently messages like the above are being logged and given in bounce
> messages. It should either direct to another site that gives the same
> results as openspf.org used to give, or it should give a human readable
> message like "Please note that IP 999.99.999.99 is not allowed to 
send mail

> on behalf of x...@xxx.x.net due to SPF policy".
>
> -- System Information:
> Debian Release: 11.0
> APT prefers testing
> APT policy: (500, 'testing')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 5.10.0-5-amd64 (SMP w/3 CPU threads)
> Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en

> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: SELinux: enabled - Mode: Enforcing - Policy name: default
>
> Versions of packages postfix-policyd-spf-perl depends on:
> ii adduser 3.118
> ii libmail-spf-perl 2.9.0-5
> ii libnetaddr-ip-perl 4.079+dfsg-1+b5
> ii libsys-hostname-long-perl 1.5-2
> ii perl [libversion-perl] 5.32.1-4
> ii postfix 3.5.6-1+b1
>
> postfix-policyd-spf-perl recommends no packages.
>
> postfix-policyd-spf-perl suggests no packages.
>
> -- no debconf information
>
>

Hi,

with mxtoolbox.com it works fine:

https://mxtoolbox.com/SuperTool.aspx?action=spf:birthdays%40facebookmail.com:85.13.142.208


--- /usr/sbin/postfix-policyd-spf-perl.orig    2022-11-21 
20:46:17.060165029 +0100
+++ /usr/sbin/postfix-policyd-spf-perl    2022-11-21 21:44:46.205333596 
+0100

@@ -61,7 +61,7 @@
 hostname => $MailName,
 query_rr_types  => Mail::SPF::Server->query_rr_type_txt,
 default_authority_explanation  =>
-    'Please see 
http://www.openspf.net/Why?s=%{_scope};id=%{S};ip=%{C};r=%{R}'

+    'Please see https://mxtoolbox.com/SuperTool.aspx?action=spf:%{S}:%{C}'
 );

 # Adding more handlers is easy:



Bug#989541: postfix-policyd-spf-perl: openspf.org doesn't exist, shouldn't give it in bounce messages

2021-06-07 Thread Russell Coker
Package: postfix-policyd-spf-perl
Version: 2.011-1.1
Severity: normal

https://www.getmailbird.com/what-spf-resources-are-available-now-that-openspf-org-is-gone/

According to the above URL openspf.org disappeared in early 2019.

Jun  7 05:18:38 itmustbe postfix/policy-spf[2667136]: Policy action=550 Please 
see 
http://www.openspf.org/Why?s=mfrom;id=%40XXX.X.net;ip=999.99.999.99;r=luv.asn.au

Currently messages like the above are being logged and given in bounce
messages.  It should either direct to another site that gives the same
results as openspf.org used to give, or it should give a human readable
message like "Please note that IP 999.99.999.99 is not allowed to send mail
on behalf of x...@xxx.x.net due to SPF policy".

-- System Information:
Debian Release: 11.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-5-amd64 (SMP w/3 CPU threads)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Enforcing - Policy name: default

Versions of packages postfix-policyd-spf-perl depends on:
ii  adduser3.118
ii  libmail-spf-perl   2.9.0-5
ii  libnetaddr-ip-perl 4.079+dfsg-1+b5
ii  libsys-hostname-long-perl  1.5-2
ii  perl [libversion-perl] 5.32.1-4
ii  postfix3.5.6-1+b1

postfix-policyd-spf-perl recommends no packages.

postfix-policyd-spf-perl suggests no packages.

-- no debconf information