Edit SPF records of all accounts.

Arkaic

Active Member
Jun 23, 2015
42
8
58
United Kingdom
cPanel Access Level
Root Administrator
Hello there,

Any recommendations for a particular command or script to mass update the SPF records of all accounts on a server?

A servers main IP address was blacklisted and we need to get mail going again, therefore we have changed the outbound mail IP via /etc/mailips etc however now need to update (or insert a new ip4:entry) each SPF record.

Any advice is appreciated.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,226
463
A servers main IP address was blacklisted and we need to get mail going again, therefore we have changed the outbound mail IP via /etc/mailips etc however now need to update (or insert a new ip4:entry) each SPF record.
Hello :)

The following thread should help:

rebuild spf records

Thank you.