On 02.05.2012 23:45, Tim Streit wrote:
Greetings all,
I am a few weeks old to Dspam. I have it installed (per a tutorial
with some minor preference modifications) as a spam (or anti-spam
rather) gateway for my mailserver. Everything is relaying great,
dumping spam into the Junk box properly on the server, etc.
I have written custom bash scripts for pulling down the email (spam
and ham) needing to be trained, and then it gets moved either to Junk
Mail or Inbox, depending on the mail. That all works like a champ.
Dspam is running as a daemon and is being interfaced with Postfix as a
content_filter.
Problem # 1 enters in that I get the following error upon re-training :
/May 2 14:59:47 bp01 dspam[3104]: bailing on error 22
May 2 14:59:47 bp01 dspam[3104]: received invalid result (!DSR_ISSPAM
&& !DSR_ISINNOCENT): 22
May 2 14:59:47 bp01 dspam[3104]: process_message returned error -5.
delivering.
/
When I look at my statistics, it indicates 100% and does not reflect
my re-training. Commands I have configured for spam and ham training
below, respectively (feedback is welcomed) :
/echo X-DSPAM-Signature: 1,4fa1797980871776116685 | /usr/bin/dspam
--client --mode=teft --class=spam --source=error --user dspam
/
Remove that --mode=teft part and add instead --signature=[your signature
here]:
//usr/bin/dspam --client --class=spam --source=error --user dspam
--signature=1,4fa1797980871776116685
/
/echo X-DSPAM-Signature: 1,4fa1797980871776116685 | /usr/bin/dspam
--client --mode=teft --class=innocent --source=error --user dspam/ /
/
Remove that --mode=teft part and add instead --signature=[your signature
here]:
//usr/bin/dspam --client --class=innocent --source=error --user dspam
--signature=//1,4fa1797980871776116685/
//
My configuration... Debian Squeeze 64-bit, dspam, dspam-doc,
libdspam7, and libdspam7-drv-mysql are all version
3.10.1+dfsg-3~bpo60+1. Using a shared group on dspam named "dspam"
for the time being.
dspam.conf - http://pastebin.com/bCnqGADE (bCnqGADE on pastebin)
I am strongly advising you to not use TEFT. And that 'chained' for
Tokenizer does not exist (did you mean 'chain')? I as well would advise
you not to use chain tokenizer. If you want to know why then just read
the messages from the last two weeks from this mailing list.
default.prefs - http://pastebin.com/7qaud3HF (7qaud3HF on pastebin)
Problem # 2. Everytime an email is classified, the following shows up
in my mail.info log file. I did go into dspam.conf and update
ClientIdent from "secret@Relay1" to my email address. This resolves
the error below, but its sending me an email for each and every email
it classifies. No subject, no body. Just an email. The dspam
signature does show up in the headers however. How can we stop this
behaviour? I am having spam delivered and my mail server routes it to
Junk or Inbox based on Dspam headers.
/
May 2 14:55:29 bp01 postfix/smtp[3280]: 61AA91BC14C:
to=<supp...@triple3host.com>, orig_to=<dspam>,
relay=mx01.triple3host.com[216.157.93.77]:25, delay=1553,
delays=1552/0.02/0.04/0.08, dsn=4.1.8, status=deferred (host
mx01.triple3host.com[216.157.93.77] said: 450 4.1.8 <secret@Relay1>:
Sender address rejected: Domain not found (in reply to RCPT TO command))/
Thanks!
Tim
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user
--
Kind Regards from Switzerland,
Stevan Bajić
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user