source: npl/mailserver/dspam/dspam-3.10.2/doc/sendmail.txt @ c5c522c

gcc484ntopperl-5.22
Last change on this file since c5c522c was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[c5c522c]1$Id: sendmail.txt,v 1.2 2010/06/12 15:12:15 sbajic Exp $
2
3SENDMAIL INTEGRATION
4
5Please follow the instructions in the README for building DSPAM. Once DSPAM
6has been built, the following instructions may be used to integrate it with
7sendmail.
8 
9DSPAM is best integrated with sendmail by masquerading as the local delivery
10agent. This can be done by adding two lines to your config.mc file and
11rebuilding your configuration:
12
13define(`LOCAL_MAILER_PATH', `/usr/local/bin/dspam')
14define(`LOCAL_MAILER_ARGS', `dspam "--deliver=innocent" --user $u -d %u')
15
16Make sure these definitions are placed before the MAILER(local) definition.
17
18Alternatively, you may define additional procmail arguments if you are using
19procmail. For example:
20
21define(`LOCAL_MAILER_PATH', `/usr/local/bin/dspam')
22define(`LOCAL_MAILER_ARGS',
23      `dspam -t -Y -a $h "--deliver=innocent" --user $u -d %u')
24
25NOTE: By default MAILER(local) define the flag F=w and sendmail check for a
26      valid user identity in passwd(5). This Flag does not play well with
27      virtual users - e.g. users authenticated via the saslauthd daemon. This
28      flag can be removed with:  MODIFY_MAILER_FLAGS(`LOCAL', `-w')
29
30If you don't feel like rebuilding your .cf files, you can alternatively
31just replace your local mailer in the Mlocal block of sendmail.cf and
32submit.cf. Be sure to update the path (P=) as well as arguments (A=).
33
34NOTE: If you are using sendmail restricted shell (smrsh), you will
35      need to either disable it, or add /usr/local/bin/dspam to the allow list.
36      Some administrators have experienced problems using smrsh with DSPAM.
Note: See TracBrowser for help on using the repository browser.