#1  
Old 5th October 2006, 17:01
sneaky_russian sneaky_russian is offline
Junior Member
 
Join Date: Sep 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Spf

Does anyone know of any decent SPF how to's?

I keep getting stuck with it either rejecting all emails from domains without spf records, or with nothing happening at all

I would like to use it to prevent spammers using my domain name is sending out emails

i am right in thinking SPF can do this arent i?

Cheers everyone
Reply With Quote
Sponsored Links
  #2  
Old 5th October 2006, 19:35
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,158
Thanks: 4
Thanked 58 Times in 54 Posts
Default

You may want to have a look at this:

http://www.openspf.org/wizard.html
Reply With Quote
  #3  
Old 5th October 2006, 19:37
sneaky_russian sneaky_russian is offline
Junior Member
 
Join Date: Sep 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yeah thats what i used but i just couldnt get it working
Reply With Quote
  #4  
Old 6th October 2006, 15:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Why do you think it isn't working? Do you have problems with it?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 6th October 2006, 17:12
sneaky_russian sneaky_russian is offline
Junior Member
 
Join Date: Sep 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i just cant get the config right
either it rejects all emails from domains which do not have an SPF record or it does nothing at all
(mind you i was running Plesk when i tried all this)
I have now reinstalled with fedora 5 and no plesk
i have qmail running with courier imap and bind
i would like it setup so that it doesnt allow any servers (apart from my own)
to send mail using my domain name - can you also confirm that this is the right service i should be looking at??

TIA
Reply With Quote
  #6  
Old 6th October 2006, 17:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

You must put the SPF record in your domain's zone file. You don't have to configure your mail server.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 25th October 2006, 11:55
sneaky_russian sneaky_russian is offline
Junior Member
 
Join Date: Sep 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

tried that and was still getting the problems i mentioned before
Reply With Quote
  #8  
Old 26th October 2006, 13:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Can you post one of your zone files where you use SPF?
Are there any errors in your mail log?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 27th October 2006, 08:48
djtremors djtremors is offline
Senior Member
 
Join Date: Apr 2006
Location: Sydney
Posts: 278
Thanks: 0
Thanked 13 Times in 11 Posts
 
Default

You only modify your mail server if you want to check SPF protected mail coming in (block unauthorized MX senders) otherwise all your doing in the DNS is telling everyone who your mail senders for your domain is.

here is mine as an example which uses version 1 SPF and just says that only our MX records servers are the only ones who send mail out as companydomain.com.au, otherwise block the email if you get something from elsewhere.

PHP Code:
TXT SPF records
companydomain
.com.auIN TXT "v=spf1 a mx -all" 
for my server to check mail coming in, my /etc/postfix/master.cf has these lines.

PHP Code:
policy  unix  -       n       n       -       -       spawn
  user
=nobody argv=/usr/bin/perl /usr/libexec/postfix/smtpd-policy.pl 
my main.conf has this added to the section of 'smtpd_recipient_restrictions'

PHP Code:
            check_policy_service unix:private/policy
and of course "/usr/libexec/postfix/smtpd-policy.pl" must be installed.

hope this clears things up a little.

Last edited by djtremors; 27th October 2006 at 08:52.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SPF Record misterm Installation/Configuration 4 6th February 2008 16:02
SPF Record is not being created! vbrookie Installation/Configuration 1 28th September 2006 22:25
Problems with SPF configuration Joffar General 3 31st May 2006 15:05
SPF and reverse DNS for mail Lobanak Installation/Configuration 1 26th November 2005 17:34
How can I check whether SPF Record is running lexcomputer Installation/Configuration 1 12th October 2005 11:03


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


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