View Single Post

  #3 (permalink)  
Old 08-29-2003
Torsten Stauder
 
Posts: n/a
Default Re: Spamassasin with relay Postfix

Hi!

Absolutely no problem. Just define
mailbox_command = /usr/bin/procmail
in your main.cf. After then just use that sample-.procmailrc-file, that is
included in the spamassassin-package. It's gonna be something like that:

# SpamAssassin sample procmailrc
# $Id: procmailrc.example,v 1.3.2.4 2002/09/03 16:11:38 jmason Exp $
#
# 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
| /usr/bin/spamassassin

# 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: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
almost-certainly-spam

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


That's all.


"Michael L" <nospam@seebottomformail.com> schrieb im Newsbeitrag
news:uKl3b.10$421.8826@weber.videotron.net...
> Hi !
>
> I use Postfix for relaying mail to another server. It is possible to
> use Spamassin the filter spam on a Postfix Relay ? IF yes, how ?
>
> thanks
> --
>
> (O__ Michael Lessard |
> //\ Running Debian Sid |
> // ) Linux Kernel 2.4.21 |
> V__/_ http://www.cegonhatech.com |
>



Reply With Quote