SPF checks on Mailscanner

Shawn Iverson shawniverson at summitgrid.com
Sat Feb 5 19:35:58 UTC 2022


Since this is concerning pypolicyd-spf and python-pyspf, unless somehow 
MailScanner is at play here, I don't think this is a MailScanner issue.  
Can you bypass MailScanner and test again?

On 2/5/22 11:13, Pramod Daya via MailScanner wrote:
>
> Hi Folks,
>
> Running MailScanner 5.3.4-3 on Centos 7, I’m using, for SPF checking:
>
> pypolicyd-spf-1.3.2-5.el7.noarch
>
> python-pyspf-2.0.14-13.el7.noarch
>
> Using these policyd-spf.conf settings:
>
> debugLevel = 2
>
> defaultSeedOnly = 1
>
> HELO_reject = SPF_Not_pass
>
> Mail_From_reject = Fail
>
> PermError_reject = False
>
> TempError_Defer = False
>
> skip_addresses = 127.0.0.0/8,::ffff:127.0.0.0/104,::1
>
> Which seems to work fine, as it issues warnings to servers that aren’t 
> authorised to send for domains that don’t have SPF records set up 
> correctly.  However, when I do a command line test from a remote 
> (unauthorised) server to send mail through this server, it happily 
> accepts the mail, even though the unauthorised server is not in the 
> SPF list.  The sending server is not whitelisted, I can’t understand 
> why it doesn’t get rejected by the SPF check.
>
> Some advice or pointers would be greatly appreciated.
>
> Thank you.
>
> *___________________________________________________*
>
> *Pramod Daya*/(/CEO)
>
> /M.Sc. Computer Science (U. of Oregon)/
>
> Unit 5, Melomed Office Park
>
> Punters Way, Kenilworth
>
> Cape Town, South Africa 7708
>
> www.mindspring.co.za <http://www.mindspring.co.za/>
>
> 	
>
> ****
>
> *Work: * +27 21 657 1780
>
> *Fax: *+27 21 671 7599
>
> *Cell:*+27 83 675 0367
>
> pramod at mindspring.co.za <mailto:pramod at mindspring.co.za>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20220205/30fdf9f6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 5989 bytes
Desc: not available
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20220205/30fdf9f6/attachment.png>


More information about the MailScanner mailing list