HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Suggest HOWTO (
-   -   DSPAM tutorial (

bernd 26th May 2005 20:06

DSPAM tutorial
I'd like to see a tutorial about using DSPAM ( for filtering emails... :)


Bailx 29th December 2005 05:29

I'm going to be working on getting dspam to work in place of spamassassin for this tutorial

i'll let you know if i'm successful... i'd be open to any suggestions in the meantime... as it might be a while before i'm to that stage, i'm still working on being "satisfied" with ubuntu smp kernel... as I'm coming off of using RHEL v4 (64-bit)... also that's a debian howto... ;)

falko 29th December 2005 12:06


Originally Posted by Bailx
I'm going to be working on getting dspam to work in place of spamassassin for this tutorial

I worked on exactly the same a few weeks ago (got it working), but there were some issues to which I couldn't find a solution, that's why I postponed such a tutorial:
- In such a setup DSpam scans also outgoing emails and puts the DSpam ID into the mail body which is not good if there's a spam scanner at the other end which doesn't like unique IDs in the mail body...
- When I sent mails to DSpam for learning, but with a faked DSpam ID in the mail body, the DSpam daemon got a fatal error and broke down... :( :( (and I could reproduce that behaviour)
- In the web interface you can re-learn messages only on the first page of the message list...

Bailx 29th December 2005 17:01

Did you try all 3 methods of integration? Just curious because if not... perhaps one of the other methods would do the trick.

As a delivery proxy:
The default approach integrates DSPAM directly with the mail server and
filters spam as mail comes in. Please see the appropriate instructions
in doc/ pertaining to your MTA.

As a POP3 proxy:
This alternative approach implements a POP3 proxy where users
connect to the proxy to check their email, and email is filtered when
being downloaded. The POP3 proxy is a much easier approach, as it
requires much less integration work with the mail server (and is ideal
for implementing DSPAM on Exchange, etcetera). Please see the file

As an SMTP Relay:
DSPAM can be configured as an SMTP relay, a.k.a appliance. You
can set it up to sit in front of your real mail server and then point
your MX records at it. DSPAM will then pass along the good mail to
your real SMTP server. See doc/relay.txt for more information. The
example provided uses Postfix and MySQL.

falko 29th December 2005 18:52

I integrated DSpam into Postfix as a content filter:


[Postfix] (LMTP) -> [DSPAM]                    [Postfix] -> { Delivery }
                      |___ (SMTP Reinjection) ____|

because then I don't have to care about any setuid permissions.

his_royal_evilness 26th January 2006 20:44

Could you provide a howto Falko? :)

falko 26th January 2006 21:37

Sure - if I get it to work the way I want to... :D I don't write tutorials about half-cooked things...

his_royal_evilness 27th January 2006 02:31

Thnx in advance , how far are you with the setup? :)

falko 27th January 2006 08:18

I have postponed this because I had difficulties for which I couldn't find a solution then... :(

his_royal_evilness 27th January 2006 22:59

What kind of ?
Perhaps we could work together on this one? :)

All times are GMT +2. The time now is 03:11.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.