source: npl/mailserver/dspam/dspam-3.10.2/doc/courier.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.4 KB
RevLine 
[c5c522c]1$Id: courier.txt,v 1.1 2005/03/11 21:16:03 jonz Exp $
2
3COURIER 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
7courier.
8
9STEP 1: CONFIGURING DSPAM AS DELIVERY AGENT
10
11To configure Courier to use DSPAM as its delivery agent, you'll want to
12change the DEFAULTDELIVERY parameter. In the file /etc/courier/courierd,
13find the line for DEFAULTDELIVERY and change it to:
14
15DEFAULTDELIVERY="| /usr/local/bin/dspam --deliver=innocent --user $USER"
16
17STEP 2: CONFIGURING MAILDROP AS DSPAM'S DELIVERY AGENT
18
19Maildrop is Courier's native equivalent of procmail.  To configure DSPAM to
20use it, set the following in dspam.conf:
21
22TrustedDeliveryAgent "/usr/bin/maildrop -d %u"
23
24...or configure with --with-delivery-agent="/usr/bin/maildrop -d %u"
25
26You'll also need to configure your untrusted delivery agent as Courier drops
27to the uid of the destination user and changes to that users homedir before
28calling the LDA.  Accomplish this by using the same argument for
29UntrustedDeliveryAgent in dspam.conf.
30
31UntrustedDeliveryAgent "/usr/bin/maildrop -d %u"
32
33STEP 3: CONFIGURE DSPAM ALIASES
34
35The aliases for missed spam/false positives should be added to the file
36/etc/courier/aliases/system.  After adding new aliases, run 'makealiases'
37and restart Courier. See the README for intructions on creating aliases.
38 
Note: See TracBrowser for help on using the repository browser.