Hi, all.

I use pypolicyd-spf for SPF. But i don't know whether it was correct.

pypolicyd-spf writes mail header in every mail, e.g.

----8<-------------
Received-SPF: Pass (sender SPF authorized) 
identity=mailfrom;client-ip=209.85.142.185;helo=ti-out-0910.google.com; 
[EMAIL PROTECTED];[EMAIL PROTECTED]
----8<-------------


And i appended these lines in SpamAssassin(local.cf):

----8<-------------
header SPF_CHECK_FAIL Received-SPF =~ /^fail/
describe SPF_CHECK_FAIL SPF reports sender host as NOT permitted
score SPF_CHECK_FAIL 0.75

header SPF_CHECK_PASS Received-SPF =~ /^pass/
describe SPF_CHECK_PASS SPF reports sender host as permitted sender
score SPF_CHECK_PASS -2.5
----8<-------------

I set 'log_level = 5;' in amavisd.conf, but i can't find any 'spf'
string in log file.

What's wrong with it? Am i missing something?

Thanks very much.

-- 
Best Regards.

Zhang Huangbin

- Mail Server Solution for Red Hat(R) Enterprise Linux & CentOS 5.x:
  http://rhms.googlecode.com/


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to