saros

Active Member
Aug 28, 2013
30
0
6
cPanel Access Level
Root Administrator
with the command:

Code:
/usr/local/cpanel/bin/spf_installer user
I add the main IP as SPF...


How do I add all my IPS with this command ?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

The SPF record configured by cPanel will use the main server IP address. This is by design. The use of "+a" and "+mx" in the SPF record accounts for the possibility the domain name is assigned a dedicated IP address.

Thank you.
 

saros

Active Member
Aug 28, 2013
30
0
6
cPanel Access Level
Root Administrator
http://forums.cpanel.net/f5/external-mail-server-spf-207622.html#post852381


my $mainip = 'IP1,IP2,IP3' ????


--------------------
SPF dns record for external mail server or mail server on dedicated IP

Does is possible to add another field under WHM >> Main >> Server Configuration >> Tweak Settings >> Mail , where we can enter (one or more) IP's that will be automatically added to SPF dns record when spf is enabled?

Currently main problem is when SPF is enabled, SPF dns txt record is created only with main shared IP, but if we use one or more external mail servers we need manually add mail server IP's to the SPF record.

One option under WHM tweak settings where we can add one or more IP's that will be automatically added to SPF record when is enabled will be very usefull. Not only for us but for everyone who runs mail server on the other IP than the main shared server IP.
 
Last edited: