2019-09-20 - hschneider, Admin
Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.
XMail Forum · Newbies read here ! All about SMTP,MX-Records,DNS etc. | Help Search Members Calendar |
Welcome Guest ( Log In | Register ) | Resend Validation Email |
atomant |
Posted: Nov 18 2003, 03:01 PM
|
No - I'm not an answering script ... 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?" |
hschneider |
Posted: Nov 18 2003, 03:57 PM
|
No - I'm not an answering script ... Group: Admin Posts: 6631 Member No.: 195 Joined: 19-June 02 |
-------------------- 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 |
atomant |
Posted: Nov 19 2003, 08:53 AM
|
No - I'm not an answering script ... 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?" |