Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 04-02-2007, 02:41 AM   #1
Registered: Oct 2005
Posts: 47

Rep: Reputation: 15
How to integrate dspam and dovecot

Hello all,
I am currently setting up a new mail server with Qmail, OpenLDAP and Dovecot in CentOS-4.4. Qmail version is 1.03, OpenLDAP is 2.3 and Dovecot version is dovecot-1.0-3_50.rc27(RPM). I have successfully installed and tested it. But I have two issues with the current setup:

I am using dovecot LDA and configured the OpenLDAP such that the mail be delivered to the virtual users through a script. This script is saved in /var/qmail/bin/ and the contents is as follows:
/usr/bin/dspam --stdout --mode=tum --deliver=innocent,spam --feature=chained,noise --user global |/var/qmail/bin/preline -f /usr/libexec/dovecot/deliver -d $RECIPIENT || exit 77
This script name is mentioned in each user's deliveryProgramPath in the LDAP.

I am not sure whether this is the best approach of using dovecot as MDA. I tried to include the following contents in /var/qmail/control/defaultdelivery :
|/var/qmail/bin/preline -f /usr/libexec/dovecot/deliver -d $RECIPIENT
But it seems that this is not working as desired. Please comment, if I have gone wrong anywhere.
I wish to use dspam to filter out the spam messages, but I am unsure whether the dspam plugin mentioned in
is already in the dspam version I am using. If it's available please give details how to configure it.

Kindly share ideas.
Old 04-03-2007, 12:00 PM   #2
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
Have you tried or considered spamassassin?
Old 04-03-2007, 12:20 PM   #3
Registered: Jun 2006
Location: Orlando
Distribution: FC3, FC5, CentOS4, Ubuntu 6.06
Posts: 57

Rep: Reputation: 15
I realize this is not always an option but I'll voice it here anyway since it would make your job a LOT easier.

Google allows you to use gmail for your domain. I've been using it for about... I want to say six months or so. Hasn't failed me yet and has the best spam filter I've ever seen.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DSPAM Running on Debian ninersheaven Linux - Software 0 03-15-2006 08:40 AM
Dspam Authentication bobcatch Linux - Newbie 0 10-08-2005 06:29 AM
DSPAM on Fedora Core 1 dunamin Linux - Software 1 09-09-2004 03:46 PM
Dspam karunesh Linux - General 2 07-27-2004 10:44 AM
Dspam ekoome Red Hat 4 10-03-2003 10:19 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration