Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: sgibbs on July 17, 2002, 05:22:13 AM
-
I am interested in incorporating the hbedv anti vir mailgate virus scanner into a Mitel 5.5 server. Are there any how-to's? etc. available as to how to even start such a project. I know how to install the product and configure it from the conf files but what I would like to see is how to bring third party software into the web-based management. Apologies if this has been covered before my search yeilded no results.
-
It's been done for the SME 5.1.2. allready. You can find a (dutch) howto on www.minddigger.com. Sorry haven't seen an english version of it yet. You can also check forum.vexins.com ( http://forum.vexins.com/forumdisplay.php?fid=4 )for more info (and this one does have an english section). The site seems to bee rather slow lately but that might just be me :-)
If you have succes you might want to post a short howto on this forum?
regards,
Jan
-
I working in mini-how to in English and Portuguese to for hbedv anti vir mailgate virus scanner into a Mitel 5.5 server.
I have five servers Mitel 5.5 working very well with hbedv.
Thanks to Jean-Philippe, Harro and others that contributed.
Now I am testing spamassassin, in my servers.
Calvin
-
This is the bulk of the dutch mini how-to translated by me. I need to work out how to give the original authors credit, make sure it works in 5.5 and translate the small part that's left. I figured I'd post it here to figure out what I may have translated incorrectly etc.
With reference to E-Smith server 4.1.2/SME server 5.x
Begin by registering for a free license to use HBEDV Antivirus at http://www.antivir.de/order/privreg/order_ehtm.
You should receive a key fairly quickly. (it took an hour for me) The key is free for non-profits and comes in one-year increments. If you install the key after installing HBEDV in demo mode be sure to restart the aumgate service.
The RPM handles the installation.
Download the RPM @ http://www. Vexins.com/downloads/vexINS-Avmailgate-1.0-3rpm.
To install navigate to the directory you downloaded the rpm to and type rpm-ivh*.rpm. When it’s finished it displays an OK.
Go to server manager and check the antivitus mailgate configuration. The settings are a matter of your choice.
-
And one more message to add to this. The main reason I'm pursuing this is for users like myself who run private non-profit servers. Darrell's RAV solution should be palatable to even the most spendthrift corporate enviroments and is probably the best non SME antivirus solution..
That said I think SME's complete package is one whale of a deal and would probably save some of my M$ based customers a lot of money. I tell them that (I'm an honest consultant) and they still want M$ go figure.
-
HI all. got this working thanks to the rpm available at http://www.star-support.com
However, when I try and do an upgrade, it tells me that I must upgrade the engine available from their site. I could do this but don't know what templates were installed, etc and if an upgrade to the newer version would break the sme specific configuration data. I am still running sme 5.1.2. has anyone successfully upgraded to the 2x version of the engine and if so, what values should one modify in the avinstall.pl file? would appreciate any info on this since a scan engine with out of date files isn't all that safe.
thanks. brian.
-
I think this thread will help: http://forum.vexins.com/viewthread.php?tid=5
-
Yup Yup...
Have good news...
Scanner has been revised, engine update is in the next RPM and doesn't require any RPM updating for me anymore because the engine does the update of itself too... neat work from Germany.
Working hard now to make the RPM work on v4.1.2, 5.1.2 and 5.5. Seems not so hard as I thought (hey... gimme a break, I'm only human and still remembered the hell I went thro, this is still my 1st RPM)
For all you guys (girls are welcome too) out there... have patience... my mental state improved a lot and the RPM too...
I'll post a message here when it's ready for download.
Harro
-
Just posting a message so I can get email replies to this thread, please ignore.
-
Hi there Harro!
I know that you have AVMailgate 6.15 for linux running on your system.
Would it be possible for you to find the time to do a quick-and-dirty how-to upgrade from 6.12
I have used your RPM to install version 6.12 and it worked really well...but I have problems upgrading to 6.15.
I get all sorts of strange messages...saying that the the avinstall.pl cannot find the files etc...
Thank you very much for your great efforts on this matter!
Nicolai
-
For anyone interested in upgrading your Harro RPM AVMailGate installation from 6.12, here is the process I followed. Your milage my vary but it works for me on an SME 5.1.2 box.
Now if someone can tell me how to get the Server-Manager Panel to work properly I'll be very happy. Everything works except the E-Smith server-manager panel Harro built. The panel always shows AVMailGate-Daemon and AVMailGateFWD-Daemon as STOPPED even when they are running.
The panel works in that the service can be STARTED and STOPPED but in both cases requires that the operation be done twice
1. Extract the package avlxmgt.tgz:
tar xvzf avlxmgt.tgz
2. Change to the directory avmailgate-2.x.x.x-Linux-glibc:
cd avmailgate-2*
3. Stop the service:
service avmgate stop
4. Delete the old binaries avgated and avgatefwd:
rm /usr/sbin/avgated
rm /usr/Sbin/avgatefwd
rm /etc/rc.d/avgate
5. Start the install script avinstall.pl and follow the
instructions (except as noted below):
perl avinstall.pl
ManDir = /usr/share/man
KeyDir = /usr/lib/AntiVir
6. Remove the old update script vdf-update in /usr/local/sbin:
rm /usr/local/sbin/vdf-update
7. Change Owner as follows:
chown uucp:uucp /usr/lib/AntiVir
chown uucp:uucp /usr/lib/AntiVir/antivir.vdf
chown uucp:uucp /usr/lib/AntiVir/antivir
8. Modify the crontab template
cd /etc/e-smith/templates/etc/crontab/
edit the file "40AVMailGate"
change "0 0 *** root /usr/sbin/vdf -update"
to "0 0 *** root /usr/lib/antivir -q --update"
9. Install you licence key (I did both just to be sure):
cp hbev.key /usr/lib/AntiVir/hbev.key
cp hbev.key /usr/lib/AntiVir/avmgate.key
chown uucp:uucp /usr/lib/AntiVir/hbev.key
chown uucp:uucp /usr/lib/AntiVir/avmgate.key
10. Start the service:
service avmgate start
11. Check that all is well:
service avmgate status
-- this should show that both AVMailGate-Daemon and AVMailGateFWD-Daemon are running --
cd /usr/lib/AntiVir/
./antivir --version
-- Below is what I get from the version command --
6.16.0.0
operating system: Linux (glibc)
product version: 2.0.4-7
engine version: 6.16.0.0
packlib version: 2.0.1.0 (supports 19 formats)
vdf version: 6.16.0.4 (74579 recognized forms)
product: AntiVir Workstation
key file: hbedv.key
registered user: Bob King, Spearwood
serial number: xxxxxxxxxx
key expires: 30 Nov 2003
run mode: PRIVATE
product: AntiVir MailGate
key file: hbedv.key
registered user: Bob King, Spearwood
serial number: xxxxxxxxxx
key expires: 30 Nov 2003
run mode: PRIVATE
product: AntiVir (command line scanner)
key file: hbedv.key
registered user: Bob King, Spearwood
serial number: xxxxxxxxxx
key expires: 30 Nov 2003
run mode: PRIVATE
-
..some quick hints..
All you have to do to make the right stuff appear in the panels in 'massage' the .pid files locations, if memory serves me right.
For instance in /etc/avmailgate.conf you will find:
PidFile_avgated /var/run/avgate/avmailgate_d.pid
change it to
PidFile_avgated /var/tmp/avgated.pid
and
PidFile_avgatedfwd /var/run/avgate/avmailgate_fwd.pid
change to:
PidFile_avgatedfwd /var/tmp/avgatefwd.pid
After changing these, things sprang to life. (make sure, you change all instances of the above in all relevant files!)
(which means I can't remember what else I changed, but whatever it was, it relates to these files!)
look in ..../etc/e-smith/web/panels/cgi-bin/avmailgate to see where the panel expects things to be..
This is a real dirty way of doing things, but I needed protection fast, and at least I catches a lot of bad stuff now. (Why I use this one rahter than other scanners is another story..)
just my 0.02 before bedtime!
kees
-
A small correction to point no. 8 !!
The last line should be:
to "0 0 *** root /usr/lib/AntiVir/antivir -q --update"
Sorry about that...............
-
Kees Blokland wrote:
>
> ..some quick hints..
> ..........................
Thanks Kees,
I did a bit of searching and below is a list of the files and changes I made to them.
The panel now correctly reports the status but fails to start and stop the daemons when I click on the "Perform Changes" button. It seems that I fixed one problem but created another. I'm not real conserned about this but it would be nice to have the thing working as it should.
I was very careful with the file editing and do not think I made any changes other than those shown below. Any additional help will be greatly appreciated.
Changes to /etc/avmailgate.conf
(these are only until the next time the templates get expanded)
PidFile_avgated /var/run/avgate/avmailgate_d.pid
changed it to
PidFile_avgated /var/tmp/avgated.pid
and
PidFile_avgatedfwd /var/run/avgate/avmailgate_fwd.pid
changed to:
PidFile_avgatedfwd /var/tmp/avgatefwd.pid
Changes to /etc/e-smith/templates/etc/avmailgate.conf/07AVGatedPID
PidFile_avgatedfwd /var/run/avgate/avmailgate_d.pid
changed to:
PidFile_avgatedfwd /var/tmp/avgated.pid
Changes to /etc/e-smith/templates/etc/avmailgate.conf/19AVGatefwdPID
PidFile_avgatedfwd /var/run/avgate/avmailgate_fwd.pid
changed to:
PidFile_avgatedfwd /var/tmp/avgatefwd.pid
Changes to /etc/e-smith/web/panels/manager/cgi-bin/avmailgate
finddepth(sub { $daemon = $_ }, '/var/run/avgate/avmailgate_d.pid');
changed to
finddepth(sub { $daemon = $_ }, '/var/tmp/avgated.pid');
and
finddepth(sub { $daemonfwd = $_ }, '/var/run/avgate/avmailgate_fwd.pid');
changed to
finddepth(sub { $daemonfwd = $_ }, '/var/tmp/avgatefwd.pid');
and
if ($daemon eq 'avmailgate_d.pid')
changed to
if ($daemon eq 'avgated.pid')
and
if ($daemonfwd eq 'avmailgate_fwd.pid')
changed to
if ($daemonfwd eq 'avgatefwd.pid')
-
Just to get mail for new RPM by Harro... Good work by the way...
-
still waiting for the rpm .... I have the new version up and running, without using the sme features of the server-manager
-
Also to get email when RPM is available.......
-
For anyone interested I just upgraded my SME 5.1.2 box with the latest version of AntiVir MailGate 6.17.0.2
product version: 2.0.6-7
engine version: 6.17.0.2
packlib version: 2.0.1.9 (supports 19 formats)
vdf version: 6.17.0.12 (76296 recognized forms)
This upgrade requires a few SME Template Fragment changes and additions for the configuration files to work properly. Email me and I'll be glad to send you copies of the Template Fragments.
Bob
-
For those of you that may stumble on this, by following Bob's directions, everything went perfectly. This solution is still valid today, 06/26/2003.
Thanks Bob and the rest for your hard work.
-
Thanks Nathan.
A user with SME v5.5 has contacted me with the following problem:
******************************************************************
[root@server etc]# /sbin/e-smith/expand-template /etc/antivir.conf
No templates were found for //etc/antivir.conf.
at /usr/lib/perl5/site_perl/esmith/util.pm line 88
*******************************************************************
I looked at my copy of /usr/lib/perl5/site_perl/esmith/util.pm
line 88 is 'blank' in my copy so Mitel may have changed the file in version 5.5.
If anyone that has successfully installed AvMailGate on a SME v5.5 server and can help it will be greatly appreciated.
Best Regards to everyone.
Bob King
-
well, I would be very grateful if anyone could help me to uninstall avmailgate. I just cant find it...