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
|
From: Henrique de Moraes Holschuh <hmh@debian.org>
Date: Tue, 25 Sep 2018 08:03:32 +1000
Subject: Misc doc changes
---
README_FILES/README.courier | 4 ++++
README_FILES/README.exim_v3 | 6 ++++++
README_FILES/README.milter | 21 +++++++++++++++++++++
amavisd.conf-default | 3 +++
4 files changed, 34 insertions(+)
diff --git a/README_FILES/README.courier b/README_FILES/README.courier
index 3fb045d..5a5b3cd 100644
--- a/README_FILES/README.courier
+++ b/README_FILES/README.courier
@@ -1,3 +1,7 @@
+Debian Note: Rename the start links of amavisd-new to S21, or you
+risk trouble. See the last paragraph of this text for more information.
+
+
How to use amavisd-new with Courier
***********************************
diff --git a/README_FILES/README.exim_v3 b/README_FILES/README.exim_v3
index ba69191..13da2a0 100644
--- a/README_FILES/README.exim_v3
+++ b/README_FILES/README.exim_v3
@@ -1,3 +1,9 @@
+Debian notes:
+
+1. Install amavisd-new-milter. It contains /usr/sbin/amavis,
+which is required for the following instructions to work.
+--- cut ---
+
+======================================================================+
| (Please see instructions in README.exim_v4. The setup described here |
| is not recommended with amavisd-new + Exim v4) |
diff --git a/README_FILES/README.milter b/README_FILES/README.milter
index 44768ce..f587938 100644
--- a/README_FILES/README.milter
+++ b/README_FILES/README.milter
@@ -1,3 +1,24 @@
+Debian notes:
+
+1. Install amavisd-new-milter.
+
+2. The postinst script needs to add lines to one's sendmail.mc file that
+tell it how to communicate with a milter program, e.g.:
+
+define(`MILTER',1)
+INPUT_MAIL_FILTER(`/usr/sbin/amavis-milter',`S=local:/var/lib/amavis/amavisd-new-milter.sock, F=T, T=S:10m;R:10m;E:10m')
+
+Run sendmailconfig.
+
+3. Change/replace the following settings in /etc/amavis/amavisd.conf:
+
+$unix_socketname = "/var/lib/amavis/amavisd.sock";
+$forward_method = undef;
+$notify_method = $notify_method = 'pipe:flags=q argv=/usr/sbin/sendmail -i -odd -f ${sender} -- ${recipient}';
+
+Contributed and adapted from Susan Kleinmann <sgk@kleinmann.com>.
+[End of Debian Notes]
+
===============================================================================
NOTE:
A recommended sendmail setup is described in file README.sendmail-dual,
diff --git a/amavisd.conf-default b/amavisd.conf-default
index 716bcd0..470da7c 100644
--- a/amavisd.conf-default
+++ b/amavisd.conf-default
@@ -1,5 +1,8 @@
use strict;
+# ADMINSTRATORS: DO NOT CHANGE THIS FILE
+# Change /etc/amavis/conf.d/30-user instead.
+
## A CONFIGURATION FILE FOR AMAVISD-NEW, LISTING ALL CONFIGURATION VARIABLES
## WITH THEIR DEFAULT VALUES (FOR REFERENCE ONLY, NON-AUTHORITATIVE)
|