problem with email retraining
Brought to you by:
paulcockings,
sbajic
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
View and moderate all "bug-tracker Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bug Tracker"
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
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.
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.