bvvelzen
Verified User
helo,
We have a DA server running with SpamAssassin 2.64.
The first question is do we need to upgrade or are virtual domain prefs also possible with this version?
Else, we tried to upgrade but it give's this error
So that doesn't work. Now we have the following settings in exim.conf. And our question is if this is correct, because it doesnt
work.
Thanx..
We have a DA server running with SpamAssassin 2.64.
The first question is do we need to upgrade or are virtual domain prefs also possible with this version?
Else, we tried to upgrade but it give's this error
PHP:
[root@oslo Mail-SpamAssassin-3.0.2]# perl Makefile.PL
What email address or URL should be used in the suspected-spam report
text for users who want more information on your filter installation?
(In particular, ISPs should change this to a local Postmaster contact)
default text: [the administrator of that system]
Check network rules during 'make test' (test scripts may fail due to
network problems)? (y/n) [n]
Warning: prerequisite Digest::SHA1 0 not found.
Warning: I could not locate your pod2man program. Please make sure,
your pod2man program is in your PATH before you execute 'make'
Writing Makefile for Mail::SpamAssassin
Makefile written by ExtUtils::MakeMaker 6.05
[root@oslo Mail-SpamAssassin-3.0.2]#
So that doesn't work. Now we have the following settings in exim.conf. And our question is if this is correct, because it doesnt
work.
PHP:
# Spam Assassin
spamcheck_director:
driver = accept
condition = "${if and { \
{!def:h_X-Spam-Flag:} \
{!eq {$received_protocol}{spam-scanned}} \
{!eq {$received_protocol}{local}} \
{exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}} \
} {1}{0}}"
retry_use_local_part
transport = spamcheck
no_verify
PHP:
# Spam Assassin
begin transports
spamcheck:
driver = pipe
batch_max = 100
command = /usr/sbin/exim -oMr spam-scanned -bS
current_directory = "/tmp"
group = mail
home_directory = "/tmp"
log_output
message_prefix =
message_suffix =
return_fail_output
no_return_path_add
transport_filter = /usr/bin/spamc -u ${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}}
use_bsmtp
user = mail
# must use a privileged user to set $received_protocol on the way back in!
Thanx..