
I put the following into my Config.pm based on what was in the defaults.pm: # Job Name: 5-Spam # (Move spam to spam queue $Self->{'PostMster::PreFilterModule'}->{'5-Spam'} = { Module => 'Kernel::System::PostMaster::Filter::CMD', CMD => '/opt/spamassassin-301/bin/spamassassin | grep -i "X-Spam-Status: yes"', Set => { 'X-OTRS-Queue' => 'spam', }, }; My understanding of this is that if spamassassin gives it the header of X-Spam-Status of yes it will add a X-OTRS-Queue header and set that to spam, so that OTRS sees that and puts it in the spam queue. Am I correct? I am having spam being forwarded to OTRS to test this out but it doens't even have any of the Spamassassin filters in it. When I looked at the headers through OTRS, copied them to a txt file and ran spamassassin on it with all the headers and it got a score of over 5.0. This looks like to me that it's not even running spamassassin at all. Did I do something wrong? --Matthew Shapiro