HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Feature Requests (http://www.howtoforge.com/forums/forumdisplay.php?f=17)
-   -   -all in SPF option? (http://www.howtoforge.com/forums/showthread.php?t=15211)

edge 31st August 2007 13:59

-all in SPF option?
 
Anyone here who might know how to get the "-all" option set within the ISPconfig SPF record option?

The closest that I can get to a "-all" is "~all", and this does make a big difference

till 1st September 2007 15:12

First, sorry for the late reply. I had to have a look at the ISPConfig sources first :)

There is no easy way to change this. If you have a look at the file /root/ispconfig/scripts/lib/ispconfig_bind.lib.php you might change it around line 258

edge 1st September 2007 15:25

Thanks till,

Maybe it's a nice feature for the next version of ISPconfig?

Something like some preset SPF records option, where the admin can make a selection of some preset SPF's?

Quote:

option1: Allow domain's MXes to send mail for the domain, prohibit all others.
v=spf1 mx -all

option2: The domain sends no mail at all.
v=spf1 -all

option3: The domain owner thinks that SPF is useless and/or doesn't care.
v=spf1 +all

etc...
etc..

till 1st September 2007 15:36

Thats a nice idea. I moved this thread to the feature request forum.

wr19026 13th September 2007 22:06

Quote:

Originally Posted by till
Thats a nice idea. I moved this thread to the feature request forum.

As I can't get SPF records to work for domains I hosted prior to ISPConfig supporting this, would it be possible to make this available for existing domains as well?

falko 14th September 2007 18:19

You can't create SPF records for domains (with a recent ISPConfig version) that you created with an old ISPConfig version that didn't support SPF? :confused:

koffiejunkie 15th September 2007 18:16

To add to the feature request part of this thread, it would be really nice if there was an option to just enter the spf record manually, instead of using the web form. The reason for this is to make migrations easier. It's far quicker and less error-prone to copy and paste from old zone files than to have to interpret the current ones and fill out the form. Especially if users are doing it themselves.

tensor 3rd December 2007 23:09

Currently there is a code to check for all_.


if($spfrecord['all_'] == 1){
$spf .= '~all';
} else {
$spf .= '?all';
}

Is it possible to add 2 to mean "-all" and 3 to mean "+all"?

k3n 27th February 2010 22:09

don't create the spf entry with ispconfig, then add your spf entry
to your bind pri.example.com files:
;;;; MAKE MANUAL ENTRIES BELOW THIS LINE! ;;;;
example.com. TXT "v=spf1 a -all"


All times are GMT +2. The time now is 03:32.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.