--- doc/MANUAL.orig Wed Jan 28 11:48:04 2004 +++ doc/MANUAL Mon Mar 1 01:08:06 2004 @@ -40,37 +40,38 @@ To start, stop, restart AntiVir Milter: - # /usr/sbin/rcavmilter [start|stop|status|restart] + # %%PREFIX%%/etc/rc.d/avmilter.sh [start|stop|status|restart] When executed successfully, a message from AntiVir Milter with the scan engine version and VDF version is present in the log file -/var/log/mail, /var/log/maillog or /var/log/mail.log +/var/log/maillog 2. Copying the license file --------------------------- -Copy the license file *.key to the folder /usr/lib/AntiVir and -set the access rights of user and group to default root:antivir : +Copy the license file *.key to the folder %%PREFIX%%/AntiVir and +set the access rights of user and group to default root:smmsp: - # cp hbedv.key /usr/lib/AntiVir/ - # chown root:antivir /usr/lib/AntiVir/hbedv.key + # cp hbedv.key %%PREFIX%%/AntiVir/ + # chown root:smmsp %%PREFIX%%/AntiVir/hbedv.key + # chmod 440 %%PREFIX%%/AntiVir/hbedv.key 3. Configuring AntiVir Milter ----------------------------- -AntiVir Milter provides the configuration file /etc/avmilter.conf: -The following directives are available: +AntiVir Milter provides the following directives in the configuration file +%%PREFIX%%/etc/avmilter/avmilter.conf: -# User uucp -# Group antivir +# User smmsp +# Group smmsp # Postmaster postmaster # MyHostName localhost # SpoolDir /var/spool/avmilter -# AntiVirDir /usr/lib/AntiVir +# AntiVirDir %%PREFIX%%/AntiVir # TemporaryDir /var/tmp -# ForwardTo /usr/lib/sendmail -oem -oi +# ForwardTo /usr/sbin/sendmail -oem -oi # MaxNestingLevel same as ArchiveMaxRecursion # MaxAttachments 100 # BlockSuspiciousMime NO @@ -78,7 +79,7 @@ # ExposeRecipientAlerts NO # ExposeSenderAlerts NO # ExposePostmasterAlerts YES -# AlertsUser AntiVir +# AlertsUser MAILER-DAEMON # RejectAlertMail NO # QuarantineAlert YES # ScanInArchive YES @@ -118,13 +119,13 @@ ------------------------------- Add the following line for a daily update at e.g. 0:25 a.m.: -25 0 * * * root /usr/lib/AntiVir/antivir --update -q +25 0 * * * root %%PREFIX%%/sbin/antivirupdater -q When using a proxy server, enter name server name and connection in the file antivir.conf. -The file /etc/antivir.conf contains settable parameters effecting -the automatic protection updates. The following directives +The file %%PREFIX%%/etc/antivir.conf contains settable parameters +effecting the automatic protection updates. The following directives are provided: # EmailTo root@localhost @@ -138,7 +139,7 @@ # HTTPProxyPassword password # SyslogFacility user # SyslogPriority notice -# GnuPGBinary +# GnuPGBinary %%LOCALBASE%%/bin/gpg # GnuPGOptions # DetectDialer # DetectJoke @@ -158,7 +159,7 @@ you have the possibility to define your own text in alert and pathological notification mails. -The directory /usr/lib/AntiVir/templates contains the +The directory %%PREFIX%%/AntiVir/templates contains the following files: patho-administrator @@ -216,14 +217,15 @@ will be printed to syslog: (avmilter[1234]: Mail from foo@bar.tld to john@doe.tld will be scanned!) -The tables are: /etc/avmilter.scan and /etc/avmilter.ignore. +The tables are: %%PREFIX%%/etc/avmilter/avmilter.scan and +%%PREFIX%%/etc/avmilter/avmilter.ignore. Example files are included in this package. Each table consists of an address that contains regular expressions and one and/or two flags: Examples: ---------------------- -/etc/avmilter.scan: +avmilter.scan: The i is an option for the regexp and it means ignore case. #The following matches exactly the *recipient* address "foo@bar.tld" @@ -328,8 +330,8 @@ no notice mail will be sent to the recipient(s) and the sender! This behaviour cannot be changed. -In the /etc/avmilter.warn file one can specify who receives a -mail in case of an alert. +In the %%PREFIX%%/etc/avmilter/avmilter.warn file one can specify +who receives a mail in case of an alert. The definition there is used instead of the definition in the avmilter.conf (Expose*Alerts). @@ -464,7 +466,7 @@ mail. If set to a full path with filename, the text in that file will be added to the mail. -AddStatusInBody /usr/lib/AntiVir/templates/my_banner +AddStatusInBody %%PREFIX%%/AntiVir/templates/my_banner or AddStatusInBody yes