2) is solved now, if you get this:
Code:
Feb 22 17:10:23 mailgw dccifd[1248]: fopen(/var/run/dcc/dccifd.pid): No such file or directory
Edit
/etc/init.d/dcc-client and make it look like below, I have commented where edit starts and ends:
Code:
#!/bin/sh
#
# dcc-client example file to build /etc/init.d/ scripts.
# This file should be used to construct scripts for /etc/init.d.
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/dccifd
NAME=dccifd
DESC="DCC program interface daemon"
########START EDIT##########
DCC_RUNDIR=/var/run/dcc
if [ ! -d $DCC_RUNDIR ]; then
mkdir -p $DCC_RUNDIR
chown dcc:dcc $DCC_RUNDIR
fi
########END EDIT###########
test -f $DAEMON || exit 0
set -e
case "$1" in
start)
echo -n "Starting $DESC: $NAME"
start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
--chuid dcc:dcc --exec $DAEMON -- $OPTIONS
echo "."
;;
stop)
echo -n "Stopping $DESC: $NAME"
start-stop-daemon --oknodo --stop --quiet --exec $DAEMON
echo "."
;;
restart)
echo -n "Restarting $DESC: $NAME"
start-stop-daemon --stop --quiet --pidfile \
/var/run/$NAME.pid --exec $DAEMON
sleep 1
start-stop-daemon --start --quiet --pidfile \
/var/run/$NAME.pid --exec $DAEMON -- $OPTIONS
echo "."
#echo "\n"
;;
*)
N=/etc/init.d/$NAME
# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
echo "Usage: $N {start|stop|restart}" >&2
exit 1
;;
esac
exit 0
Afterwards reboot Ubuntu and you'll see that "dccifd.pid" now exists in /var/run/dcc
2) If you get this:
Code:
Feb 22 18:42:01 mailgw ClamAV-autoupdate[3976]: ClamAV updater /usr/local/bin/freshclam cannot be run
Then edit the following line in
/opt/MailScanner/etc/virus.scanners.conf and make it look like below! You probably have
/usr/local at the the end.
Code:
clamav /opt/MailScanner/lib/clamav-wrapper /usr
Afterwards, run:
/etc/init.d/clamav-freshclam restart
Still looking for help on the others though
Thanks