forked from Lainports/freebsd-ports
118 lines
4 KiB
Text
118 lines
4 KiB
Text
--- etc/drweb_postfix.conf.orig Sat Jul 12 16:30:33 2003
|
|
+++ etc/drweb_postfix.conf Sat Jul 12 16:40:30 2003
|
|
@@ -17,14 +17,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 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 #
|
|
@@ -69,10 +69,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
|
|
@@ -192,28 +192,28 @@
|
|
# redirect - redirect to RedirectMail and reject message
|
|
# reject - reject such messages with permanent error
|
|
# tempfail - reject such message with temporary error
|
|
-ProcessingErrors = quarantine
|
|
+ProcessingErrors = tempfail
|
|
|
|
# Admin mail address (may be unix-local address)
|
|
-AdminMail = av-master@example.com
|
|
+AdminMail = postmaster
|
|
|
|
# Mail address for redirect action (may be unix-local address)
|
|
-RedirectMail = quarantine@example.com
|
|
+RedirectMail = postmaster
|
|
|
|
# Filter address, that be used in From: (should be qualified)
|
|
-FilterMail = DrWEB-DAEMON@example.com
|
|
+FilterMail = DrWEB-DAEMON@%HOSTNAME%
|
|
|
|
# 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 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
|
|
@@ -237,15 +237,15 @@
|
|
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
|
|
+AdminTemplate = %PREFIX%/etc/drweb/templates/en-ru/postfix/virus-admin.msg
|
|
+RcptsTemplate = %PREFIX%/etc/drweb/templates/en-ru/postfix/virus-rcpts.msg
|
|
+SenderTemplate = %PREFIX%/etc/drweb/templates/en-ru/postfix/virus-sender.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 =
|
|
|
|
@@ -253,16 +253,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]
|
|
@@ -270,7 +270,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 =
|
|
|
|
###################
|