
Hi, would it not be better to install something like Spamassassin that automatically tags the subject line (or headers etc) and then filter on that one thing rather than setting up a rule for all possible spam messages. your spam tagging/sorting/filtering would be more effective if done at the email server rather than at OTRS. Their are plenty of techniques and tools out there just to do this. if you have no control over your mail server then you can always run spamassassin from procmail or a script. hope that helps "Strange, PJ (Philippa) "
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.*$' mailto:'^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
-------------------------------------------------------------------------------- _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/