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

  1. # SpamAssassin rules file: default DKIM whitelists
  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. # Licensed under the Apache License, Version 2.0 (the "License");
  10. # you may not use this file except in compliance with the License.
  11. # You may obtain a copy of the License at
  12. #     http://www.apache.org/licenses/LICENSE-2.0
  13. # Unless required by applicable law or agreed to in writing, software
  14. # distributed under the License is distributed on an "AS IS" BASIS,
  15. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16. # See the License for the specific language governing permissions and
  17. # limitations under the License.
  18. # </@LICENSE>
  19.  
  20. ###########################################################################
  21. # DKIM whitelist rules
  22.  
  23. ifplugin Mail::SpamAssassin::Plugin::DKIM
  24.  
  25. header USER_IN_DKIM_WHITELIST    eval:check_for_dkim_whitelist_from()
  26. describe USER_IN_DKIM_WHITELIST    From: address is in the user's DKIM whitelist
  27. tflags USER_IN_DKIM_WHITELIST    userconf nice noautolearn net
  28.  
  29. header USER_IN_DEF_DKIM_WL    eval:check_for_def_dkim_whitelist_from()
  30. describe USER_IN_DEF_DKIM_WL    From: address is in the default DKIM white-list
  31. tflags USER_IN_DEF_DKIM_WL    userconf nice noautolearn net
  32.  
  33. meta ENV_AND_HDR_DKIM_MATCH    (USER_IN_DEF_DKIM_WL && __ENV_AND_HDR_FROM_MATCH)
  34. describe ENV_AND_HDR_DKIM_MATCH    Env and Hdr From used in default DKIM WL Match
  35. tflags ENV_AND_HDR_DKIM_MATCH    userconf nice noautolearn net
  36.  
  37. ###########################################################################
  38. # Default whitelists.  These should be addresses which send mail that is often
  39. # tagged (incorrectly) as spam; it also helps that they be addresses of big
  40. # companies with lots of lawyers, so if spammers impersonate them, they'll get
  41. # into big trouble, so it doesn't provide a shortcut around SpamAssassin.
  42. #
  43. # Whitelist and blacklist addresses are now file-glob-style patterns, so
  44. # "friend@somewhere.com", "*@isp.com", or "*.domain.net" will all work.
  45. #
  46. # Please do not add unmoderated public mailing lists here.  They are
  47. # too easily abused by spammers.
  48.  
  49.  
  50. # add whitelisted by default domains using DKIM here
  51.  
  52.  
  53. endif # Mail::SpamAssassin::Plugin::DKIM
  54.