For anyone concerned, here's what worked for me. It was important to delete the reference too, which included the same thing, as I guess the threading function of sup automatically sets the reference to in-reply-to if it's missing.
Here's also the original bug report at Moodle; http://tracker.moodle.org/browse/MDL-22551 Thanks Ben for pointing me in the right direction. ##hooks/before-add-message.rb fail_replyto = "moodlepo...@moodle.tamk.fi" if message.replytos.include?(fail_replyto) message.replytos.delete(fail_replyto) end if message.refs.include?(fail_replyto) message.refs.delete(fail_replyto) end _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk