Closed TopicStart new topicStart Poll

> Install notes for AV filter from Peter Lindemann
atomant
Posted: Nov 18 2003, 03:01 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



AntiVirus Filter 1.8

What you need :

1. XMail server ( http://www.xmailserver.org )
2. AV engines:
F-Prot for Linux ( http://www.f-prot.com )
AntiVir for Linux ( http://www.antivir.de )
ClamAV for Linux ( http://clamav.elektrapro.com )
McAfee AntiVirus for Linux ( http://www.nai.com )

Note : You don't need all four AV engines but you need at least one ;-)

3. Perl 5.8.0
4. Mail-Sendmail perl unit, used to send the email (#perl -MCPAN -e 'install Mail::Sendmail')
5. Digest-Md5 perl unit, used to calculate a md5 hash (#perl -MCPAN -e 'install Digest::MD5')
(you probably have it installed allready )
6. And of course filter script itself ( http://www.lindeman.org/download/download_...d_av_filter.php )

Installation :

0. You need to have root permissions. Unpack the distribution to a directory of your choise

1. Edit checkvirus.cfg according to your system settings.

2. Filter install for versions of XMail <= XMail 1.12

a.) Copy .tab, checkvirus.pl, reformime, all txt and checkvirus.cfg in the $MailRoot/filters directory
b.) Edit the .tab according your system paths.

3. Filter install for versions of XMail >= XMail 1.14

a.) Copy av-filter.tab, checkvirus.cfg, checkvirus.pl, all txt and reformime files into the $MailRoot/filters directory. Make sure checkvirus.pl and reformime have the x bit set (it means chmod 700 or more).
b.) Copy the files filters.in.tab and filters.out.tab in your $MailRoot directory.
If you allready have something in these files then just add this line to both of them:
"*"[tab]"*"[tab]"0.0.0.0/0"[tab]"0.0.0.0/0"[tab]"av-filter.tab"[newline]

The av-filter.tab has the following layout ( you may have a different path):
"/var/MailRoot/filters/checkvirus.pl"[tab]"@@FILE"[tab]"@@FROM"[tab]"@@RCPT"[tab]"@@MSGID"[newline]

Note: [tab] is the real TAB character and [newline] is real RETURN !!

4. You can edit the txt files which will be used (if configured so in the checkvirus.cfg) to send to sender, recipient and postmaster.

5. That's all. No need to restart Xmail.Send a test virus file to see if the filter is working. You can get Test virus file at http://www.eicar.org

6. In case of problems, run Xmail in debug mode: #/$MailRoot/bin/XMail --debug -Md
This way you can see if the filter is fireing up or not.
You can contact the author at peter@lindemann.nl


--------------------
Bye,
Sasa



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

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
hschneider
Posted: Nov 18 2003, 03:57 PM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 6631
Member No.: 195
Joined: 19-June 02



Thank U !

For all Windows geeks:
Get the latest Perl disto free at http://www.activestate.com



--------------------
Bye,
Harald


-- Download XMail Queue Manager 1.46 NOW: XMail Server Tools
-- Cross platform remote queue management!
-- Message analyzing on the fly!
-- Builtin diagnostics knowledge base!
-- Manages multiple mail queues!

Sponsored by
CD-Produktion und DVD-Produktion and Homestaging Saarland - Immobilien schneller verkaufen in der Region Saarland, Rheinland-Pfalz und Luxembourg
PMEmail PosterUsers Website
Top
atomant
Posted: Nov 19 2003, 08:53 AM
Quote Post


No - I'm not an answering script ...
Group Icon

Group: Admin
Posts: 1776
Member No.: 427
Joined: 18-January 03



Modified installation for AV filter version 1.8 .


--------------------
Bye,
Sasa



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

All electric machines work on smoke...when the smoke escape from machines, they don't work anymore
Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
PMEmail PosterUsers WebsiteICQ
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Documentation and Knowledge Base | Next Newest »

Closed TopicStart new topicStart Poll