linccce

SPAMASSASIN BIT

Feb 20th, 2015
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.01 KB | None | 0 0
  1. #                          ORDER DOES MATTER                         #
  2. #   A local address is passed to each in turn until it is accepted.  #
  3. ######################################################################
  4.  
  5. # Local addresses are those with a domain that matches some item in the
  6. # "local_domains" setting above, or those which are passed back from the
  7. # routers because of a "self=local" setting (not used in this configuration).
  8.  
  9. .include_if_exists /etc/exim.spamassassin.conf
  10.  
  11.  
  12. # Spam Assassin
  13. #spamcheck_director:
  14. #  driver = accept
  15. #  condition = "${if and { \
  16. #                       {!def:h_X-Spam-Flag:} \
  17. #                       {!eq {$received_protocol}{spam-scanned}} \
  18. #                       {!eq {$received_protocol}{local}} \
  19. #                       {exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}} \
  20. #                       {<{$message_size}{500k}} \
  21. #               } {1}{0}}"
  22. #  retry_use_local_part
  23. #  transport = spamcheck
  24. #  no_verify
Advertisement
Add Comment
Please, Sign In to add comment