Hi,

I use a postfix->dspam->cyrus setup for my mail server, which works pretty 
well. The way I have it set up is that postfix uses dspam as its 
'content_filter', and dspam reinjects mail into the postfix queue by using 
'sendmail' as the TrustedDevliveryAgent.

I have the following two extra lines in my master.cf for postfix:

dspam               unix       -       n       n       -       10      pipe
        flags=Ru user=dspam argv=/usr/bin/dspam --deliver=innocent --user 
${recipient} -f ${sender} -- ${recipient}

dspam-retrain   unix    -       n       n       -       10      pipe
        flags=Ru user=dspam argv=/usr/local/bin/dspam-retrain.sh ${nexthop} 
${sender} ${recipient}

and then my dspam.conf is as follows:

## $Id: dspam.conf.in,v 1.2 2004/11/12 16:29:19 jonz Exp $
## dspam.conf -- DSPAM configuration file
##

#
# DSPAM Home: Specifies the base directory to be used for DSPAM storage
#
Home /etc/mail/dspam

TrustedDeliveryAgent "/usr/sbin/sendmail"
UntrustedDeliveryAgent "/usr/sbin/sendmail"
OnFail error
Trust root
Trust dspam
Trust apache
Trust nobody

TrainingMode teft

Feature chained
Feature tb=4
Feature whitelist
Feature noise

Algorithm graham burton

PValue graham

Preference "spamAction=deliver"
Preference "signatureLocation=headers"  # 'message' or 'headers'
Preference "showFactors=on"
#Preference "spamAction=tag"
#Preference "spamSubject=SPAM"

AllowOverride trainingMode
# AllowOverride spamAction spamSubject
AllowOverride statisticalSedation
AllowOverride enableBNR
AllowOverride enableWhitelist
# AllowOverride signatureLocation
AllowOverride showFactors
AllowOverride optIn optOut
AllowOverride whitelistThreshold

Notifications   off

PurgeSignature  off # Specified in purge.sql
PurgeNeutral   30
PurgeUnused    off # Specified in purge.sql
PurgeHapaxes   off # Specified in purge.sql
PurgeHits1S    off # Specified in purge.sql
PurgeHits1I    off # Specified in purge.sql

LocalMX 127.0.0.1

SystemLog on
UserLog   on

Opt in

MySQLServer    /var/run/mysqld.sock
MySQLPort
MySQLUser      dspamuser
MySQLPass      *******
MySQLDb        dspamdb
MySQLCompress  true

I use 'Opt-in' because i do not want to process out-going email. 

Hope that helps!!


On Monday 26 Sep 2005 09:24, Ow Mun Heng wrote:
> Hi All,
>
>       I just made a mail-server that does
>
> Postfix->amavisd(clamav+Spamassassin+Dspam)->cyrus
>
> Now, I'm wondering how to properly configure Dspam. Dspam seems to work
> well enough but I"m having trouble with dspam not properly
> tagging/recognising SPAM. SPAMassassin seems to do fine.
>
> X-DSPAM-Result: Innocent
> X-DSPAM-Confidence: 0.5219
> X-DSPAM-Probability: 0.0000
> X-DSPAM-Signature: 43377f38319151441717014
> X-DSPAM-Factors: 27,
> X-Virus-Scanned: amavisd-new at localhost
> X-Spam-Status: Yes, hits=9.152 tagged_above=-99 required=6.31
> tests=[MSGID_FROM_MTA_HEADER=0.036, NA_DOLLARS=2.078,
> NIGERIAN_BODY1=2.48, NIGERIAN_BODY2=2.4, NIGERIAN_BODY3=1.395,
> SUBJ_ALL_CAPS=0.763]
> X-Spam-Level: *********
> X-Spam-Flag: YES
>
> There's a conflict of interest so to speak.
>
> BTW, anyone here has any tips for doing a solely DSPAM filter that does
> not integrate into amavisd-new? I'm trying to see if it will do better
> in this case.
>
> Frankly, I'm attracted to dspam mainly for it's web-based cgi where
> users can flag/unflag spam and do quarantine. (Power to the user!)
>
>
>
>
>
>
> --
> Ow Mun Heng
> Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
> 98% Microsoft(tm) Free!!
> Neuromancer 16:19:44 up 1 day, 21:06, 5 users, load average: 1.39, 0.89,
> 0.62
-- 
[email protected] mailing list

Reply via email to