View Single Post
  #13  
Old 3rd August 2007, 01:29
faraday G faraday G is offline
Junior Member
 
Join Date: May 2007
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I cant figure out why it wont work. Here is the file located inside the customized templates folder. I also went into ispconfig and change all the users settings to mark mail as spam and keep. It was previously set to discard.

Code:
# SpamAssassin sample procmailrc
#
# Pipe the mail through spamassassin (replace 'spamassassin' with 'spamc'
# if you use the spamc/spamd combination)
# The condition line ensures that only messages smaller than 250 kB
# (250 * 1024 = 256000 bytes) are processed by SpamAssassin. Most spam
# isn't bigger than a few k and working with big messages can bring
# SpamAssassin to its knees.
:0fw
* < 256000
| /path/to/spamassassin --prefs-file=/path/to/.user_prefs

# Mails with a score of 15 or higher are almost certainly spam (with 0.05%
# false positives according to rules/STATISTICS.txt). Let's put them in a
# different mbox. (This one is optional.)
#:0:
#* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
#/dev/null

# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to "/dev/null".
:0:
* ^X-Spam-Status: Yes
spam@******group.com

# Work around procmail bug: any output on stderr will cause the "F" in "From"
# to be dropped.  This will re-add it.
:0
* ^^rom[ ]
{
  LOG="*** Dropped F off From_ header! Fixing up. "

  :0 fhw
  | sed -e '1s/^/F/'
}
From what I gather, thats all I should need to do but it doesnt seem to work. Maybe I need to point ispconfig to look for this file?
Reply With Quote