View Full Version : Installation step of MailScanner to Exim 4.24
garyhui
11-14-2003, 11:29 AM
Dear All expert,
Before i was using exim 3.x and i installed it with the steps which found in the forum...it works before
now, the exim upgraded to 4.24 ....and my mailscanner doesn't work if i follow the installation instruction..
It will be good if you can give me a hand on the installation of the MailScanner on exim 4.24....since somebody sending virus to my server very very frequently.
ProWebUK
11-14-2003, 12:19 PM
Assuming its a normal install just download the one mentioning rpm from http://www.sng.ecs.soton.ac.uk/mailscanner/downloads.shtml
Chris
garyhui
11-14-2003, 12:42 PM
do u know how to integrate with exim 4.24 ?
i think my problem is about how to configure it with exim 4.24.
i don't know how to adjust the /etc/init.d/exim
and /etc/exim.conf
ProWebUK
11-15-2003, 03:19 PM
http://software.freshmeat.net/projects/mailscanner/?branch_id=17417&release_id=138088&topic_id=28%2C29%2C151
It supports the Postfix, Sendmail, Exim and ZMailer MTAs, and the Sophos, McAfee, F-Prot, F-Secure, CommandAV, InoculateIT, Inoculan, eTrust, Kaspersky, Nod32, AntiVir, BitDefender, RAV, Panda, and Clam anti-virus scanners.
I'm guessing there is either intergration information included in the documentation, or the installation will do the work for you.
Chris
garyhui
11-15-2003, 09:58 PM
Actually i am getting confuse about reading the document.
The installation document in mailscanner web site. my config file is totally different than their file..
------------------------------------------------------------------------
E.g.
the document say.
change this (in /etc/init.d/exim)
/usr/exim/bin/exim -bd -q15m
to
/usr/exim/bin/exim -bd
/usr/exim/bin/exim -q15m -C /usr/exim/configure.out
but my /etc/init.d/exim is :
daemon /usr/sbin/exim $EXIM_OPTS -oP /var/run/exim.pid
------------------------------------------------------------------------
my rpm package version is da_exim-4.24-1
ProWebUK
11-16-2003, 06:28 AM
DA Staff, does the DA version of exim have a customized /etc/init.d/exim file?
also, what you could do is make a backup of the file and add the extra lines :)
Chris
DirectAdmin Support
11-16-2003, 12:07 PM
Hello,
The path to exim is:
/usr/sbin/exim
so if you want to add "-C /usr/exim/configure.out" .. it would look like:
#!/bin/sh
#
# exim This shell script takes care of starting and stopping
# exim.
#
# chkconfig: 2345 80 30
# description: Mail Transfer Agent
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
. /etc/sysconfig/network
EXIM_OPTS=
DAEMON=
QUEUE=
[ -f /etc/sysconfig/exim ] && . /etc/sysconfig/exim
[ "$DAEMON" = yes ] && EXIM_OPTS="$EXIM_OPTS -bd"
[ -n "$QUEUE" ] && EXIM_OPTS="$EXIM_OPTS -q$QUEUE"
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0
# See how we were called.
case "$1" in
start)
# Start daemons.
echo -n "Starting exim: "
daemon "/usr/sbin/exim $EXIM_OPTS -oP /var/run/exim.pid -C /usr/exim/configure.out"
echo
touch /var/lock/subsys/exim
;;
stop)
# Stop daemons.
echo -n "Shutting down exim: "
if [ -e /var/run/exim.pid ]; then kill `cat /var/run/exim.pid`; fi
echo
rm -f /var/lock/subsys/exim
;;
restart)
$0 stop
sleep 3
$0 start
;;
reload)
if [ -e /var/run/exim.pid ]; then kill -HUP `cat /var/run/exim.pid`; fi
;;
condrestart)
if [ -f /var/lock/subsys/exim ] ; then
$0 restart
fi
;;
status)
status exim
;;
*)
echo "Usage: exim {start|stop|restart|reload|condrestart|status}"
exit 1
esac
exit 0
John
different
11-18-2003, 02:38 AM
I just do the step follow in exim 4.24..Redhat 9 newset DA
but some error happened
router defer_router: cannot find router driver "domainlist"
Any one have the same problem as me?
garyhui
11-21-2003, 09:57 AM
Dear All expert,
I've tried many times on the installation of the MailScanner to exim.
Seems not successful to me...
Anyone can give me some clue or give me some tips on that ?
interfasys
11-21-2003, 10:01 AM
I'll rewrite the Howto so that it works for the latest version of exim. The initial document is for exim 3
garyhui
11-22-2003, 11:13 PM
Dear Olivier,
Thank you very much for your kind help!!!
Rgds,
Gary
interfasys
11-23-2003, 05:09 AM
OK, try this
http://www.directadmin.com/forum/showthread.php?s=&threadid=1187
icepick
08-24-2005, 06:10 PM
Hey guys,
I've installed nod32 as per the instructions provided from them, however when i start nod32d and restart exim with the changes, I receive the following error looping in my exim logs:
2005-08-25 12:48:26 1E85us-0003nM-Cm == admin@aaa.co.nz R=nod32 T=nod32_transport defer (0): Child process of nod32_transport transport returned 75 (could mean temporary error) from command: /usr/bin/nod32mda
The following changes were made to exim.conf:
begin routers
# ROUTER CONFIGURATION
nod32:
driver = accept
domains = +local_domains
condition = "${if eq {$received_protocol}{virus-scanned} {0}{1}}"
transport = nod32_transport
verify = false
begin transports
# TRANSPORTS CONFIGURATION
nod32_transport:
driver = pipe
command = /usr/bin/nod32mda $local_part@$domain
user = mailnull
group = mail
root@web:/usr/local/src# ls -al /usr/bin/nod32mda
-rwxr-xr-x 1 mailnull mail 13244 Apr 13 19:43 /usr/bin/nod32mda
following change was made to nod32.cfg"
root@web:/usr/local/src# cat /etc/nod32/nod32.cfg | grep deliver
mda_path = "/usr/local/sbin/deliver"
root@web:/usr/local/src# ls -al /usr/local/sbin/deliver
-rwxr-xr-x 1 mailnull mail 47 Aug 24 23:15 /usr/local/sbin/deliver
root@web:/usr/local/src# cat /usr/local/sbin/deliver
#!/bin/sh
/usr/sbin/exim -oMr virus-scanned $*
Please any help would be appreciated.
Thanks
Barry
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.