Hi all,

I recently got around to installing spam assassin 2.60 and getitng it
tunning. My config is a 2.2.16 kernel, with updated perl etc al. packages.
My MTA is EXIM. I have added the exim config changes to internally handle
the mail so I don't have to play with .procmailrc's as follows...
######################################################################
#                      TRANSPORTS CONFIGURATION                      #
######################################################################
#                       ORDER DOES NOT MATTER                        #
#     Only one appropriate transport is called for each delivery.    #
######################################################################
spamcheck:
  driver = pipe

  command = /usr/sbin/sendmail -oMr spam-scanned -bS
  transport_filter = /usr/bin/spamc

  bsmtp = all

  home_directory = "/tmp"
  current_directory = "/tmp"
# must use a privilages user to set $received_protocol
# in the second exim process!
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.  #
######################################################################

# SpamAssassin
spamcheck_director:

# do not use this director when verifying a local-part at SMTP-time
no_verify

# When to scan a message:
#       -       it isn't already flagged as spam
#       -       it isn't already scanned
#       -       it didn't originate locally (as long as I dont harbour
spammers)
condition = "${if and { {!def:h_X-Spam-Flag:} {!eq
{$received_protocol}{spam-scanned}} {!eq {$received_protocol}{local}} }
{1}{0}}"
driver = smartuser
transport = spamcheck

SA is running, and is properly taging the content of my messages as spam,
giving me the detailed rules the spam breaks et al. So I know the above
changes in my exim config file work. What it is NOT doing is tagging the
subject as *****SPAM*****, so I am missing some sort of configuration.

I took a quick look in the config files, and noticed the following...

In 10_misc.cf   under /usr/share/spamassassin

#rewrite_subject       0
# report_safe           1
#subject_tag           *****SPAM*****
# use_terse_report      0
# skip_rbl_checks       0
# check_mx_attempts     2
# check_mx_delay        5

So, I simply removed the hashes from a couple of lines as follows...

rewrite_subject       1
# report_safe           1
subject_tag           *****SPAM*****
# use_terse_report      0
# skip_rbl_checks       0
# check_mx_attempts     2
# check_mx_delay        5

Still no joy. The spam being found is not being tagged in the subject line.
Any help would be appreciated.


Mike Wellum
2nd Level Server Support
Nuvo Network Management
[EMAIL PROTECTED]
(613)726-5077




Mike Wellum
2nd Level Server Support
Nuvo Network Management
[EMAIL PROTECTED]
(613)726-5077





-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to