[Dspam-user] config question

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Dspam-user] config question

Josef Grosch
I've got an interesting problem with the configuration of dspam. My mail
server is running Ubuntu 10.04 LTS with postfix, dovecot, clamav and
dspam. Dspam is creating signature file in

/var/spool/dspam/data/mooseriver.com/jgrosch/jgrosch.sig

and putting signature in both the mail header like so;

X-DSPAM-Result: Innocent
X-DSPAM-Processed: Tue Nov 11 22:31:05 2014
X-DSPAM-Confidence: 0.9898
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 5462fea9278587739017785

and in the body of the email like so;

!DSPAM:5462fea9278587739017785!

The signature file exists but when I forward the spam to train dspam i get

Nov 11 22:33:06 humboldt dspam[27858]: message repeated 3 times: [
Connection to 127.0.0.1:3310 failed: Connection refused]
Nov 11 22:33:06 humboldt dspam[27858]: Unable to open file for reading:
/var/spool/dspam/data/local/dspam/dspam.sig/5462ff22278581576682023.sig:
No such file or directory
Nov 11 22:33:06 humboldt dspam[27858]: Signature retrieval for
'5462ff22278581576682023' failed
Nov 11 22:33:06 humboldt dspam[27858]: Unable to find a valid signature.
Aborting.
Nov 11 22:33:06 humboldt dspam[27858]: process_message returned error
-5.  dropping message.
Nov 11 22:33:06 humboldt postfix/pipe[28185]: ACB9415A18D6:
to=<[hidden email]>, orig_to=<[hidden email]>, relay=dspam-retrain,
delay=0.06, delays=0.04/0.01/0/0.01, dsn=2.0.0, status=sent (delivered
via dspam-retrain service)

notice the signature id is completely different then the one I am
forwarding to dspam. The dspam retrain line in master.cf is this.

dspam-retrain         unix    -       n       n       -      -     pipe
  flags=Rhq user=dspam argv=/usr/bin/dspam --client --mode=teft
--class=$nexthop --source=error --user dspam

I've been looking at this for an hour and I just don't see the error.
Can anyone point me in the right direction?


Thanks


Josef

--
Josef Grosch       |  Another day closer  |  
[hidden email]  |  to Redwood Heaven   |  Berkeley, Ca.


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
Dspam-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Dspam-user] config question

Olha
 
Josef Grosch <jgrosch <at> gmail.com> writes:

>
> The signature file exists but when I forward the spam to train dspam i get
>
> Nov 11 22:33:06 humboldt dspam[27858]: message repeated 3 times: [
> Connection to 127.0.0.1:3310 failed: Connection refused]
> Nov 11 22:33:06 humboldt dspam[27858]: Unable to open file for reading:
> /var/spool/dspam/data/local/dspam/dspam.sig/5462ff22278581576682023.sig:
> No such file or directory
> Nov 11 22:33:06 humboldt dspam[27858]: Signature retrieval for
> '5462ff22278581576682023' failed
> Nov 11 22:33:06 humboldt dspam[27858]: Unable to find a valid signature.
> Aborting.
> Nov 11 22:33:06 humboldt dspam[27858]: process_message returned error
> -5.  dropping message.


I see that ages gone since the question, but such problem some times bother
folks.
In case of problem with path to dspam signatures use
database(PostgreSQL/MySQL) as storage of dspam signatures.




------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Dspam-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user
Loading...