← Back to team overview

sslug-teknik team mailing list archive

Re: SpamAssissin ?

 

----- Original Message ----- 
From: "Frank Damgaard" <frank_sslug1@xxxxxxxxxxxxxxxxx>
To: <sslug-teknik@xxxxxxxx>
Sent: Wednesday, December 17, 2003 10:53 AM
Subject: Re: [TEKNIK] SpamAssissin ?


> On Wed, Dec 17, 2003 at 08:35:56 +0100, Håkan wrote:
>
> .....
> > > bruger du procmail ?
> > > så kan du blot bede procmail slette de mails der
> > > har opnået passende spam level.
> > > (dvs. tilpasse .procmailrc )
>
> > Ja jag bruker procmail.
> > Filen jag har är /etc/procmailrc. Om jag förstår dig rätt Frank så är
det i
> > den filen jag ska lägga till något. Har läst i man-sidorna men jag
finner
> > inte
> > vad jag ska lägga till. Kan du hjälpa mig med detta?
> >
> > Min /etc/procmailrc innehåller följande:-
> >
> > DROPPRIVS=yes
> >       :0fw
> >       * < 256000
> >       | /usr/bin/spamc -f
> >
> >
>
> spamc er det spamassasin ?
> hvis spamc=spamassasin så mangler du at gøre noget
> med mail og gemme det i passende folder afhængig af
> spam level.
>
>
> jeg anvender noget opsætning som jeg fandt i dokumentation
> og på nettet (www.google.com):
>
> Tilpas selv til egne behov:
>
>
> # Please check if all the paths in PATH are reachable, remove the ones
that
> # are not.
>
> ##VERBOSE=on
> PATH=$HOME/bin:/usr/bin:/bin:/usr/local/bin:
> MAILDIR =       $HOME/Mail      # You'd better make sure it exists
> DEFAULT =       $MAILDIR/mbox
> LOGFILE =       $MAILDIR/from
> LOCKFILE=       $HOME/.lockmail
>
> #
> # 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.
> #
> # The lock file ensures that only 1 spamassassin invocation happens
> # at 1 time, to keep the load down.
>
> :0fw: spamassassin.lock
> * < 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
>
>
> # 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/'
> }
>
>
> .....rest af procmailrc, f.eks. autosortering af sslug maillister....
>
>
> -- 
> mvh Frank Damgaard  |
>
Mange tack Frank.

Jag har modifierat procmail. Bara att vänta och se om det virker.
Tack igen.
Mvh Håkan





References