[Exim] 4.30-6.amwoody.1 + spamassassin problem

Góra strony
Delete this message
Reply to this message
Autor: Andy Firman
Data:  
Dla: exim-users
Temat: [Exim] 4.30-6.amwoody.1 + spamassassin problem
I did the upgrade to Exim4 finally on one of my Debian stable
boxes using ametzler's backports. (thanks!)
I can't get spamassassin working and I am using this guide:
http://www.win.tue.nl/~martijna/Debianstuff/

Below I have pasted my router and transport, the packages
installed, the order of my routers, spamassassin defaults,
and I use dc_use_split_config='true'.

Since I think everything is setup right, the only thing I am
unsure about is the order of the routers.
In the /etc/exim4/conf.d/router directory, do I need to make
a change in the spamcheck_router filename?


coho:~# ls -al /etc/exim4/conf.d/router
2 root     root         4096 Mar 14 14:44 .
9 root     root         4096 Mar 15 10:12 ..
1 root     root          514 Feb 25 09:38 00_exim4-config_header
1 root     root          700 Feb 25 09:38 100_exim4-config_domain_literal
1 root     root         2079 Feb 25 09:38 200_exim4-config_primary
1 root     root          191 Feb 25 09:38 300_exim4-config_real_local
1 root     root         1073 Feb 25 09:38 400_exim4-config_system_aliases
1 root     root          440 Feb 25 09:38 500_exim4-config_hubuser
1 root     root         1968 Feb 25 09:38 600_exim4-config_userforward
1 root     root          251 Feb 25 09:38 700_exim4-config_procmail
1 root     root          323 Feb 25 09:38 800_exim4-config_maildrop
1 root     root          289 Mar 15 10:09 850_exim4-config_spamcheck_router
1 root     root          262 Feb 25 09:38 900_exim4-config_local_user
1 root     root          472 Feb 25 09:38 mmm_mail4root



These are installed:
exim4-base  4.30-6.amwoody.1
exim4-config 4.30-6.amwoody.1
exim4-daemon-heavy 4.30-6.amwoody.1
spamassassin  2.63-0.backports.org.1
spamc       2.63-0.backports.org.1


coho:~# cat /etc/default/spamassassin
ENABLED=1
OPTIONS="-m 10 -a"

coho:~# cat /etc/exim4/conf.d/router/850_exim4-config_spamcheck_router
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

coho:~# cat /etc/exim4/conf.d/transport/30_exim4-config_spamcheck
spamcheck:
driver = pipe
command = /usr/sbin/exim4 -oMr spam-scanned -bS
use_bsmtp = true
transport_filter = /usr/bin/spamc
home_directory = "/tmp"
current_directory = "/tmp"
user = Debian-exim
group = Debian-exim
log_output = true
return_fail_output = true
return_path_add = false
message_prefix =
message_suffix =



Thanks, Andy