]> git.donarmstrong.com Git - deb_pkgs/spamass-milter.git/commitdiff
* NOT RELEASED YET
authordon <don@8f7917da-ec0b-0410-a553-b9b0e350d17e>
Thu, 21 Aug 2008 23:40:05 +0000 (23:40 +0000)
committerdon <don@8f7917da-ec0b-0410-a553-b9b0e350d17e>
Thu, 21 Aug 2008 23:40:05 +0000 (23:40 +0000)
* Update the documentation in README.Debian to indicate that a different
  path to the postfix socket may be required in chrooted postfix
  installs (closes: #496003)

debian/README.Debian
debian/changelog

index 65b6a5dc3bb8711f08f481d0448c3f2c452a4a18..c141cd87db6b9af8aeb6d0652222730fe614aa32 100644 (file)
@@ -47,14 +47,21 @@ that postfix connects to the spamass-milter socket. Something like:
   # spamass-milter configuration
   smtpd_milters = unix:/var/spool/postfix/spamass/spamass.sock
 
-should work. See http://www.postfix.org/MILTER_README.html or
+should work. Note, however, if you're using a chrooted version of
+postfix, you'll need the local path to the socket inside of the
+chroot. In recent versions of Debian the following should work:
+
+  # spamass-milter configuration
+  smtpd_milters = unix:/spamass/spamass.sock
+
+See http://www.postfix.org/MILTER_README.html or
 /usr/share/doc/postfix/MILTER_README.gz (in postfix-doc) for
 information on how to set tempfail and the various timeouts that the
 sendmail configuration above uses.
 
-You'll also want to change /etc/default/spamass-milter to use the
-SOCKET above, and also enable RUNAS so that it runs as the same user
-that will be connecting to the socket.
+The defaults for spamass-milter adjust themselves so that no
+configuration in /etc/default/milter should be required. [However, if
+you are not doing so, see below.]
 
 -------------------------------------------------------------
   Adjusting how spamass-milter is started
@@ -62,7 +69,23 @@ that will be connecting to the socket.
 
 You can adjust how spamass-milter starts, and the options it calls
 spamc with by adjusting /etc/default/spamass-milter. OPTIONS is passed
-directly to spamass-milter by /etc/init.d/spamass-milter.
+directly to spamass-milter by /etc/init.d/spamass-milter. [Refer to
+spamass-milter(1) for details.]
+
+Other settings which may be of use:
+
+SOCKET sets the location of the socket; defaults to
+/var/run/spamass/spamass.sock unless you are running postfix, where it
+is set to /var/spool/postfix/spamass/spamass.sock.
+
+SOCKETOWNER is the owner of the socket, which defaults to root:root or
+postfix:postfix if you're running postfix.
+
+SOCKETMODE is the mode of the socket, which defaults to 0600 or 0660
+if you're running postfix.
+
+RUNAS controls the user which spamass-milter runs as; defaults to
+spamass-milter.
 
 -------------------------------------------------------------
 Debugging spamass-milter
@@ -93,4 +116,4 @@ q
 
 and send the results along with your bug report using reportbug.
 
- -- Don Armstrong <don@debian.org>, Tue,  2 Jan 2007 08:22:46 -0800
+ -- Don Armstrong <don@debian.org>, Thu, 21 Aug 2008 16:52:22 -0700
index 8147ea86595a4964a8e0aea18c719d8eec922004..1a2b935d6f0e433b0a5ba434f0e815edc1cd6eb6 100644 (file)
@@ -1,3 +1,12 @@
+spamass-milter (0.3.1-8) UNRELEASED; urgency=low
+
+  * NOT RELEASED YET
+  * Update the documentation in README.Debian to indicate that a different
+    path to the postfix socket may be required in chrooted postfix
+    installs (closes: #496003)
+
+ -- Don Armstrong <don@debian.org>  Thu, 21 Aug 2008 16:54:35 -0700
+
 spamass-milter (0.3.1-7) unstable; urgency=low
 
   * Add LSB options to init script (closes: #467145)