Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2010 02:36:26 +0200
From:      "siefke_listen@web.de" <siefke_listen@web.de>
To:        freebsd general questions <freebsd-questions@freebsd.org>
Subject:   DSPAM
Message-ID:  <4C77088A.9010102@web.de>

next in thread | raw e-mail | index | archive | help
Hello,

i have installed DSPAM in a Jail together with Apache. I do it so
because i want use the webinterface.

Before Postfix send message to the socket /tmp/dspam.sock and that was.
But now it goes not with the jail. I read some Howtos in Internet and i
want it now so realize.

Postfix take the mails and send it to the jailIP:10024 and give it back
over jailIP:10025. So i was think, but it goes not.

log:
Aug 27 02:32:22 silviosiefke postfix/lmtp[48553]: 1D5BF147C9D:
to=<siefke@silviosiefke.dyndns.org>, relay=none, delay=0.05,
delays=0.05/0/0/0, dsn=4.4.1, status=deferred (connect to
192.168.0.101[192.168.0.101]:10024: Connection refused)

Postfix i use the follow things:
main.cf:
check_client_access pcre:/etc/postfix/dspam_filter_access

dspam_filter_access:
/./   FILTER lmtp:[192.168.0.101]:10024

master.cf
192.168.0.101:10025 inet n  -       n       -        -      smtpd
   -o smtpd_authorized_xforward_hosts=127.0.0.0/8

192.168.0.100 > Host
192.168.0.101 > Jail



dspam.conf
Home /var/db/dspam
StorageDriver /usr/local/lib/dspam/libhash_drv.so
#TrustedDeliveryAgent ""/usr/sbin/sendmail"
DeliveryHost        192.168.0.100
DeliveryPort        10025
DeliveryIdent       localhost
DeliveryProto       SMTP
OnFail error
Trust root
Trust dspam
Trust apache
Trust mail
Trust mailnull
Trust smmsp
Trust daemon
Trust siefke
#Trust nobody
#Trust majordomo
TrainingMode teft
TestConditionalTraining on
Feature whitelist
Algorithm graham burton
PValue bcr
WebStats on
Preference "spamAction=quarantine"
Preference "signatureLocation=headers"  # can be 'message' or 'headers'
Preference "showFactors=off" # changed from on
ServerPort           11124
ServerQueueSize      32
ServerPID /tmp/dspam.pid
ServerMode auto
ServerParameters        "--user filter --deliver=innocent"
ServerDomainSocketPath  "/tmp/dspam.sock"
ServerParameters	"--deliver=innocent -d %u"
ServerIdent     "localhost.localdomain"
ClientHost      192.168.0.100
ClientPort      10024
HashRecMax		98317
HashAutoExtend	on
HashMaxExtents	0
HashExtentSize	49157
HashPctIncrease	100
HashMaxSeek		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 192.168.0.100
SystemLog	on
UserLog	on
Opt out
TrackSources spam ham
ParseToHeaders on
ChangeModeOnParse on
ChangeUserOnParse on
ClamAVPort		3310
ClamAVHost		127.0.0.1
ClamAVResponse	accept
ProcessorBias on


Has someone a Idea for me? It were really great i try now since 2 Days,
and so much i has read but nothing happen really.


Regards
Silvio




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C77088A.9010102>