[BlueOnyx:25853] Re: Mass SPF tool

neal pressman blueonyx at naitram.net
Tue Dec 27 14:59:15 -05 2022


quick script to check the vsites and see what does and does not have spf

#!/bin/bash

for i in $(ls -1 /home/sites); do

echo $i
dig $i txt | grep spf
done


--



---------- Original Message -----------
From: Chris Gebhardt - VIRTBIZ Internet <cobaltfacts at virtbiz.com>
To: BlueOnyx General Mailing List <Blueonyx at mail.blueonyx.it>
Sent: Tue, 27 Dec 2022 13:41:28 -0600
Subject: [BlueOnyx:25852] Mass SPF tool

> Hi All,
> 
> I'm sure everyone has noticed Google has begun rejecting mail 
> altogether if there's no SPF record.  Typically this isn't a big 
> issue since we have set up AutoDNS in BlueOnyx to pre-configure a 
> SPF record on new site creations.   However, it appears we have a 
> lot of hosted sites that pre-date that.  So now we're getting a 
> number of tickets from customers with bouncing mail.
> 
> We're tackling these on a break-fix basis at the moment.   We 
> would love to do something more proactive, but manually going 
> through each vsite and creating a default SPF seems.... tedious. 
> Especially when there may be multiple alias domains.
> 
> Does anyone have a good idea for an automated process that would 
> search through configured vsites and check DNS for an SPF, then if 
> there is not a SPF record, create a basic one allowing for email 
> sent from the server's IP address or subnet?
> 
> I know I'm fishing... but thought I'd ask before we start a really 
> tedious and brain-numbing process over here.
> 
> -- 
> Chris Gebhardt
> VIRTBIZ Internet Services
> Access, Web Hosting, Colocation, Dedicated
> www.virtbiz.com | toll-free (866) 4 VIRTBIZ
> 
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx
------- End of Original Message -------




More information about the Blueonyx mailing list