Deutsche Anleitung unten!

TOC:
B
I.   Introduction
II.  Requirements
III. Installing
IV.  Configuring

I. Introduction

This program was born out of a lack of usable and tiny virus scanner for a postfix system using qmail-style maildirs. So I decided to write a small hack. This program was born on a lazy Friday within six hours.

II. Requirements

To run this program you will definitely need:

- reformime, which is part of the maildrop package. (http://www.flounder.net/~mrsam/maildrop/)
- postfix (maybe sendmail will work, too. I didn't try...)
- an qmail compatible pop-3 server may be helpful. (even though maildrop as a complete maildir compatible imap server should also do..)
- the gnu "date" command (because of a special parameter)
- crc32, wich is part of the Perl module Archive::Zip !!! (you can find the version i use in the same dir as Scanmail!) 
- awk
- grep
- gcc

III. Installing

Please edit the scanmail.cfg, viruswarn.txt and viruswarn.rcpt.txt. Currently it is written for my site. So please adapt at least the e-mail addresses of the admins! 
Installing should be quite simple:
- as a user run "make all"
- become superuser and run "make install"

IV. Configuring

To configure a user for using the filter just edit the .forward file and add the "|/usr/local/bin/scanmail.sh", that's it.
If you want to customize the bounce message edit the /usr/local/share/mailscan/scanmail.cfg

Have fun
  Peter Turczak (p_turczak@wiwa.de)

------------------------------------------------------------------------------- 

TOC:
I.   Allgmeines 
II.  Vorraussetzungen 
III. Installieren
IV.  Konfigurieren

I.   Allgmeines
Dises Programm ist aus Ermangelung eines benutzbaren, kleinen Virusscanners, der postfix mit qmail Maildirs unterstuetzt entstanden. Also habe ich eine kleines Programm zusammengekrankt. Es hat nur sechs stunden gebraucht. Daher koennen Bugs vorhanden sein...

 
II.  Vorraussetzungen

Um dieses Programm zu benutzen werden folgende Programme definitiv benoetigt:
- reformime, Teil des maildrop packages. (http://www.flounder.net/~mrsam/maildrop/)
- postfix (vieleicht lauft es auch mit sendmail. Habe es nicht probiert...)
- Ein qmail kompatibler pop-3 server waere schoen. (obwohl maildrop ein kompletter imap server ist) 
- crc32, das im Perl Module Archive::Zip enthalten ist! (Die Version die ich einsetze ist im gleichen verzeichniss auf dem Webserver wie das Hauptarchiv!) 
- den gnu "date" Befehl (wegen eines speziellen Parameters)
- awk
- grep
- gcc

III. Installieren

Bitte auf jeden Fall folgende Dateien vor der Installation anpassen:
- scanmail.cfg
- viruswarn.txt
- viruswarn.rcpt.txt 
Diese sind fuer unsere Firma angepasst und sollten entspechend angepasst werden! (Wenigstens die Admin E-Mail Addressen)
Dies sollte einfach sein:
- als user "make all" eingeben
- als root "make install" ausfuehren

IV.  Konfigurieren

Um einem User den Filter einzurichten, einfach in seine ".forward" Datei die Zeile "|/usr/local/bin/scanmail.sh" eintragen. Fertig.

Viel Spass 
   Peter Turczak (p_turczak@wiwa.de)
