Zhang, > 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. > Received-SPF: Pass (sender SPF authorized) > identity=mailfrom;client-ip=209.85.142.185;helo=ti-out-0910.google.com; > [EMAIL PROTECTED];[EMAIL PROTECTED]
> And i appended these lines in SpamAssassin(local.cf): > 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 > 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? Case sensitivity: Pass != pass Either add the case-insensitivity flag to a regexp: header SPF_CHECK_FAIL Received-SPF =~ /^fail/i or use proper case in a regexp. Mark ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
