Package: spamass-milter
Version: 0.3.1-7+b1
Severity: important

Hello,

I think I have found a bug in the documentation for spamass-milter.
/usr/share/doc/spamass-milter/README.Debian instructs those using 
spamass-milter with postfix to:
"
--------------------------------------------------------------
  Integrating spamass-milter into your postfix installation
--------------------------------------------------------------

You need to edit /etc/postfix/main.cf and configure smptpd_milters so
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
/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.
"
Unfortunatly this will produce a very confusing error message:
postfix/smtpd[8625]: warning: connect to Milter service 
unix:/var/spool/postfix/spamass/spamass.sock: No such file or directory

As that file DOES exist it is kind of boggling.

The problem is that as documented at 
http://www.postfix.org/MILTER_README.html when postfix is running 
chrooted (as it is by default in lenny),
"the smtpd(8) or cleanup(8) process runs chrooted, an absolute pathname 
is interpreted relative to the Postfix queue directory."

This means that the suggested line shoudl be:  
smtpd_milters = unix:/spamass/spamass.sock
instead.

As it took me an hour of googling, permissions checking, etc before I 
thought to doubt the documentation I thought I would pass this on up the 
chain in hopes that I could spare others the same trouble.

Thanks!!
David.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages spamass-milter depends on:
ii  adduser                       3.108      add and remove users and groups
ii  libc6                         2.7-13     GNU C Library: Shared libraries
ii  libgcc1                       1:4.3.1-2  GCC support library
ii  libmilter1.0.1                8.14.3-5   Sendmail Mail Filter API (Milter)
ii  libstdc++6                    4.3.1-2    The GNU Standard C++ Library v3
ii  spamc                         3.2.5-1    Client for SpamAssassin spam filte

Versions of packages spamass-milter recommends:
ii  postfix                    2.5.2-2lenny1 High-performance mail transport ag
ii  spamassassin               3.2.5-1       Perl-based spam filter using text 

spamass-milter suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to