summaryrefslogtreecommitdiff
path: root/security/drweb-sendmail/files/patch-af
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2002-05-11 03:26:45 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2002-05-11 03:26:45 +0000
commit2ed1107dfcd044f2a3fb9b563391322eda4d2653 (patch)
tree36419ab53f27d929dec27623a3e030d27203414b /security/drweb-sendmail/files/patch-af
parentadd support for Adobe Systems Tech Note #5079 & #5080 (diff)
Upgrade to 4.28
Notes
Notes: svn path=/head/; revision=58891
Diffstat (limited to 'security/drweb-sendmail/files/patch-af')
-rw-r--r--security/drweb-sendmail/files/patch-af131
1 files changed, 131 insertions, 0 deletions
diff --git a/security/drweb-sendmail/files/patch-af b/security/drweb-sendmail/files/patch-af
new file mode 100644
index 000000000000..6b81649341fb
--- /dev/null
+++ b/security/drweb-sendmail/files/patch-af
@@ -0,0 +1,131 @@
+--- etc/sendmail/etc/drweb/drweb_smf.conf.orig Mon May 6 23:48:14 2002
++++ etc/sendmail/etc/drweb/drweb_smf.conf Fri May 10 18:12:59 2002
+@@ -15,14 +15,14 @@
+ # Address = inet:3000@localhost
+ # Address = local:/var/drweb/run/drwebd.socket
+ # Address = pid:/var/drweb/run/drwebd.pid
+-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 communication operations (in seconds)
+-Timeout = 60
++Timeout = 90
+
+ #########################
+ # Communication section #
+@@ -32,7 +32,7 @@
+ # Note: FAMILY pid is not valid
+ # Address = inet:3001@localhost
+ # Address = local:/usr/local/drweb/run/drweb-smf.skt
+-Address = inet:3001@localhost
++Address = local:%PREFIX%/drweb/run/drweb-smf.sock
+
+ ########################
+ # Scan options section #
+@@ -58,10 +58,10 @@
+ SpamFilter = off
+
+ # Directory used for story temporary files
+-Spool = /var/drweb/spool
++Spool = /tmp
+
+ # User account used by filter
+-# FilterAccount =
++FilterAccount = drweb
+
+ # Deny scanning if at least one of recipient or sender address
+ # present in DenyList with "deny" option (yes/no), if "no" all
+@@ -69,7 +69,7 @@
+ DenyOnOne = yes
+
+ # List with rules for users or domains to block scanning
+-DenyList = /etc/drweb/users.conf
++DenyList = %PREFIX%/etc/drweb/users.conf
+
+ ###################
+ # Actions section #
+@@ -95,7 +95,8 @@
+ # pass (default) - pass such messages
+ # discard - discard such messages
+ # reject - reject this message
+-SpamFilterAlert = pass
++SpamFilterAlert = discard
++
+ # EmptyFrom - mean that SMTP session initiated with empty envelope From:
+ # widely used spammers and Mailer-Daemons
+ # Actions:
+@@ -111,7 +112,7 @@
+ # pass - accept messages with such objects
+ # quarantine - move message to quarantine and reject it
+ # reject (default) - reject messages
+-SkipObject = reject
++SkipObject = pass
+
+ # MailbombObject - mean that daemon found object in archive with compression
+ # ratio exceeded MaxCompressionRation or size of object greater
+@@ -138,19 +139,19 @@
+ # pass - accept messages
+ # reject (default) - reject messages
+ # tempfail - says that we temporary unavailable
+-ProcessingErrors = reject
++ProcessingErrors = tempfail
+
+ # Admin mail address (may be unix-local address)
+ AdminMail = postmaster
+
+ # Filter address, that be used in From:
+-FilterMail = DrWeb-DAEMON@your.domain.com
++FilterMail = DrWeb-DAEMON@%HOSTNAME%
+
+ # 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
+
+
+ #########################
+@@ -177,31 +178,31 @@
+ RcptsNotify = yes
+
+ # Files with notification templates
+-AdminTemplate = /etc/drweb/templates/en/sendmail/virus-admin.msg
+-SenderTemplate = /etc/drweb/templates/en/sendmail/virus-sender.msg
+-RcptsTemplate = /etc/drweb/templates/en/sendmail/virus-rcpts.msg
++AdminTemplate = %PREFIX%/etc/drweb/templates/en/sendmail/virus-admin.msg
++SenderTemplate = %PREFIX%/etc/drweb/templates/en/sendmail/virus-sender.msg
++RcptsTemplate = %PREFIX%/etc/drweb/templates/en/sendmail/virus-rcpts.msg
+
+ [SkipNotifications]
+ AdminNotify = no
+ SenderNotify = yes
+ RcptsNotify = no
+ AdminTemplate =
+-SenderTemplate = /etc/drweb/templates/en/sendmail/skipobj-sender.msg
++SenderTemplate = %PREFIX%/etc/drweb/templates/en/sendmail/skipobj-sender.msg
+ RcptsTemplate =
+
+ [MailbombNotifications]
+ AdminNotify = yes
+ SenderNotify = yes
+ RcptsNotify = no
+-AdminTemplate = /etc/drweb/templates/en/sendmail/mailbomb-admin.msg
+-SenderTemplate = /etc/drweb/templates/en/sendmail/mailbomb-sender.msg
++AdminTemplate = %PREFIX%/etc/drweb/templates/en/sendmail/mailbomb-admin.msg
++SenderTemplate = %PREFIX%/etc/drweb/templates/en/sendmail/mailbomb-sender.msg
+ RcptsTemplate =
+
+ [ErrorNotifications]
+ AdminNotify = yes
+ SenderNotify = no
+ RcptsNotify = no
+-AdminTemplate = /etc/drweb/templates/en/sendmail/error-admin.msg
++AdminTemplate = %PREFIX%/etc/drweb/templates/en/sendmail/error-admin.msg
+ SenderTemplate =
+ RcptsTemplate =
+