Hello all,

 

I've been running dspam as an exchange relay on a gentoo box for a
little over a year now.  I've recently built a new machine that id like
to use in place of the original dspam.  I've got everything up and
running exactly as on the old box except for the versions. (latest
postfix and dspam vs postfix 2.3.8 and dspam 3.8.0-r11. Mail is flowing
through postfix and straight onto the destination without dspam ever
taking a look at it.  I've posted the results of postconf -n below as
well as my dspam.conf.  Edited for privacy.  Anyone have an suggestions
as to why its not being passed to dspam/?  It works perfectly on the
other machine.

 

Andy

 

 

alias_database = dbm:/etc/mail/aliases

command_directory = /usr/sbin

config_directory = /etc/postfix

daemon_directory = /usr/lib/postfix

data_directory = /var/lib/postfix

debug_peer_level = 2

home_mailbox = .maildir/

html_directory = /usr/share/doc/postfix-2.5.1/html

mail_owner = postfix

mailq_path = /usr/bin/mailq

manpage_directory = /usr/share/man

mydomain = domain.tld

myhostname = mail..domain.tld

mynetworks = 168.100.189.0/28, 127.0.0.0/8, 10.0.0.0/24

newaliases_path = /usr/bin/newaliases

queue_directory = /var/spool/postfix

readme_directory = /usr/share/doc/postfix-2.5.1/readme

relay_domains = domain1.tld, domain2.tld #$mydestination

relay_recipient_maps = hash:/etc/postfix/relay_recipients

sample_directory = /etc/postfix

sendmail_path = /usr/sbin/sendmail

setgid_group = postdrop

smtpd_banner = $myhostname ESMTP $mail_name  see http://blah.blah. For
our Terms of Use

smtpd_recipient_restrictions = permit_mynetworks
reject_unauth_destination                    check_recipient_access
pcre:/etc/postfix/dspam_incoming                         permit

soft_bounce = yes

transport_maps = hash:/etc/postfix/transport

unknown_local_recipient_reject_code = 550

 

 

 

dspam.conf

 

Home /var/spool/dspam

StorageDriver /usr/lib/dspam/libmysql_drv.so

TrustedDeliveryAgent "/usr/bin/procmail"

DeliveryHost        127.0.0.1

DeliveryPort        10025

DeliveryIdent       localhost

DeliveryProto       SMTP

OnFail error

Trust root

Trust dspam

Trust apache

Trust mail

Trust mailnull

Trust smmsp

Trust daemon

Trust filter

Trust Filter

TrainingMode teft

TestConditionalTraining on

Feature whitelist

Algorithm graham burton

Tokenizer chain

PValue bcr

WebStats on

Preference "spamAction=quarantine"

Preference "signatureLocation=message"  # 'message' or 'headers'

Preference "showFactors=off"

Preference "signatureLocation=message"  # can be 'message' or 'headers'

ServerPID /var/run/dspam/dspam.pid

ServerMode auto

ServerParameters        "--deliver=innocent"

ServerDomainSocketPath  "/var/run/dspam/dspam.sock" # socket to receive
email from Postfix

AllowOverride trainingMode

AllowOverride spamAction spamSubject

AllowOverride statisticalSedation

AllowOverride enableBNR

AllowOverride enableWhitelist

AllowOverride signatureLocation

AllowOverride showFactors

AllowOverride optIn optOut

AllowOverride whitelistThreshold

MySQLServer     /var/run/mysqld/mysqld.sock

MySQLUser               dspam

MySQLPass      password

MySQLDb                 dspam

MySQLCompress           false

MySQLCompress           false

HashRecMax              98317

HashAutoExtend          on

HashMaxExtents          0

HashExtentSize          49157

HashPctIncrease 10

HashMaxSeek             10

HashConnectionCache     10

Notifications   off

PurgeSignature  off # Specified in purge.sql

PurgeNeutral   90

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 out

ClientHost      "/var/run/dspam/dspam.sock"

ProcessorURLContext on

ProcessorBias on

 

 

Reply via email to