This section applies to F-PROT Antivirus for UNIX Mail Server version only
This is only needed for Sendmail/Milter or Qmail setups or if you use scan-mail.pl as a stand-alone smtp proxy.
To manually set scan-mail.pl to start on system boot, find the appropriate scan-mail rc script for your system under /opt/f-prot/tools/rc_scripts or modify an existing script to suit your needs and copy it to /etc/init.d/scan-mail.
Next open up /etc/f-prot.conf in a text editor and let the SCANMAIL_STARTUP variable contain the startup arguments for scan-mail.pl that match your setup, e.g. for a typical sendmail/milter setup:
SCANMAIL_STARTUP="--daemon --milter /etc/mail/sendmail.cf"
How to add the scan-mail rc script to your bootsequence so it gets started automatically at each boot is system dependant. SuSE and RedHat Linux have a chkconfig program for this purpose, but other UNIX variants and distributions may use different tools. Please consult your system documentation for instructions on how to accomplish this.