summaryrefslogtreecommitdiff
path: root/security/drweb-sendmail/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'security/drweb-sendmail/files/patch-aa')
-rw-r--r--security/drweb-sendmail/files/patch-aa119
1 files changed, 102 insertions, 17 deletions
diff --git a/security/drweb-sendmail/files/patch-aa b/security/drweb-sendmail/files/patch-aa
index ad505a4baefc..041a304df666 100644
--- a/security/drweb-sendmail/files/patch-aa
+++ b/security/drweb-sendmail/files/patch-aa
@@ -1,17 +1,102 @@
---- configure.orig Thu Jul 25 17:31:39 2002
-+++ configure Sat Aug 24 20:10:04 2002
-@@ -148,14 +148,6 @@
- -o\
- $NO_ADD = "yes" ] ; then
- echo
-- echo "So you should to have next files:"
-- echo "$SM_HDR"
-- echo "include/libmilter/mfapi.h"
-- echo "lib/libmilter.a"
-- echo "$SM_LIB"
-- echo
-- echo "Do it and try again"
-- exit 1
- fi
- else
- DRWEB_SM=""
+--- usr/local/etc/drweb/drweb_smf.conf.orig Mon Oct 11 11:55:31 2004
++++ usr/local/etc/drweb/drweb_smf.conf Mon Oct 11 12:02:22 2004
+@@ -97,10 +97,10 @@
+ DenyByDefault = no
+
+ # List with rules for users or domains to block scanning
+-DenyList = /usr/local/etc/drweb/users.conf
++DenyList = %CONFDIR%/users.conf
+
+ # Directory used to store temporary files
+-Spool = /var/drweb/spool
++Spool = /tmp
+
+ # Permissions for created spool files
+ SpoolFilesMode = 0600
+@@ -282,16 +282,16 @@
+ FilterMail = DrWEB-DAEMON
+
+ # List of unnotificable viruses
+-UnnotificableVirusesList = /usr/local/etc/drweb/viruses.conf
++UnnotificableVirusesList = %CONFDIR%/viruses.conf
+
+ # List of unnotificable addresses
+-UnnotificableAddressesList = /usr/local/etc/drweb/addresses.conf
++UnnotificableAddressesList = %CONFDIR%/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 = /usr/local/drweb/infected
+
+ # Permissions for quarantined files
+ QuarantineFilesMode = 0660
+@@ -330,21 +330,21 @@
+ RcptsNotify = yes
+
+ # Files with notification templates
+-SenderTemplate = /usr/local/etc/drweb/templates/en-ru/sendmail/virus-sender.msg
+-AdminTemplate = /usr/local/etc/drweb/templates/en-ru/sendmail/virus-admin.msg
+-RcptsTemplate = /usr/local/etc/drweb/templates/en-ru/sendmail/virus-rcpts.msg
++SenderTemplate = %CONFDIR%/templates/en-ru/sendmail/virus-sender.msg
++AdminTemplate = %CONFDIR%/templates/en-ru/sendmail/virus-admin.msg
++RcptsTemplate = %CONFDIR%/templates/en-ru/sendmail/virus-rcpts.msg
+
+ [CuredNotifications]
+ SenderNotify = yes
+ AdminNotify = yes
+-SenderTemplate = /usr/local/etc/drweb/templates/en-ru/sendmail/cured-sender.msg
+-AdminTemplate = /usr/local/etc/drweb/templates/en-ru/sendmail/cured-admin.msg
++SenderTemplate = %CONFDIR%/templates/en-ru/sendmail/cured-sender.msg
++AdminTemplate = %CONFDIR%/templates/en-ru/sendmail/cured-admin.msg
+
+ [SkipNotifications]
+ SenderNotify = yes
+ AdminNotify = no
+ RcptsNotify = no
+-SenderTemplate = /usr/local/etc/drweb/templates/en-ru/sendmail/skip-sender.msg
++SenderTemplate = %CONFDIR%/templates/en-ru/sendmail/skip-sender.msg
+ AdminTemplate =
+ RcptsTemplate =
+
+@@ -352,16 +352,16 @@
+ SenderNotify = yes
+ AdminNotify = yes
+ RcptsNotify = no
+-SenderTemplate = /usr/local/etc/drweb/templates/en-ru/sendmail/archive-sender.msg
+-AdminTemplate = /usr/local/etc/drweb/templates/en-ru/sendmail/archive-admin.msg
++SenderTemplate = %CONFDIR%/templates/en-ru/sendmail/archive-sender.msg
++AdminTemplate = %CONFDIR%/templates/en-ru/sendmail/archive-admin.msg
+ RcptsTemplate =
+
+ [ErrorNotifications]
+ SenderNotify = yes
+ AdminNotify = yes
+ RcptsNotify = no
+-SenderTemplate = /usr/local/etc/drweb/templates/en-ru/sendmail/error-sender.msg
+-AdminTemplate = /usr/local/etc/drweb/templates/en-ru/sendmail/error-admin.msg
++SenderTemplate = %CONFDIR%/templates/en-ru/sendmail/error-sender.msg
++AdminTemplate = %CONFDIR%/templates/en-ru/sendmail/error-admin.msg
+ RcptsTemplate =
+
+ [RuleFilterNotifications]
+@@ -369,7 +369,7 @@
+ AdminNotify = yes
+ RcptsNotify = no
+ SenderTemplate =
+-AdminTemplate = /usr/local/etc/drweb/templates/en-ru/sendmail/rule-admin.msg
++AdminTemplate = %CONFDIR%/templates/en-ru/sendmail/rule-admin.msg
+ RcptsTemplate =
+
+ ###################
+@@ -430,7 +430,7 @@
+
+ # Milter (libmilter have its own output system) debug level (0 - quiet .. 5 -
+ # verbose)
+-MilterDebugLevel = 0
++MilterDebugLevel = 1
+
+ ################################
+ # Mail system settings section #