Debian Sarge 3.1 DSPAM Installation

Rookie79

Registered User
Hallo,

Debian Sarge 3.1
Confixx 3.2.1 pro
MTA Postfix
MDA Procmail

Ich habe folgende Pakete installiert:
Code:
apt-get install dspam dspam-webfrontend

Meine dspam.conf:
nopaste.biz || nopaste service

Ich habe nur die Einträge für ClamAV geändert und den Eintrag "UntrustedDeliveryAgent" aktiviert.

Ich bin nun der Anleitung in der postfix.txt vom DSPAM-Paket gefolgt.
INTEGRATING DSPAM AS A DELIVERY PROXY

Postfix can optionally be configured to integrate with DSPAM as a delivery
proxy if you're using a third party delivery agent for final delivery to
your mailbox.

The first step in getting DSPAM to work is to get mail delivery to work with
one of these external LDAs before integrating DSPAM with postfix.

You can configure DSPAM with the appropriate LDA using --with-delivery-agent=
at configure time or by specifying TrustedDeliveryAgent in dspam.conf.
For example:

TrustedDeliveryAgent "/usr/bin/procmail"

You'll also want to configure the untrusted delivery agent in a similar
fashion:

UntrustedDeliveryAgent "/usr/bin/procmail -d %u"

If you are using maildrop, you'll need to be sure you've compiled maildrop to
trust the user that dspam is running as.

Once you have configured a local delivery agent into DSPAM, the simplest way
to configure postfix for local users is to set the mailbox_command directive
to point to DSPAM. This can be done by editing /etc/postfix/main.cf:

mailbox_command = /usr/local/bin/dspam --deliver=innocent --user $USER -- -d %u

If you're running a delivery agent (such as cyrdeliver) that has a problem
with the top 'From' header, you may need to perform some sed magic:

mailbox_command = sed '1{/^From /d;}' | /usr/local/bin/dspam --deliver=innocent --user $USER -- -d %u

Now, configure the aliases as prescribed in the README and you're good to go!

Die Integration als Delivery Proxy scheint für mich am einfachsten realisierbar zu sein, da die dspam.conf schon dafür vorbereitet war.

Ich musste nur
Code:
mailbox_command = /usr/local/bin/dspam --deliver=innocent --user $USER -- -d %u
nach
Code:
mailbox_command = /usr/bin/dspam --deliver=innocent --user $USER -- -d %u
anpassen.

Ausgabe der mail.log
Code:
Dec  9 13:58:13 pv146 postfix/postfix-script: starting the Postfix mail system
Dec  9 13:58:13 pv146 postfix/master[32569]: daemon started -- version 2.1.5
Dec  9 13:58:15 pv146 dspam[32665]: Daemon process starting
und beim Empfang
Code:
Dec  9 14:00:48 pvXXX postfix/local[2023]: 883935F54850: to=<web0p9@pvXXX.ncsrv.de>, orig_to=<auktion@meinedomain.de>, relay=local, delay=2, status=sent (delivered to command: /usr/bin/dspam --deliver=innocent --user $USER -- -d %u)
Die Mails kommen auch an, leider weiß ich nicht ob DSPAM seinen Dienst tut. Es gibt keine Einträge im Header.

Wie kann ich die Funktion von DSPAM nachvollziehen?

Wie nutze ich das Webfrontend?

Danke
 
Last edited by a moderator:
Back
Top