forked from Lainports/freebsd-ports
PR: ports/82930 Submitted by: Dmitry A Grigorovich <odip@bionet.nsc.ru> Approved by: Alexander Demin <support@spectrum.ru> (maintainer)
99 lines
3.5 KiB
Text
99 lines
3.5 KiB
Text
--- usr/local/etc/drweb/drweb_postfix.conf.orig Tue Dec 21 12:16:19 2004
|
|
+++ usr/local/etc/drweb/drweb_postfix.conf Tue Dec 21 12:25:01 2004
|
|
@@ -87,10 +87,10 @@
|
|
DenyByDefault = no
|
|
|
|
# List with rules for users or domains to block scanning
|
|
-DenyList = /usr/local/etc/drweb/users.conf
|
|
+DenyList = %CONFDIR%/users.conf
|
|
|
|
# Directory used to store temporary files
|
|
-Spool = /var/drweb/spool
|
|
+Spool = /tmp
|
|
|
|
# Permissions for created spool files
|
|
SpoolFilesMode = 0600
|
|
@@ -269,16 +269,16 @@
|
|
FilterMail = DrWEB-DAEMON
|
|
|
|
# List of unnotificable viruses
|
|
-UnnotificableVirusesList = /usr/local/etc/drweb/viruses.conf
|
|
+UnnotificableVirusesList = %CONFDIR%/viruses.conf
|
|
|
|
# List of unnotificable addresses
|
|
-UnnotificableAddressesList = /usr/local/etc/drweb/addresses.conf
|
|
+UnnotificableAddressesList = %CONFDIR%/addresses.conf
|
|
|
|
# Quarantine directory.
|
|
# The infected files could be moved in that dir
|
|
# if you leave this field empty or commented out then
|
|
# infected messages will not be stored
|
|
-Quarantine = /var/drweb/infected
|
|
+Quarantine = /usr/local/drweb/infected
|
|
|
|
# Permissions for quarantined files
|
|
QuarantineFilesMode = 0660
|
|
@@ -302,21 +302,21 @@
|
|
RcptsNotify = yes
|
|
|
|
# Files with notification templates
|
|
-SenderTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/virus-sender.msg
|
|
-AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/virus-admin.msg
|
|
-RcptsTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/virus-rcpts.msg
|
|
+SenderTemplate = %CONFDIR%/templates/en-ru/postfix/virus-sender.msg
|
|
+AdminTemplate = %CONFDIR%/templates/en-ru/postfix/virus-admin.msg
|
|
+RcptsTemplate = %CONFDIR%/templates/en-ru/postfix/virus-rcpts.msg
|
|
|
|
[CuredNotifications]
|
|
SenderNotify = yes
|
|
AdminNotify = yes
|
|
-SenderTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/cured-sender.msg
|
|
-AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/cured-admin.msg
|
|
+SenderTemplate = %CONFDIR%/templates/en-ru/postfix/cured-sender.msg
|
|
+AdminTemplate = %CONFDIR%/templates/en-ru/postfix/cured-admin.msg
|
|
|
|
[SkipNotifications]
|
|
SenderNotify = yes
|
|
AdminNotify = no
|
|
RcptsNotify = no
|
|
-SenderTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/skip-sender.msg
|
|
+SenderTemplate = %CONFDIR%/templates/en-ru/postfix/skip-sender.msg
|
|
AdminTemplate =
|
|
RcptsTemplate =
|
|
|
|
@@ -324,16 +324,16 @@
|
|
SenderNotify = yes
|
|
AdminNotify = yes
|
|
RcptsNotify = no
|
|
-SenderTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/archive-sender.msg
|
|
-AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/archive-admin.msg
|
|
+SenderTemplate = %CONFDIR%/templates/en-ru/postfix/archive-sender.msg
|
|
+AdminTemplate = %CONFDIR%/templates/en-ru/postfix/archive-admin.msg
|
|
RcptsTemplate =
|
|
|
|
[ErrorNotifications]
|
|
SenderNotify = yes
|
|
AdminNotify = yes
|
|
RcptsNotify = no
|
|
-SenderTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/error-sender.msg
|
|
-AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/error-admin.msg
|
|
+SenderTemplate = %CONFDIR%/templates/en-ru/postfix/error-sender.msg
|
|
+AdminTemplate = %CONFDIR%/templates/en-ru/postfix/error-admin.msg
|
|
RcptsTemplate =
|
|
|
|
[RuleFilterNotifications]
|
|
@@ -341,12 +341,12 @@
|
|
AdminNotify = yes
|
|
RcptsNotify = no
|
|
SenderTemplate =
|
|
-AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/rule-admin.msg
|
|
+AdminTemplate = %CONFDIR%/templates/en-ru/postfix/rule-admin.msg
|
|
RcptsTemplate =
|
|
|
|
[LicenseLimitNotifications]
|
|
AdminNotify = yes
|
|
-AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/license-admin.msg
|
|
+AdminTemplate = %CONFDIR%/templates/en-ru/postfix/license-admin.msg
|
|
|
|
###################
|
|
# Logging section #
|