Menu

#162 problem with email retraining

v3.10.x
closed
nobody
daemon (84)
5
2014-01-02
2013-02-18
Anonymous
No

Good morning,
I configured postfix to send missed spam mail to dspam through pipe with the following entry in the master.cf configuration file:

spam unix - n n - 10 pipe
flags=Ru user=dspam argv=/usr/local/bin/dspamc --user root --class=spam --source=error

It seems that the system works fine but in the maillog i have the following error:

Feb 18 16:06:54 dspam dspam[19530]: Signature retrieval for '122,512239e722133388817095' failed
Feb 18 16:06:54 dspam dspam[19530]: Unable to find a valid signature. Aborting.
Feb 18 16:06:54 dspam dspam[19530]: process_message returned error -5. dropping message.

If I make an sql query on DB, i can find a record with signature = '122,512239e722133388817095'

what was wrong?

Thanks

Discussion

  • Anonymous

    Anonymous - 2013-02-19

    I can see that the problem is that I used --user root calling dspamc. If i use the correct username that "possesses" the signature all is fine. I have resolved using a perl script, instead of the direct pipe to dspam, that finds the username relative to the signature and then calls dspam with the correct user. thanks

     
  • Anonymous

    Anonymous - 2013-06-23

    This doesn't work for me any longer, For some reason I can only successfully run dspamc as root. Any other time it just returns me the usage. Which is unbelievably useless.

     
  • Tom Hendrikx

    Tom Hendrikx - 2014-01-02

    Original problem seems resolved, so closing.

    @David: maybe you need to add the running user to 'Trusted'? Else discuss this in the mailing list, not in the bug tracker.

     
  • Tom Hendrikx

    Tom Hendrikx - 2014-01-02
    • status: open --> closed
     

Log in to post a comment.