Hi Folks,
 
    I have just recently started using the package SA, in conjunction with Exim using the following directives in Exim from the list (Exim users will see its Nigel's and Dman's stuff):
 
Transport:
 
spamcheck:
  driver = pipe
  command = /usr/local/exim/bin/exim -oMr spam-scanned -bS
  transport_filter = /usr/bin/spamc -s 500000
  home_directory = "/etc/spamassassin"
  current_directory = "/etc/spamassassin"
  # must use a privileged user to set $received_protocol on the way back in!
  user = mail
  group = mail
  log_output = true
  return_fail_output = true
  prefix =
  suffix =
  bsmtp = all
  return_path_add = false
 
Director:
 
# Spam Assassin
spamcheck_director:
# When to scan a message :
#   -   it isn't already flagged as spam
#   -   it isn't already scanned
#   -   it didn't originate locally (as long as I don't harbor spammers :-))
   condition = "${if and { {!def:h_X-Spam-Flag:} {!eq {$received_protocol}{spam-scanned}}} {1}{0}}"
   driver = smartuser
   transport = spamcheck
 
 
    So I have a directory /etc/spamassassin and my question is what should I put in that for site-wide lookups, please note that the students and staff have no way of accessing the system except by the mail clients and we donot give them each a personal spamassassin.cf file in their home directory. I am confused, should I just have a user_prefs file and our own *.cf files containing rules and will the rest be taken care of via appending/methods in SA (appropriately) to the /usr/share/spamassassin directory rules ?
 
    SA is excellent and thanks for writing a cool program.
 
    Cheers,
 
        Aly.

Reply via email to