X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debian%2FREADME.Debian;h=65b6a5dc3bb8711f08f481d0448c3f2c452a4a18;hb=cd4cb6463a9bec99f2843ccc8ea723da055c818d;hp=60e5d86622012c6f8809285e316365fd0d754643;hpb=b710828435b1f296a81fb7f239b64ce7a1b3e9b8;p=deb_pkgs%2Fspamass-milter.git diff --git a/debian/README.Debian b/debian/README.Debian index 60e5d86..65b6a5d 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -6,13 +6,16 @@ You will need to edit /etc/mail/sendmail.mc and add an INPUT_MAIL_FILTER line that connects to the spamass-milter socket. By default the spamass-milter socket is -/var/run/sendmail/spamass.sock; so your INPUT_MAIL_FILTER should look +/var/run/spamass/spamass.sock; so your INPUT_MAIL_FILTER should look something like: # spamassassin settings INPUT_MAIL_FILTER(`spamassassin', - `S=local:/var/run/sendmail/spamass.sock, F=, + `S=local:/var/run/spamass/spamass.sock, F=, T=S:4m;R:4m;E:10m')dnl + define(`confMILTER_MACROS_CONNECT',`t, b, j, _, {daemon_name}, {if_name}, {if_addr}')dnl + define(`confMILTER_MACROS_HELO',`s, {tls_version}, {cipher}, {cipher_bits}, {cert_subject}, {cert_issuer}')dnl + define(`confMILTER_MACROS_ENVRCPT',`b, i, j, r, v, Z, _')dnl Briefly, the F=, tells sendmail to just pass the connection through if the milter fails. This is most likely the setting you want. If you @@ -34,6 +37,25 @@ See http://www.sendmail.com/partner/resources/development/milter_api/installatio and http://www.sendmail.org/m4/adding_mailfilters.html#INPUT_MAIL_FILTER for more information on milters. +-------------------------------------------------------------- + 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. + +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. + ------------------------------------------------------------- Adjusting how spamass-milter is started ------------------------------------------------------------- @@ -71,4 +93,4 @@ q and send the results along with your bug report using reportbug. - -- Don Armstrong , Wed Feb 9 14:58:46 2005 + -- Don Armstrong , Tue, 2 Jan 2007 08:22:46 -0800