freebsd-ports/security/drweb-postfix/files/patch-ab
Volker Stolz e1d59ba940 Update to 4.31
PR:		ports/69239
Submitted by:	zhuravlev alexander (maintainer)
2004-07-23 12:30:38 +00:00

112 lines
3.7 KiB
Text

--- etc/drweb_postfix.conf.orig Sun Jul 18 14:55:55 2004
+++ etc/drweb_postfix.conf Sun Jul 18 15:00:45 2004
@@ -18,14 +18,14 @@
# Address = local:/usr/local/drweb/run/drwebd.skt
# Address = pid:/usr/local/drweb/run/drwebd.pid
# Address = pid:/var/drweb/run/drwebd.pid, inet:3000@backup_server.example.com
-Address = inet:3000@localhost
+Address = local:%PREFIX%/drweb/run/drwebd.sock
# Enable/disable caching of the resolved daemon host
# (useful only if daemon uses TCP/IP communications)
Cache = yes
# Timeout for the whole scanning session (seconds)
-Timeout = 120
+Timeout = 160
########################
# Scan options section #
@@ -83,10 +83,10 @@
DenyByDefault = no
# List with rules for users or domains to block scanning
-DenyList = /etc/drweb/users.conf
+DenyList = %PREFIX%/etc/drweb/users.conf
# Directory used to store temporary files
-Spool = /var/drweb/spool
+Spool = /tmp
# Permissions for created spool files
SpoolFilesMode = 0600
@@ -237,7 +237,7 @@
# pass - pass such messages
# reject - reject such messages with permanent error
# tempfail - reject such message with temporary error
-ProcessingErrors = reject
+ProcessingErrors = tempfail
# Admin mail address (may be unix-local address)
AdminMail = postmaster
@@ -249,16 +249,16 @@
FilterMail = DrWEB-DAEMON
# List of unnotificable viruses
-UnnotificableVirusesList = /etc/drweb/viruses.conf
+UnnotificableVirusesList = %PREFIX%/etc/drweb/viruses.conf
# List of unnotificable addresses
-UnnotificableAddressesList = /etc/drweb/addresses.conf
+UnnotificableAddressesList = %PREFIX%/etc/drweb/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 = %PREFIX%/drweb/infected
# Permissions for quarantined files
QuarantineFilesMode = 0660
@@ -282,15 +282,16 @@
RcptsNotify = yes
# Files with notification templates
-SenderTemplate = /etc/drweb/templates/en-ru/postfix/virus-sender.msg
-AdminTemplate = /etc/drweb/templates/en-ru/postfix/virus-admin.msg
-RcptsTemplate = /etc/drweb/templates/en-ru/postfix/virus-rcpts.msg
+SenderTemplate = %PREFIX%/etc/drweb/templates/en-ru/sendmail/virus-sender.msg
+AdminTemplate = %PREFIX%/etc/drweb/templates/en-ru/sendmail/virus-admin.msg
+RcptsTemplate = %PREFIX%/etc/drweb/templates/en-ru/sendmail/virus-rcpts.msg
+
[SkipNotifications]
SenderNotify = yes
AdminNotify = no
RcptsNotify = no
-SenderTemplate = /etc/drweb/templates/en-ru/postfix/skip-sender.msg
+SenderTemplate = %PREFIX%/etc/drweb/templates/en-ru/postfix/skip-sender.msg
AdminTemplate =
RcptsTemplate =
@@ -298,16 +299,16 @@
SenderNotify = yes
AdminNotify = yes
RcptsNotify = no
-SenderTemplate = /etc/drweb/templates/en-ru/postfix/archive-sender.msg
-AdminTemplate = /etc/drweb/templates/en-ru/postfix/archive-admin.msg
+SenderTemplate = %PREFIX%/etc/drweb/templates/en-ru/postfix/archive-sender.msg
+AdminTemplate = %PREFIX%/etc/drweb/templates/en-ru/postfix/archive-admin.msg
RcptsTemplate =
[ErrorNotifications]
SenderNotify = yes
AdminNotify = yes
RcptsNotify = no
-SenderTemplate = /etc/drweb/templates/en-ru/postfix/error-sender.msg
-AdminTemplate = /etc/drweb/templates/en-ru/postfix/error-admin.msg
+SenderTemplate = %PREFIX%/etc/drweb/templates/en-ru/postfix/error-sender.msg
+AdminTemplate = %PREFIX%/etc/drweb/templates/en-ru/postfix/error-admin.msg
RcptsTemplate =
[RuleFilterNotifications]
@@ -315,7 +316,7 @@
AdminNotify = yes
RcptsNotify = no
SenderTemplate =
-AdminTemplate = /etc/drweb/templates/en-ru/postfix/rule-admin.msg
+AdminTemplate = %PREFIX%/etc/drweb/templates/en-ru/postfix/rule-admin.msg
RcptsTemplate =
###################