aboutsummaryrefslogtreecommitdiff
path: root/security/drweb-sendmail/files
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-03-24 22:14:57 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-03-24 22:14:57 +0000
commit1f75bcb746210069073b6a9c48d45b2ad859975f (patch)
tree1a69a3da31ce17961908f906b06fcf8d1f36090e /security/drweb-sendmail/files
parentcf9a75e8ae988d06579f1abf5f6a2fd140762818 (diff)
downloadports-1f75bcb746210069073b6a9c48d45b2ad859975f.tar.gz
ports-1f75bcb746210069073b6a9c48d45b2ad859975f.zip
Notes
Diffstat (limited to 'security/drweb-sendmail/files')
-rw-r--r--security/drweb-sendmail/files/patch-ae8
-rw-r--r--security/drweb-sendmail/files/patch-af51
2 files changed, 26 insertions, 33 deletions
diff --git a/security/drweb-sendmail/files/patch-ae b/security/drweb-sendmail/files/patch-ae
index d46af20a78ed..9ec4d924cd7d 100644
--- a/security/drweb-sendmail/files/patch-ae
+++ b/security/drweb-sendmail/files/patch-ae
@@ -1,10 +1,10 @@
---- dw_options.c.orig Fri Feb 14 16:52:50 2003
-+++ dw_options.c Tue Feb 18 04:58:04 2003
-@@ -113,7 +113,7 @@
+--- dw_options.c.orig Tue Dec 9 01:23:55 2003
++++ dw_options.c Tue Mar 2 20:54:56 2004
+@@ -117,7 +117,7 @@
#if defined(__UNIX_DW)
#if !defined(EMX_DW)
#if defined(FreeBSD_DW)
--#define OS_SPEC_CONFNAME "/usr/local/drweb/"CONF_FNAME
+-#define OS_SPEC_CONFNAME "/usr/local/etc/drweb/"CONF_FNAME
+#define OS_SPEC_CONFNAME "%PREFIX%/etc/drweb/"CONF_FNAME
#else /* FreeBSD */
#define OS_SPEC_CONFNAME "/opt/drweb/"CONF_FNAME
diff --git a/security/drweb-sendmail/files/patch-af b/security/drweb-sendmail/files/patch-af
index 40f70a692d60..23012b4381e7 100644
--- a/security/drweb-sendmail/files/patch-af
+++ b/security/drweb-sendmail/files/patch-af
@@ -1,53 +1,46 @@
---- etc/drweb_smf.conf.orig Wed Jun 4 16:46:57 2003
-+++ etc/drweb_smf.conf Tue Jul 1 10:12:55 2003
-@@ -17,14 +17,14 @@
+--- 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 resolved daemon host
+ # Enable/disable caching of the resolved daemon host
# (useful only if daemon uses TCP/IP communications)
Cache = yes
- # Timeout for whole scanning session (in seconds)
+ # Timeout for the whole scanning session (seconds)
-Timeout = 120
+Timeout = 160
########################
# Scan options section #
-@@ -72,10 +72,10 @@
- DenyOnOne = yes
+@@ -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 for story temporary files
+ # Directory used to store temporary files
-Spool = /var/drweb/spool
+Spool = /tmp
# Permissions for created spool files
SpoolFilesMode = 0600
-@@ -195,28 +195,28 @@
- # redirect - redirect to RedirectMail and reject message
+@@ -245,7 +245,7 @@
+ # pass - pass such messages
# reject - reject such messages with permanent error
# tempfail - reject such message with temporary error
--ProcessingErrors = quarantine
+-ProcessingErrors = reject
+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%
+ # 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
@@ -59,14 +52,14 @@
# 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
+ # 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
-@@ -254,15 +254,15 @@
+@@ -317,15 +317,15 @@
RcptsNotify = yes
# Files with notification templates
@@ -86,7 +79,7 @@
AdminTemplate =
RcptsTemplate =
-@@ -270,16 +270,16 @@
+@@ -333,16 +333,16 @@
SenderNotify = yes
AdminNotify = yes
RcptsNotify = no
@@ -107,7 +100,7 @@
RcptsTemplate =
[RuleFilterNotifications]
-@@ -287,7 +287,7 @@
+@@ -350,7 +350,7 @@
AdminNotify = yes
RcptsNotify = no
SenderTemplate =
@@ -116,7 +109,7 @@
RcptsTemplate =
###################
-@@ -316,7 +316,7 @@
+@@ -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
@@ -124,4 +117,4 @@
+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)
+ # (Must be greater than any Timeout. parameter in sendmail.cf)