HowTo: MailScanner 4.24 for Exim 4.24

Every antivirus software fails once in a while, but some fail more often than others. Bitdefender is one of them.

And you should look at that page carefully:

April 2004: Red Hat Linux 9

Status: FAIL
 
Anyone managed to get MailScanner+ClamAV work with FreeBSD?

I am currently playing around with this at the moment...
 
Shahid said:
Anyone managed to get MailScanner+ClamAV work with FreeBSD?

I am currently playing around with this at the moment...
You should have a look at the MailScanner list.
 
I am kinda nearly there, but need to do some fix..

here what I got in maillog:

Jun 6 14:19:31 matrix MailScanner[89081]: MailScanner E-Mail Virus Scanner version 4.31.6 starting...
Jun 6 14:19:31 matrix MailScanner[89081]: User's home directory /var/mail/mail does not exist
Jun 6 14:19:31 matrix MailScanner[89081]: /var/spool/exim.in/input is not owned by user 12 !


is var/mail/mail correct default path or it should be changed?
also I am not to sure how to fix "/var/spool/exim.in/input is not owned by user 12 !"
 
I got it kinda working now for FreeBSD :)
just a little fix and cleaning to do.


Edit: If I manged to get this working, I will try to write HOWTO for FreeBSD.
 
Last edited:
whats required for a redhat 9 system to install this?
certain perl modules? certain versions of exim or whatever?
 
is this howto now fully working and ok as posted in the first msg?

cause i am a bit frightend to install it on my production server :)
 
sander815 said:
is this howto now fully working and ok as posted in the first msg?

cause i am a bit frightend to install it on my production server :)

Unless you're read through the entire thread and are familiar with MS - no :)

More recent versions of MS automatically recognise the MTA, so, to avoid breakage, you would need to create a few symlinks

Not all that hard though
 
thats why i ask, cause i read most of it, and there some people seem to keep problems

creating the symlinks is the 'hardest' part?
 
If you read the first part of the howto and also look at the documentation on the mailscanner site you should be fine.
Make sure you make backups of any files that you are editing so you can go back to a previous state.
 
*********************************
Install MailScanner
*********************************
# wget http://www.sng.ecs.soton.ac.uk/mailscanner/files/4/rpm/MailScanner-4.28.6-1.rpm.tar.gz
# tar -zxvf MailScanner-4.24-14.rpm.tar.gz
# cd MailScanner-4.24-14
# ./install.sh

Note : Install missing modules when asked

# chown -R mail:mail /var/spool/MailScanner

How can I update these?

I get:

>>>
[root@am-alia MailScanner-4.28.6-1]# ./install.sh


Good. You have the patch command.

Your /usr/src/redhat, /usr/src/RPM or /usr/src/packages
tree is missing.
If you have access to an RPM called rpm-build
install it first and come back and try again.
>>>
 
Use apt-get or yum for package management. Installing separate packages from rpm sites can lead to dependency problems
 
It depends on your OS. Most sane installations would include them, but you can easily grap an rpm for your distro.
 
Back
Top