Spamassassin is not visible on DirectAdmin

DRKT

Verified User
Joined
Oct 8, 2003
Messages
198
Hi!

I installed the file ./spam.sh (/usr/local/directadmin/scripts) and I answered YES the question and thereafter I was in DA and the Spamassassin link is not available. Why?

Thanks!
 
Search the file for either

SpamAssassin

or

Spam Assassin

and you'll find a section that's commented out.

You need to uncomment the lines.

It's self-documenting.

Jeff
 
ok! I have 2 sections:

First:
--------------------
# Spam Assassin
spamcheck_director:
driver = accept
condition = "${if and { {!def:h_X-Spam-Flag:} {!eq {$received_protocol}{spam-scanned}} {!eq {$received_protocol}{local}} } {1}{0}}"
retry_use_local_part
transport = spamcheck
no_verify

--------------------

Second:
--------------------

# 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!

--------------------

i change what?

Thanks!
 
You're not running a recent version of exim.conf.

Please post the top ten lines of your /etc/exim.conf file and the output of this command:

ls -al /etc/exim.*

Jeff
 
######################################################################
# Runtime configuration file for Exim #
######### IMPORTANT ########## IMPORTANT ########## IMPORTANT ########
# WARNING! Be sure to back up your previous exim.conf file before #
# attempting to use this exim.conf file. #
# #
# Do may not use this exim.conf Exim configuration file unless you #
# make the required modifications to your Exim configuration #
# following the instructions found below, in the section marked #
# "MODIFICATION INSTRUCTIONS". #
# #
# This is version "RSS-1.0da" of the exim.conf file as distributed #
# by nobaloney.net. #


---------------------------
-rwxr-xr-x 1 root root 948 Oct 21 2004 /etc/exim.cert
-rw-r--r-- 1 root root 40199 Aug 24 00:51 /etc/exim.conf
-rw-r--r-- 1 root root 40127 May 16 04:20 /etc/exim.conf_160605
-rw-r--r-- 1 root root 16744 Jul 25 2003 /etc/exim.conf.back
-rw-r--r-- 1 root root 23386 Oct 21 2004 /etc/exim.conf_old
-rwxr-xr-x 1 root root 40124 Oct 21 2004 /etc/exim.conf.rpmnew
-rwxr-xr-x 1 root root 891 Oct 21 2004 /etc/exim.key
-rwxr-xr-x 1 root root 5553 Oct 24 2004 /etc/exim.pl
-rwxr-xr-x 1 root root 5355 May 4 22:23 /etc/exim.pl.1.24.0.back
 
Last edited:
All appears up-to-date; you might want to check with DirectAdmin support.

Jeff
 
Back
Top