~ubuntu-branches/ubuntu/karmic/spamass-milter/karmic-updates

« back to all changes in this revision

Viewing changes to debian/README.Debian

  • Committer: Bazaar Package Importer
  • Author(s): Don Armstrong
  • Date: 2008-02-25 16:00:57 UTC
  • mfrom: (4.1.2 gutsy)
  • Revision ID: james.westby@ubuntu.com-20080225160057-adpz7vd2d3n4tkej
Tags: 0.3.1-7
* Add LSB options to init script (closes: #467145)
* Add status init script command support

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
INPUT_MAIL_FILTER line that connects to the spamass-milter socket.
7
7
 
8
8
By default the spamass-milter socket is
9
 
/var/run/sendmail/spamass.sock; so your INPUT_MAIL_FILTER should look
 
9
/var/run/spamass/spamass.sock; so your INPUT_MAIL_FILTER should look
10
10
something like:
11
11
 
12
12
 # spamassassin settings
13
13
 INPUT_MAIL_FILTER(`spamassassin',
14
 
         `S=local:/var/run/sendmail/spamass.sock, F=,
 
14
         `S=local:/var/run/spamass/spamass.sock, F=,
15
15
         T=S:4m;R:4m;E:10m')dnl
 
16
 define(`confMILTER_MACROS_CONNECT',`t, b, j, _, {daemon_name}, {if_name}, {if_addr}')dnl
 
17
 define(`confMILTER_MACROS_HELO',`s, {tls_version}, {cipher}, {cipher_bits}, {cert_subject}, {cert_issuer}')dnl
 
18
 define(`confMILTER_MACROS_ENVRCPT',`b, i, j, r, v, Z, _')dnl
16
19
 
17
20
Briefly, the F=, tells sendmail to just pass the connection through if
18
21
the milter fails. This is most likely the setting you want. If you
42
45
that postfix connects to the spamass-milter socket. Something like:
43
46
 
44
47
  # spamass-milter configuration
45
 
  smtpd_milters = unix:/var/run/sendmail/spamass.sock
 
48
  smtpd_milters = unix:/var/spool/postfix/spamass/spamass.sock
46
49
 
47
50
should work. See http://www.postfix.org/MILTER_README.html or
48
51
/usr/share/doc/postfix/MILTER_README.gz (in postfix-doc) for
49
52
information on how to set tempfail and the various timeouts that the
50
53
sendmail configuration above uses.
51
54
 
 
55
You'll also want to change /etc/default/spamass-milter to use the
 
56
SOCKET above, and also enable RUNAS so that it runs as the same user
 
57
that will be connecting to the socket.
 
58
 
52
59
-------------------------------------------------------------
53
60
  Adjusting how spamass-milter is started
54
61
-------------------------------------------------------------
86
93
 
87
94
and send the results along with your bug report using reportbug.
88
95
 
89
 
 -- Don Armstrong <don@donarmstrong.com>, Tuesday, September 12, 2006 20:24:40 PDT
 
96
 -- Don Armstrong <don@debian.org>, Tue,  2 Jan 2007 08:22:46 -0800