c44f0a48e58694478717b83e016369c69aa1bc24
[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
11 home_directory = "/tmp/exim4"
12 current_directory = "/tmp/exim4"
13 user = Debian-exim
14 group = Debian-exim
15 return_fail_output
16 message_prefix =
17 message_suffix =
18 headers_remove = X-Spam-Flag:X-Spam-Status:X-Spam-Level