Routine update.
[hcoop/zz_old/config/exim4-hopper.git] / conf.d / transport / 20_exim4-config_spamcheck
1 # hcoop-change: Pass email through spamc, back through exim again,
2 # marking it as scanned. Also, remove any pre-existing X-Spam
3 # headers from the message.
4
5 spamcheck:
6 debug_print = "T: spamassassin_pipe for $local_part@$domain"
7 driver = pipe
8 command = /usr/sbin/exim4 -oMr spam-scanned -bS
9 use_bsmtp
10 transport_filter = /usr/bin/spamc -x
11 home_directory = "/tmp/exim4"
12 current_directory = "/tmp/exim4"
13 user = Debian-exim
14 group = Debian-exim
15 return_fail_output = true
16 return_path_add = false
17 log_fail_output = true
18 temp_errors = *
19 timeout = 5m
20 timeout_defer = true
21 message_prefix =
22 message_suffix =
23 headers_remove = X-Spam-Flag:X-Spam-Status:X-Spam-Level