Greetings,
    I've been trying to configure Exim 4.1x to call SA via it's config file, and have tried the posted configurations with no success. Exim passes mail fine, however it never gets processed by SA during the proceedure. The following is my exim config file for that machine...any ideas?
 
Thanks,
David
 
 
 
 
Transport
 
# Spam Assassin
spamcheck:
    driver = pipe
    command = /usr/sbin/exim -oMr spam-scanned -bS
    use_bsmtp = false
    transport_filter = /usr/bin/spamc
    home_directory = "/tmp"
    current_directory = "/tmp"
    # must use a privileged user to set $received_protocol on the way back in!
    user = exim
    group = exim
    log_output = true
    return_fail_output = true
    return_path_add = false
    message_prefix =
    message_suffix =
 
Router
 
# Spam Assassin
spamcheck_router:
  no_verify
  check_local_user
  # When to scan a message :
  #   -   it isn't already flagged as spam
  #   -   it isn't already scanned
  condition = "${if and { {!def:h_X-Spam-Flag:} {!eq {$received_protocol}{spam-scanned}}} {1}{0}}"
  driver = accept
  transport = spamcheck
 

Reply via email to