the installed ChangeLog. - Silencing the 'cannot access config file "/etc/antivir.conf"' warnings by creating a respective symlink. Notes: - AntiVir Milter 1.1.0-7 ships with a faulty anti-virus engine which may just exit with the following error when trying to start it: cannot access config file "/etc/avguard.conf" Please update to the latest anti-virus engine by e.g. running the antivirupdater script in order to solve this. - The future of the free licenses for private use and thus of this port currently is uncertain: <...> PersonalEdition Classic UNIX: Advance Notice We have decided to orient the version 6.32 which will be released on September 6, 2005 much more towards the successful PersonalEdition Classic Windows. This means that version 6.32 will be released with a graphical user interface which will make it much easier to work with the program. It will also no longer be necessary to register for the program before downloading it. With version 6.32 the PersonalEdition Classic UNIX will no longer contain any MailGate/Milter functionality. <...> Approved by: netchild
45 lines
1.2 KiB
Text
45 lines
1.2 KiB
Text
--- init/rc.avmilter.orig Sun Sep 21 19:51:22 2003
|
|
+++ init/rc.avmilter Sun Sep 21 20:22:38 2003
|
|
@@ -13,13 +13,19 @@
|
|
|
|
case "$1" in
|
|
start)
|
|
- echo "Starting AntiVir Milter."
|
|
- /usr/lib/AntiVir/avmilter.bin
|
|
+ if [ -x %%PREFIX%%/sbin/avmilter ]; then
|
|
+ umask 0077
|
|
+ /bin/rm -f /var/spool/avmilter/avmilter.sock
|
|
+ /usr/sbin/daemon -f %%PREFIX%%/sbin/avmilter \
|
|
+ -P %%PREFIX%%/etc/avmilter \
|
|
+ -p local:/var/spool/avmilter/avmilter.sock &
|
|
+ umask 0022
|
|
+ echo -n " avmilter"
|
|
+ fi
|
|
;;
|
|
stop)
|
|
- echo -n "Shutting down AntiVir Milter."
|
|
- killall -TERM /usr/lib/AntiVir/avmilter.bin > /dev/null 2>&1
|
|
- echo
|
|
+ killall -TERM avmilter > /dev/null 2>&1
|
|
+ echo -n " avmilter"
|
|
;;
|
|
restart)
|
|
"$0" stop
|
|
@@ -27,7 +33,7 @@
|
|
"$0" start
|
|
;;
|
|
status)
|
|
- if [ -z "$(ps axw | grep "/usr/lib/AntiVir/avmilter.bin" | grep -v grep)" ]
|
|
+ if [ -z "$(ps axw | grep "avmilter" | grep -v grep)" ]
|
|
then
|
|
echo "FAILED avmilter is not running!"
|
|
else
|
|
@@ -35,7 +41,7 @@
|
|
fi
|
|
;;
|
|
*)
|
|
- echo "Usage: $0 {start|stop|restart|status}"
|
|
+ echo "Usage: `basename $0` {start|stop|restart|status}" >&2
|
|
exit 1
|
|
;;
|
|
esac
|