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_dkim.cf < prev    next >
Text File  |  2006-11-29  |  2KB  |  50 lines

  1. # SpamAssassin - DKIM 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::DKIM plugin be loaded.
  26.  
  27. ifplugin Mail::SpamAssassin::Plugin::DKIM
  28.  
  29. header DKIM_SIGNED        eval:check_dkim_signed()
  30. header DKIM_VERIFIED        eval:check_dkim_verified()
  31. header DKIM_POLICY_TESTING    eval:check_dkim_testing()
  32. header DKIM_POLICY_SIGNSOME    eval:check_dkim_signsome()
  33. header DKIM_POLICY_SIGNALL    eval:check_dkim_signall()
  34.  
  35. tflags DKIM_SIGNED        net nice
  36. tflags DKIM_VERIFIED        net nice
  37. tflags DKIM_POLICY_SIGNSOME    net nice
  38. tflags DKIM_POLICY_SIGNALL    net nice
  39. tflags DKIM_POLICY_TESTING    net nice
  40.  
  41. describe DKIM_SIGNED            Domain Keys Identified Mail: message has a signature
  42. describe DKIM_VERIFIED        Domain Keys Identified Mail: signature passes verification
  43. describe DKIM_POLICY_SIGNSOME    Domain Keys Identified Mail: policy says domain signs some mails
  44. describe DKIM_POLICY_SIGNALL    Domain Keys Identified Mail: policy says domain signs all mails
  45. describe DKIM_POLICY_TESTING    Domain Keys Identified Mail: policy says domain is testing DK
  46.  
  47. # TODO: whitelist based on DKIM_VERIFIED results
  48.  
  49. endif   # Mail::SpamAssassin::Plugin::DKIM
  50.