Articles tagged email

How to add SPF TXT record to djbDNS
Dorren_mii_thumb by dorren, 01/15/2008

Introduction

If email sent out from your server always lands in yahoo, hotmail, and gmail's spam folder, this might help.

SPF stands for Sender Policy Framework, a mechanism to detect sender address forgery. when gmail receives a email that has sender address xyz@wuyasea.com, it checks the DNS record to see what's published mail server name and ip for wuyaSea.com, if email's header matches, then it's not marked as spam. For detail, goto openspf.org

Install

I used a ander's script, which generated this SPF string for my domain,
'wuyasea.com:v=spf1\040mx\040\040-all:86400
copy this string into your tinydns/data file, and then restart djbdns processes.

Verification

To check if this is really working or not, install the perl SPF checker.
emerge  dev-perl/Mail-SPF-Query
spfquery -m mailbot@wuyasea.com -h mail.wuyasea.com -i 11.22.33.44

If you see "Received-SPF: pass" in the result, you're golden.

References

http://www.openspf.org/SPF_Record_Syntax
http://www.anders.com/projects/sysadmin/djbdnsRecordBuilder/
http://cr.yp.to/djbdns/tinydns-data.html
Views: 1496   Replies: 0   Tags: email
 




login or sign up to participate.
Money_dollar moneywill