Hi,

I have a fairly simple dspam set up, but I'm missing a key piece of it. 

I've set dspam up to quarantine suspect messages but it's sending them
anyway (with a [SPAM] tag attached to them.) Here's my relevant config
settings in /etc/dspam/dspam.conf:

ServerParameters "--deliver=innocent"
ServerIdent "localhost.localdomain"

Here's what I have in /etc/postfix/master.cf:

smtp      inet  n       -       n       -       -       smtpd
  -o content_filter=lmtp:unix:/var/spool/postfix/var/run/dspam.sock
127.0.0.1:10026 inet    n   -   -   -   -   smtpd
        -o content_filter=
        -o
receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_helo_restrictions= -o smtpd_client_restrictions=
        -o smtpd_sender_restrictions=
        -o smtpd_recipient_restrictions=permit_mynetworks,reject
        -o mynetworks=127.0.0.0/8
        -o smtpd_authorized_xforward_hosts=127.0.0.0/8

postfix uses dovecot as an external delivery method to deliver mail:

dovecot   unix  -       n       n       -       -       pipe
  flags=DRhu user=dovecot argv=/usr/lib/dovecot/deliver -d ${recipient}

I added this:
dspam     unix  -       n       n       -       10      pipe
  flags=Ru user=dspam argv=/usr/bin/dspam --deliver=innocent --user
$recipient -i -f $sender -- $recipient

underneath but it looks like it still forwards spam instead of
quarantining it. 

The whole system was set up by somebody a lot smarter than I am, and
I'm trying to tack dspam onto the end of it, so thanks for humoring a
newb.

Full dspam config:

Home /var/spool/dspam
StorageDriver /usr/lib/dspam/libmysql_drv.so
TrustedDeliveryAgent "/usr/bin/procmail"
DeliveryHost        127.0.0.1
DeliveryPort        10026
DeliveryIdent       localhost
DeliveryProto       SMTP
OnFail error
Trust root
Trust dspam
Trust mail
Trust mailnull
Trust smmsp
Trust daemon
Debug *
TrainingMode teft
TestConditionalTraining on
Feature chained
Feature whitelist
Algorithm graham burton
PValue graham
Preference "spamAction=quarantine"
Preference "signatureLocation=message"  # 'message' or 'headers'
Preference "showFactors=on"
Preference "spamSubject=SPAM"
AllowOverride trainingMode
AllowOverride spamAction spamSubject
AllowOverride statisticalSedation
AllowOverride enableBNR
AllowOverride enableWhitelist
AllowOverride signatureLocation
AllowOverride showFactors
AllowOverride optIn optOut
AllowOverride whitelistThreshold
HashRecMax      98317
HashAutoExtend      on
HashMaxExtents      0
HashExtentSize      49157
HashMaxSeek     100
HashConnectionCache 10
Notifications   off
PurgeSignatures 14          # Stale signatures
PurgeNeutral    90          # Tokens with neutralish probabilities
PurgeUnused     90          # Unused tokens
PurgeHapaxes    30          # Tokens with less than 5 hits (hapaxes)
PurgeHits1S 15          # Tokens with only 1 spam hit
PurgeHits1I 15          # Tokens with only 1 innocent hit
LocalMX 127.0.0.1
SystemLog on
UserLog   on
Opt out
TrackSources spam
ParseToHeaders full
ChangeModeOnParse on
ChangeUserOnParse off
ServerPID /var/run/dspam.pid
ServerMode auto
ServerPass.Relay1   "secret"
ServerParameters "--deliver=innocent"
ServerIdent "localhost.localdomain"
ServerDomainSocketPath "/var/spool/postfix/var/run/dspam.sock"
ClientHost /var/spool/postfix/var/run/dspam.sock
ClientIdent "secret@Relay1"
ProcessorBias on
Include /etc/dspam/dspam.d/

Troy

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to