@lbutlr kirjoitti 2.2.2016 18:10:
When a user moves a message from the spam box to the not spam box i
have a script that learns that message as ham, however, the user would
like it if the tagging of the message was removed in the process.
spamassassin -d doesn’t seem the right tool since I think I need to
write the unmarked-up message to a new file?
Seems like a pretty basic thing that most mail systems would want to
do, but my google-foo has failed to find the answer.
Just do it with a script that first writes to a temporary file and then
moves that to the original, if the write did not return any errors?
--
jarif.bit