
Hi Damian, at first, never edit Kernel/Config/Defaults.pm! It will be updated with newer otrs version. Use Kernel/Config.pm! For more info see: http://doc.otrs.org/1.2/en/html/configfile.html On Fri, Apr 16, 2004 at 02:21:15PM -0700, Damian Fuentes wrote:
I'm trying to filter pre-screened spam and also filter spam using Spamassassin, here are the filters in default.pm that i'm using:
$Self->{'PostMaster::PreFilterModule'}->{'4-MatchSpamMatch'} = { Module => 'Kernel::System::PostMaster::Filter::Match', Match => { 'X-Spam-Status' => 'Yes', }, Set => { 'X-OTRS-Queue' => 'spam', }, };
OTRS can use the defined X-Header in config option PostmasterX-Header. If there is no X-Spam-Status, then you can use it in the PostMaster filter stuff. Add X-Spam-Status to PostmasterX-Header in Kernel/Config.pm. Martin Edenhofer -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!