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 / 20_net_tests.cf < prev    next >
Text File  |  2006-11-29  |  2KB  |  57 lines

  1. # SpamAssassin rules file: body tests
  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. # Note: body tests are run with long lines, so be sure to limit the
  8. # size of searches; use /.{0,30}/ instead of /.*/ to avoid huge
  9. # search times.
  10. #
  11. # Note: If you are adding a rule which looks for a phrase in the body
  12. # (as most of them do), please add it to rules/20_phrases.cf instead.
  13. #
  14. # <@LICENSE>
  15. # Copyright 2004 Apache Software Foundation
  16. # Licensed under the Apache License, Version 2.0 (the "License");
  17. # you may not use this file except in compliance with the License.
  18. # You may obtain a copy of the License at
  19. #     http://www.apache.org/licenses/LICENSE-2.0
  20. # Unless required by applicable law or agreed to in writing, software
  21. # distributed under the License is distributed on an "AS IS" BASIS,
  22. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  23. # See the License for the specific language governing permissions and
  24. # limitations under the License.
  25. # </@LICENSE>
  26. #
  27. ###########################################################################
  28.  
  29. #require_version @@VERSION@@
  30.  
  31. # ---------------------------------------------------------------------------
  32. # Message digest tests
  33.  
  34. # bug 2220. nice results
  35. meta DIGEST_MULTIPLE        RAZOR2_CHECK + DCC_CHECK + PYZOR_CHECK > 1
  36. describe DIGEST_MULTIPLE    Message hits more than one network digest check
  37. tflags DIGEST_MULTIPLE        net
  38. #reuse DIGEST_MULTIPLE
  39.  
  40. # ---------------------------------------------------------------------------
  41. # Other DNS tests
  42.  
  43. header NO_DNS_FOR_FROM        eval:check_dns_sender()
  44. describe NO_DNS_FOR_FROM    Envelope sender has no MX or A DNS records
  45. tflags NO_DNS_FOR_FROM        net
  46. #reuse NO_DNS_FOR_FROM
  47.  
  48. # this variant uses a DNS reverse lookup.  so now we can use a version
  49. # of this test without a net connection (ROUND_THE_WORLD_LOCAL)
  50. header ROUND_THE_WORLD        eval:check_for_round_the_world_received_revdns()
  51. describe ROUND_THE_WORLD    Received: says mail sent around the world (DNS)
  52. tflags ROUND_THE_WORLD        net
  53. #reuse ROUND_THE_WORLD
  54.