||include||style.htm|| ||include||body.htm||

$$SPF Sender Policy Framework - Test Page$$

$$SPF Is a mechanism to prevent spammers pretending to be 'you' and it also allows you to stop accepting email from spammers who are pretending to be someone else, this will greatly reduce spam on your system. This page lets you test SPF records for your own and other domains to see how they work. For more info see$$ http://netwinsite.com/spf.htm

||do_spf_test||

$$IP address$$ $$From$$ $$Pretend SPF Record (optional)$$
eg. 2.3.4.5 test@google.com  

$$To see how SPF processing works give an ip address (e.g. 2.3.4.5 this is the address of the system we are pretending is sending an email to your system) and a 'from' email address (test@google.com). Then press 'Test' and SurgeMail will process the SPF record and show a detailed log of what it looked up and what match it finds (if any)$$.

$$You can enter a 'fake' SPF record as well, this is useful if you want to try and understand how a new SPF record would work for your domain before you actually add it to your DNS server$$.

$$Please note, although we have attempted to implement the SPF RFC's accurately, it should not be assumed that just because an SPF works on this page it will also work on all other servers in the world. This may be due to a fault in this spf processor, or in one of the many other SPF implementations$$.

$$A simple example SPF record$$

$$We strongly recommend you keep it simple. And start with IP4 rules which are more efficient. Fancy SPF records are much more likely to fail, if possible use IP4 rules for your primary mail servers. e.g.$$

 	v=spf1 ip4:1.2.3.4/24 a mx -all
$$Token$$ $$Explanation$$
v=spf1 $$Version of SPF syntax$$
ip4:1.2.3.4/24 $$Allow any ip address$$ 1.2.3.0-1.2.3.255 ($$change to match your own mail server ip address$$)
a $$Allow any ip which matches the IP address of this domain (doing a simple 'a' lookup)$$
mx $$Allow any ip which matches the IP address of a mail server that accepts incoming mail for this domain$$.
-all $$Block any mail from an ip other than those listed above$$




$$Also try$$: