--- etc/drweb_smf.conf.orig Fri Jul 26 17:03:59 2002 +++ etc/drweb_smf.conf Sun Aug 25 06:48:32 2002 @@ -14,14 +14,14 @@ # Address = inet:3000@localhost # Address = local:/usr/local/drweb/run/drwebd.skt # Address = pid:/usr/local/drweb/run/drwebd.pid -Address = inet:3000@localhost +Address = local:%PREFIX%/drweb/run/drwebd.sock # Enable/disable caching resolved daemon host # (useful only if daemon uses TCP/IP communications) Cache = yes # Timeout for whole scanning session (in seconds) -Timeout = 120 +Timeout = 160 ######################## # Scan options section # @@ -61,10 +61,10 @@ DenyOnOne = yes # List with rules for users or domains to block scanning -DenyList = /etc/drweb/users.conf +DenyList = %PREFIX%/etc/drweb/users.conf # Directory used for story temporary files -Spool = /var/drweb/spool +Spool = /tmp # Permissions for created spool files SpoolFilesMode = 0600 @@ -136,7 +136,7 @@ # reject - reject messages # quarantine - move message to quarantine and discard it # tempfail - says that we temporary unavailable -ScanningErrors = reject +ScanningErrors = tempfail # ProcessingErrors - errors in proxy-client: no memory`,' misconfigured`,' timeout # on communication with daemon and etc. @@ -144,19 +144,19 @@ # pass - accept messages # reject - reject messages # tempfail - says that we temporary unavailable -ProcessingErrors = reject +ProcessingErrors = tempfail # Admin mail address (may be unix-local address) -AdminMail = av-admin@example.com +AdminMail = postmaster # Filter address`,' that be used in From: -FilterMail = DrWeb-DAEMON@example.com +FilterMail = DrWeb-DAEMON@%HOSTNAME% # Quarantine directory. # The infected files could be moved in that dir # if you stay this field empty or commented then # infected messages would not been storied -Quarantine = /var/drweb/infected +Quarantine = %PREFIX%/drweb/infected # Permissions for quarantined files QuarantineFilesMode = 0660 @@ -185,32 +185,32 @@ RcptsNotify = yes # Files with notification templates -AdminTemplate = /etc/drweb/templates/en-ru/sendmail/virus-admin.msg -SenderTemplate = /etc/drweb/templates/en-ru/sendmail/virus-sender.msg -RcptsTemplate = /etc/drweb/templates/en-ru/sendmail/virus-rcpts.msg +AdminTemplate = %PREFIX%/etc/drweb/templates/en-ru/sendmail/virus-admin.msg +SenderTemplate = %PREFIX%/etc/drweb/templates/en-ru/sendmail/virus-sender.msg +RcptsTemplate = %PREFIX%/etc/drweb/templates/en-ru/sendmail/virus-rcpts.msg [SkipNotifications] AdminNotify = no SenderNotify = yes RcptsNotify = no AdminTemplate = -SenderTemplate = /etc/drweb/templates/en-ru/sendmail/skip-sender.msg +SenderTemplate = %PREFIX%/etc/drweb/templates/en-ru/sendmail/skip-sender.msg RcptsTemplate = [MailbombNotifications] AdminNotify = yes SenderNotify = yes RcptsNotify = no -AdminTemplate = /etc/drweb/templates/en-ru/sendmail/mailbomb-admin.msg -SenderTemplate = /etc/drweb/templates/en-ru/sendmail/mailbomb-sender.msg +AdminTemplate = %PREFIX%/etc/drweb/templates/en-ru/sendmail/mailbomb-admin.msg +SenderTemplate = %PREFIX%/etc/drweb/templates/en-ru/sendmail/mailbomb-sender.msg RcptsTemplate = [ErrorNotifications] AdminNotify = yes SenderNotify = yes RcptsNotify = no -AdminTemplate = /etc/drweb/templates/en-ru/sendmail/error-admin.msg -SenderTemplate = /etc/drweb/templates/en-ru/sendmail/error-sender.msg +AdminTemplate = %PREFIX%/etc/drweb/templates/en-ru/sendmail/error-admin.msg +SenderTemplate = %PREFIX%/etc/drweb/templates/en-ru/sendmail/error-sender.msg RcptsTemplate = ################### @@ -239,7 +239,7 @@ # Definition of Sendmail Milter Address according to sendmail.cf # Note: FAMILY pid is not valid # MilterAddress = local:/usr/local/drweb/run/drweb-smf.skt -MilterAddress = inet:3001@localhost +MilterAddress = local:%PREFIX%/drweb/run/drweb-smf.sock # Timeout for drweb-smf to sendmail connection # (Must be greater that any Timeout. parameter in sendmail.cf)