Difference between revisions of "Spam Filter"

From IT Service Wiki
Jump to: navigation, search
(New page: The spam filter must be activated on per users basis. The system administrator is not allowed to manipulate the users mail until he is adviced to. We have predefined filter sets which you...)
 
Line 3: Line 3:
 
We have predefined filter sets which you can include into your .procmailrc. Open or create a file .procmailrc in the root of you home directory enter the following line:
 
We have predefined filter sets which you can include into your .procmailrc. Open or create a file .procmailrc in the root of you home directory enter the following line:
  
INCLUDERC=''FILENAME''
+
  INCLUDERC=''FILENAME''
  
 +
''FILENAME'' can be
 +
 +
; /etc/procmailrc.junkfilter/mark : Only analyses and marks the mail (in the header). The mark are spam points, which is the basis for sorting in the following filer rules
 +
 +
; /etc/procmailrc.junkfilter/keep-all  : moves the junk to subfolders, but does not delete it. A mail need to get 5 spam points to be moved to the subfolder "Junk". Mails with more then 8 points are moved to the Folder "Definitely" which is a subfolder of "Junk". This rule set is not recommended, because in the past many users were not subscribed to "Junk/Definitely" never noticed that ten thousands of spam mail are messing up their home. If you really want this, please check if you are subscribed to both folders and regulary check the contents and delete.
 +
 +
; /etc/procmailrc.junkfilter/purge-high: Junk Mails with 5 to 8 points are moved to "Junk". Junk with more the 8 points is deleted silently, instead of stored in the "Definitely" Folder.
  
  
; /etc/procmailrc.junkfilter/mark :
 
;  Only analyses and marks the mail (in the header)
 
; /etc/procmailrc.junkfilter/keep-all  : verschiebt nach Junk[/definitely]
 
; /etc/procmailrc.junkfilter/purge-high: verschiebt nach Junk oder löscht
 
 
; /etc/procmailrc.junkfilter/purge-all : löscht vermuteten Spam komplett.
 
; /etc/procmailrc.junkfilter/purge-all : löscht vermuteten Spam komplett.
  

Revision as of 15:30, 7 July 2008

The spam filter must be activated on per users basis. The system administrator is not allowed to manipulate the users mail until he is adviced to.

We have predefined filter sets which you can include into your .procmailrc. Open or create a file .procmailrc in the root of you home directory enter the following line:

 INCLUDERC=FILENAME

FILENAME can be

/etc/procmailrc.junkfilter/mark 
Only analyses and marks the mail (in the header). The mark are spam points, which is the basis for sorting in the following filer rules
/etc/procmailrc.junkfilter/keep-all  
moves the junk to subfolders, but does not delete it. A mail need to get 5 spam points to be moved to the subfolder "Junk". Mails with more then 8 points are moved to the Folder "Definitely" which is a subfolder of "Junk". This rule set is not recommended, because in the past many users were not subscribed to "Junk/Definitely" never noticed that ten thousands of spam mail are messing up their home. If you really want this, please check if you are subscribed to both folders and regulary check the contents and delete.
/etc/procmailrc.junkfilter/purge-high
Junk Mails with 5 to 8 points are moved to "Junk". Junk with more the 8 points is deleted silently, instead of stored in the "Definitely" Folder.


/etc/procmailrc.junkfilter/purge-all 
löscht vermuteten Spam komplett.

In Junk/definitely landen bei keep-all Nachrichten mit Score >= 8. Bei purge-high werden die mit Score >= 8 stattdessen gelöscht. Bei purge-all wird jeglicher vermuteter Spam gelöscht (!).

Was überhaupt als Spam eingestuft wird, ist nutzerspezifische Einstellung. Default ist Einstiegslimit 5, d.h. Score >= 5 bedeutet Spam, aber das kann keine systemweite Vorgabe sein, weil es sonst ungefragt für alle Nutzer, die keine eigene Vorgabe haben, umgesetzt würde, und ggf. rechtliche Probleme auftreten. Jeder Nutzer muss das selbst bestimmen, bzw. uns nachweisbar darum bitten.

Bei Stöcker zum Beispiel steht das Einstiegslimit seit Kurzem auf 2. (War auf seinen Wunsch hin auf 3, dann auf 2 runtergesetzt worden.)

Wer sein Spam-Limit anpassen will, muss die entsprechende Zeile in .spamassassin/user_prefs aktivieren (Kommentarzeichen weg) und den Wert anpassen. Weniger als 2 würde ich auf keinen Fall setzen.

Das Spam-Markieren läuft in /etc/procmailrc.junkfilter/mark über Aufruf von 'spamc' mit entsprechender Server-Auswahl. Der entsprechende Daemon 'spamd' läuft derzeit auf 'tre' (FIAS) und 'tantalos' (ITP), wobei ersterem der Vorzug gegeben wird, weil die bessere Maschine. Generell darf sich niemand darauf verlassen, wie es bei uns genau konfiguriert ist. Wer den Spam-Filter braucht, macht INCLUDERC=... mit einem der obigen Scripts.