1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
--- etc/drweb_smf.conf.orig Fri Feb 27 23:21:37 2004
+++ etc/drweb_smf.conf Sat Mar 6 23:10:40 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 #
@@ -91,10 +91,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
@@ -245,7 +245,7 @@
# pass - pass such messages
# reject - reject such messages with permanent error
# tempfail - reject such message with temporary error
-ProcessingErrors = reject
+ProcessingErrors = tempfail
# These reply strings will be used as SMTP reply if message has been rejected.
# You can specify only text part of reply: 550 5.7.0 Text part of reply.
@@ -269,16 +269,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
@@ -317,15 +317,15 @@
RcptsNotify = yes
# Files with notification templates
-SenderTemplate = /etc/drweb/templates/en-ru/sendmail/virus-sender.msg
-AdminTemplate = /etc/drweb/templates/en-ru/sendmail/virus-admin.msg
-RcptsTemplate = /etc/drweb/templates/en-ru/sendmail/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/sendmail/skip-sender.msg
+SenderTemplate = %PREFIX%/etc/drweb/templates/en-ru/sendmail/skip-sender.msg
AdminTemplate =
RcptsTemplate =
@@ -333,16 +333,16 @@
SenderNotify = yes
AdminNotify = yes
RcptsNotify = no
-SenderTemplate = /etc/drweb/templates/en-ru/sendmail/archive-sender.msg
-AdminTemplate = /etc/drweb/templates/en-ru/sendmail/archive-admin.msg
+SenderTemplate = %PREFIX%/etc/drweb/templates/en-ru/sendmail/archive-sender.msg
+AdminTemplate = %PREFIX%/etc/drweb/templates/en-ru/sendmail/archive-admin.msg
RcptsTemplate =
[ErrorNotifications]
SenderNotify = yes
AdminNotify = yes
RcptsNotify = no
-SenderTemplate = /etc/drweb/templates/en-ru/sendmail/error-sender.msg
-AdminTemplate = /etc/drweb/templates/en-ru/sendmail/error-admin.msg
+SenderTemplate = %PREFIX%/etc/drweb/templates/en-ru/sendmail/error-sender.msg
+AdminTemplate = %PREFIX%/etc/drweb/templates/en-ru/sendmail/error-admin.msg
RcptsTemplate =
[RuleFilterNotifications]
@@ -350,7 +350,7 @@
AdminNotify = yes
RcptsNotify = no
SenderTemplate =
-AdminTemplate = /etc/drweb/templates/en-ru/sendmail/rule-admin.msg
+AdminTemplate = %PREFIX%/etc/drweb/templates/en-ru/sendmail/rule-admin.msg
RcptsTemplate =
###################
@@ -391,7 +391,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 than any Timeout. parameter in sendmail.cf)
|