全部博文(1144)
分类: LINUX
2006-05-29 16:26:32
這幾天由於設置了spf,倒置163的郵件發不進來.呵呵,都幾天了,他們才說,真叫人奇怪,有點受不了,不過問題來了肯定是要解決的,看來自己今天還是很有靈感的,HOHO.
查了google 關於spf的設置.
到查看一下文檔,下載了(qmail-toaster-0.8.1.patch.bz2),解壓查看.spf的補丁好像在SPF rc5 by
進去一看
spfbehavior
Use this to turn on SPF checking. The default value is 0 (off).
You can specify a value between 0 and 6:
0: Never do SPF lookups, don't create Received-SPF headers
1: Only create Received-SPF headers, never block
2: Use temporary errors when you have DNS lookup problems
3: Reject mails when SPF resolves to fail (deny)
4: Reject mails when SPF resolves to softfail
5: Reject mails when SPF resolves to neutral
6: Reject mails when SPF does not resolve to pass
進服務器/var/qmail/ctontrol/spfbehavior
好像設置是3哦,我的服務器的設置阻當spam已夠強大了,其實不用這個東東都可以的.何必呢,設成1或0(我現在已設成0咯).其實早我就知道國內的服務器會出現報錯的,現在可好,不過問題已OK了,留著做個記錄吧.
對咯,嘿嘿發現 man qmail-smtpd不錯哦,能查到不少設置上的東西.