Hi
 
I am trying to presort tickets coming into OTRS, usually spam.  The following is an example of what I currently have but it's not working.
 
$Self->{'PostMaster::PreFilterModule'}->{'1-x_Spam'} = {
    Module => 'Kernel::System::PostMaster::Filter::Match',
    Match => {
    Subject => '^Buy cheap Viagra.*$',
            },
        Set => {
        'X-OTRS-Queue' => 'JISCmail Helpline::spam',
        },
    };
 $Self->{'PostMaster::PreFilterModule'}->{'1-x_Spam'} = {
    Module => 'Kernel::System::PostMaster::Filter::Match',
    Match => {
    From => '^news@eturbonews.com.*$',
            },
        Set => {
        'X-OTRS-Queue' => 'JISCmail Helpline::spam',
        },
    };
Is there anything wrong with the above or is there something else I have to do too?
 
I am running on LINUX and apache,
 
Thanks
 
Philippa Strange