(Created page with '__FORCETOC__ == STEP 1: CONFIGURING DSPAM AS DELIVERY AGENT == To configure Courier to use DSPAM as its delivery agent, you'll want to change the DEFAULTDELIVERY parameter. In ...') |
(→STEP 1: CONFIGURING DSPAM AS DELIVERY AGENT) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
__FORCETOC__ | __FORCETOC__ | ||
+ | |||
== STEP 1: CONFIGURING DSPAM AS DELIVERY AGENT == | == STEP 1: CONFIGURING DSPAM AS DELIVERY AGENT == | ||
− | To configure Courier to use DSPAM as its delivery agent, you'll want to change the DEFAULTDELIVERY parameter. In the file /etc/courier/courierd, find the line for DEFAULTDELIVERY and change it to: | + | To configure [http://www.courier-mta.org/ Courier] to use DSPAM as its delivery agent, you'll want to change the DEFAULTDELIVERY parameter. In the file /etc/courier/courierd, find the line for DEFAULTDELIVERY and change it to: |
DEFAULTDELIVERY="| /usr/local/bin/dspam --deliver=innocent --user $USER" | DEFAULTDELIVERY="| /usr/local/bin/dspam --deliver=innocent --user $USER" | ||
− | |||
− | |||
== STEP 2: CONFIGURING MAILDROP AS DSPAM'S DELIVERY AGENT == | == STEP 2: CONFIGURING MAILDROP AS DSPAM'S DELIVERY AGENT == | ||
Line 27: | Line 26: | ||
The aliases for missed spam/false positives should be added to the file /etc/courier/aliases/system. After adding new aliases, run 'makealiases' and restart Courier. Now, configure the aliases as prescribed in the [[DSpam_INTEGRATION#ALIASES|INTEGRATION/Aliases]] section. | The aliases for missed spam/false positives should be added to the file /etc/courier/aliases/system. After adding new aliases, run 'makealiases' and restart Courier. Now, configure the aliases as prescribed in the [[DSpam_INTEGRATION#ALIASES|INTEGRATION/Aliases]] section. | ||
+ | |||
+ | |||
+ | |||
+ | [[Category:DSpam]] |
Latest revision as of 19:31, 12 June 2009
Contents
STEP 1: CONFIGURING DSPAM AS DELIVERY AGENT
To configure Courier to use DSPAM as its delivery agent, you'll want to change the DEFAULTDELIVERY parameter. In the file /etc/courier/courierd, find the line for DEFAULTDELIVERY and change it to:
DEFAULTDELIVERY="| /usr/local/bin/dspam --deliver=innocent --user $USER"
STEP 2: CONFIGURING MAILDROP AS DSPAM'S DELIVERY AGENT
Maildrop is Courier's native equivalent of procmail. To configure DSPAM to use it, set the following in dspam.conf:
TrustedDeliveryAgent "/usr/bin/maildrop -d %u"
or configure with:
--with-delivery-agent="/usr/bin/maildrop -d %u"
You'll also need to configure your untrusted delivery agent as Courier drops to the uid of the destination user and changes to that users homedir before calling the LDA. Accomplish this by using the same argument for UntrustedDeliveryAgent in dspam.conf.
UntrustedDeliveryAgent "/usr/bin/maildrop -d %u"
STEP 3: CONFIGURE DSPAM ALIASES
The aliases for missed spam/false positives should be added to the file /etc/courier/aliases/system. After adding new aliases, run 'makealiases' and restart Courier. Now, configure the aliases as prescribed in the INTEGRATION/Aliases section.