home *** CD-ROM | disk | FTP | other *** search
/ ftp.f-secure.com / 2014.06.ftp.f-secure.com.tar / ftp.f-secure.com / support / hotfix / fsis / IS-SpamControl.fsfix / iufssc / rules / 25_domainkeys.cf < prev    next >
Text File  |  2006-11-29  |  2KB  |  50 lines

  1. # SpamAssassin - DomainKeys rules
  2. #
  3. # Please don't modify this file as your changes will be overwritten with
  4. # the next update. Use @@LOCAL_RULES_DIR@@/local.cf instead.
  5. # See 'perldoc Mail::SpamAssassin::Conf' for details.
  6. #
  7. # <@LICENSE>
  8. # Copyright 2004 Apache Software Foundation
  9. #
  10. # Licensed under the Apache License, Version 2.0 (the "License");
  11. # you may not use this file except in compliance with the License.
  12. # You may obtain a copy of the License at
  13. #
  14. #     http://www.apache.org/licenses/LICENSE-2.0
  15. #
  16. # Unless required by applicable law or agreed to in writing, software
  17. # distributed under the License is distributed on an "AS IS" BASIS,
  18. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  19. # See the License for the specific language governing permissions and
  20. # limitations under the License.
  21. # </@LICENSE>
  22. #
  23. ###########################################################################
  24.  
  25. # Requires the Mail::SpamAssassin::Plugin::DomainKeys plugin be loaded.
  26.  
  27. ifplugin Mail::SpamAssassin::Plugin::DomainKeys
  28.  
  29. header DK_SIGNED        eval:check_domainkeys_signed()
  30. header DK_VERIFIED        eval:check_domainkeys_verified()
  31. header DK_POLICY_TESTING    eval:check_domainkeys_testing()
  32. header DK_POLICY_SIGNSOME    eval:check_domainkeys_signsome()
  33. header DK_POLICY_SIGNALL    eval:check_domainkeys_signall()
  34.  
  35. tflags DK_SIGNED        net nice
  36. tflags DK_VERIFIED        net nice
  37. tflags DK_POLICY_SIGNSOME    net nice
  38. tflags DK_POLICY_SIGNALL    net nice
  39. tflags DK_POLICY_TESTING    net nice
  40.  
  41. describe DK_SIGNED            Domain Keys: message has an unverified signature
  42. describe DK_VERIFIED        Domain Keys: signature passes verification
  43. describe DK_POLICY_SIGNSOME    Domain Keys: policy says domain signs some mails
  44. describe DK_POLICY_SIGNALL    Domain Keys: policy says domain signs all mails
  45. describe DK_POLICY_TESTING    Domain Keys: policy says domain is testing DK
  46.  
  47. # TODO: whitelist based on DK_VERIFIED results
  48.  
  49. endif   # Mail::SpamAssassin::Plugin::DomainKeys
  50.