Adding SPF records......please help


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Adding SPF records......please help
# 1  
Old 05-13-2008
Adding SPF records......please help

Does anybody know who I can set up SPR records? I've created a record and it says that I need to
Quote:
Paste this into your zone file:
xxxxxxxxx.com. IN TXT "v=spf1 ip4:xxx.xxx.xxx.xx a mx ~all"
and
Quote:
So this should also appear in DNS. You may or may not be in charge of the DNS for these entries; if you are, add them.

mail. xxxxxxxxx.com. IN TXT "v=spf1 a -all"
I logged into the server as the root users via ssh and typed in /var/named (which my host told me to do) but all it said was
Quote:
is a directory
I really need to add this because Microsoft is blocking emails from the site even though it's only an opt-in system

Thanks
# 2  
Old 05-13-2008
You don't usually even need to restart your named in order for the change to take effect, but without more information about what platform you are on and who managed to configure your DNS for you in the first place, we can't really guess where you have it.

As such, no SPF records in the world are going to help you from Microsoft blocking you. Primarily, SPF is a mechanism for preventing others from sending forged email in your domain's name. If that's a problem you are currently experiencing then definitely, deploy SPF, with a nice and tight policy like you have. (Do you understand the difference between -all and ~all? By all means use -all if you can.)
# 3  
Old 05-13-2008
No I don't understand the difference between -all and ~all.

It was Mircosoft who said I needed to set up the spf in the first place because the site isn't blacklisted at all, but still isn't going through to Hotmail addresses.

I think that it was the host who set up the DNS in the first place, but they said they don't give any help for SPF records and that I had to set it up myself
# 4  
Old 05-13-2008
Do you know where the zone files are and how to edit them?

Once you have that done, you can probably send a simple signal to bind to have it reread its configuration files without actually restarting completely. See its local manual page.

If your host offers some sort of web panel interface to the DNS interface, maybe you can even add TXT records through that, although it sounds like they already told you you have to do it by hand.

Keep in mind that the TTL on DNS will cause any change to take time to propagate. You can always query the authoritative server directly, but secondary servers will sit on their cached values for however long the TTL says they can.

Without information about your domain, it's hard to make an informed recommendation, but SPF -all is a stronger restriction than ~all. Assuming you are in a position to set and enforce a policy that nobody except the IP addresses you name are allowed to send email in your domain's name, you should be fine to use the stronger restriction.
# 5  
Old 05-13-2008
-all means hard reject, ~all - soft reject, here's a quote :
Quote:
~all : SPF queries that do not match any other mechanism will return "softfail". Messages that are not sent from an approved server should still be accepted but may be subjected to greater scrutiny. If you need tight control replace ~all with -all (hard fail).
For example, following recored the "a" and "mx" specify the systems permitted to send messages for the given domain. The "-all" at the end specifies that, if the previous mechanisms did not match, the message should be rejected.
Check the following :
host -t txt microsoft.com
Quote:
microsoft.com descriptive text "v=spf1 mx include:_spf-a.microsoft.com include:_spf-b.microsoft.com include:_spf-c.microsoft.com include:_spf-ssg-a.microsoft.com ~all"
Here's some general information.
# 6  
Old 05-13-2008
I don't know where the zone files are or even how to find them, although I do know how to edit them
# 7  
Old 05-13-2008
Well /var/named sounds like a good place to start looking.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Compare two files with different number of records and output only the Extra records from file1

Hi Freinds , I have 2 files . File 1 |nag|HYd|1|Che |esw|Gun|2|hyd |pra|bhe|3|hyd |omu|hei|4|bnsj |uer|oeri|5|uery File 2 |nag|HYd|1|Che |esw|Gun|2|hyd |uer|oi|3|uery output : (9 Replies)
Discussion started by: i150371485
9 Replies

2. Shell Programming and Scripting

adding line number to *end* of records in file

Given a file like this: abc def ghi I need to get to somestandardtext abc1 morestandardtext somestandardtext def2 morestandardtext somestandardtext ghi3 morestandardtext Notice that in addition to the standard text there is the line number added in as well. What I conceived is... (4 Replies)
Discussion started by: edstevens
4 Replies

3. Shell Programming and Scripting

Adding Header and Trailer records to a appended file

How can we a shell script and pass date parameters .I have 3 files comming from Datastage with |" delimited I need append 3 files as above: File1: P0000|"47416954|"AU|"000|"INS|"0000|"|"20060601|"99991231|"|"|"|"|"01 File 2:... (2 Replies)
Discussion started by: e1994264
2 Replies

4. IP Networking

Problem with forwarding emails (SPF problem)

Hi, This is rather a question from a "user" than from a sys admin, but I think this forum is apropriate for the question. I have an adress with automatic email forwarding and for some senders (two hietherto), emails are bouncing. This has really created a lot of problems those two time so I... (0 Replies)
Discussion started by: carwe
0 Replies

5. Shell Programming and Scripting

Adding existing set of records in the same file

I have a file with 50,000 records in it, i have a requirement to use the same 50,000 records and add them 4 times to the same file to make a total of 200,000 records. I was wondering how to do this using ksh. Any help is greatly appreciated. (2 Replies)
Discussion started by: vpv0002
2 Replies

6. IP Networking

Postfix SPF DNS problem

Hi I have a Postfix mail server in a Debian Linux network and used to be able to connect to it on port 25 via telnet. I also have working DNS on the server. I added this MX record to the DNS zone file: @ IN MX 10 server.c4.sysinst.ida.liu.se. It worked fine after that also but then... (3 Replies)
Discussion started by: jakethecake
3 Replies

7. UNIX for Dummies Questions & Answers

In BIND 9.3 DNS trying to get past the 256 char limit in SPF TXT records

One way I was told to do was incase strings in quotes. But I was given this option if I can get it to work. Will this work for splitting up SPF records? I am try to make bx.example.com reference spf.eu.***, spfa.eu.***, spfb.eu.***, and spfc.eu.***. spf.eu.example.com 3600 IN TXT "v=spf1... (0 Replies)
Discussion started by: tmanx
0 Replies

8. Shell Programming and Scripting

verifying column2 for same kind of records and adding corresponding values in column3

Hi am having a file which looks like this i want to get unique values in column2 and sum up the corresponding column3 values and discard the column4 and then write the output in different file. i.e the output has to be like i.e 07-Jun-2009 919449829088 52 lessrv1 07-Jun-2009... (2 Replies)
Discussion started by: aemunathan
2 Replies

9. UNIX for Dummies Questions & Answers

Bash script to extract spf records

Hello I am trying to generate a script to run on worldwide firewalls. I need the spf block for large sites like google, etc so I can essentially whitelist google sites for users. (Google here is just an example...) Right now I am just testing Bash oneliners to see how I can isolate the... (1 Reply)
Discussion started by: mbubb
1 Replies

10. Shell Programming and Scripting

Based on num of records in file1 need to check records in file2 to set some condns

Hi All, I have two files say file1 and file2. I want to check the number of records in file1 and if its atleast 2 (i.e., 2 or greater than 2 ) then I have to check records in file2 .If records in file2 is atleast 1 (i.e. if its not empty ) i have to set some conditions . Could you pls... (3 Replies)
Discussion started by: mavesum
3 Replies
Login or Register to Ask a Question