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