Greetings all,
I'm still attempting to install SpamAssassin onto my Linux box but get
the following message in the Exim_PanicLog for those messages seen as,
um..., unwanted:
2002-05-13 15:07:42 177Nwv-0005jv-00 == /tmp/spamcheck/ <message
filter> transporting defer (-1): No transport specified for local
delivery from system filter - check message_filter_file_transport or
message_filter_directory_transport
I'm not sure why a local delivery is attempted, my Exim installation
acts as a router/filter for my company's email server. Anyone have any
ideas? Thanks in advance.
Running processes:
{snip}
20647 ? S 0:00 /usr/local/bin/perl /usr/local/bin/spamd -d
-F 0 -L
20669 ? S 0:00 /usr/sbin/exim -bd -q1m
MyComputer:/etc/exim.filter
{snip}
# SpamAssassin Filter
if
$h_X-Spam-Status: contains "Yes"
or
"${if def:h_X-Spam-Flag {def}{undef}}" is "def"
then
logwrite "$tod_log From: $h_From: Subject: $h_Subject: Sender:
$sender_address"
save /tmp/spamcheck/
seen finish
endif
{snip}
MyComputer:/etc/exim.conf
{snip}
######################################################################
# TRANSPORTS CONFIGURATION #
######################################################################
# ORDER DOES NOT MATTER #
# Only one appropriate transport is called for each delivery. #
######################################################################
remote_smtp:
driver = smtp
local_delivery:
driver = appendfile
file = /var/mail/$local_part
delivery_date_add
envelope_to_add
return_path_add
group = mail
mode = 0660
address_pipe:
driver = pipe
return_output
address_file:
driver = appendfile
delivery_date_add
envelope_to_add
return_path_add
address_reply:
driver = autoreply
#
# Spam Assassin
#
# 02may2002, djg
#
spamcheck_transport:
# Adapted from
http://dman.ddts.net/~dman/config_docs/exim3_spamassassin.html and
list serves
driver = pipe
command = /usr/sbin/exim -oMr spam-scanned -bS
transport_filter = /usr/local/bin/spamc -p 783
bsmtp = all
# the user and group mail have read/write access to this folder
home_directory = "/tmp/spamcheck"
current_directory = "/tmp/spamcheck"
# must use a privileged user to set $received_protocol on the way back
in!
user = mail
group = mail
return_path_add = false
log_output = true
return_fail_output = true
prefix =
suffix =
######################################################################
# DIRECTORS CONFIGURATION #
# Specifies how local addresses are handled #
######################################################################
# ORDER DOES MATTER #
# A local address is passed to each in turn until it is accepted. #
######################################################################
system_aliases:
driver = aliasfile
file = /etc/aliases
search_type = lsearch
file_transport = address_file
pipe_transport = address_pipe
userforward:
driver = forwardfile
file = .forward
no_verify
no_expn
check_ancestor
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
localuser:
driver = localuser
transport = local_delivery
######################################################################
# ROUTERS CONFIGURATION #
# Specifies how remote addresses are handled #
######################################################################
# ORDER DOES MATTER #
# A remote address is passed to each in turn until it is accepted. #
######################################################################
spamcheck_router:
# from
http://dman.ddts.net/~dman/config_docs/exim3_spamassassin.html
# When to scan a message :
# - it isn't already scanned
condition = "${if eq {$received_protocol}{spam-scanned} {0}{1} }"
driver = domainlist
transport = spamcheck_transport
route_list = *
#This router routes to the internal Novell server for vernier.com
hubbed_hosts:
driver = domainlist
transport = remote_smtp
route_list = vernier.com ares.vernier.com byname
lookuphost:
driver = lookuphost
transport = remote_smtp
{snip}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David Gardner
Vernier Software & Technology
13979 SW Millikan Way
Beaverton, OR 97005-2886
phone: (503) 277-2299
fax: (503) 277-2440
email: dgardner@???
WWW:
http://www.vernier.com/