
Hi Martin & Rest It does find a match, and sets X-OTRS-Queue to spam. That's it.. Does the default OTRS check on X-OTRS-Queue? greetz Fri, 2004-01-30 at 15:34, Martin Edenhofer wrote:
Hi Hans,
On Thu, Jan 29, 2004 at 04:40:20PM +0100, Hans Scheffers wrote:
Martin, when I follow your example, the mail just arrives in the Raw queue. I have placed the commands in the Config.pm, is there anything extra I have to add? THis is the command:
$Self->{'PostMaster::PreFilterModule'}->{'2-JifLinSpam'} = { Module => 'Kernel::System::PostMaster::Filter::Match', Match => { To => 'spam@jiflin.nl', }, Set => { 'X-OTRS-Queue' => 'spam', }, };
You use OTRS 1.2? If yes, try to use "bin/PostMaster(POP3).pl -d2" and you will find debug infos in your OTRS log.
E. g.:
[...] Jan 30 15:25:40 cuba OTRS-PM-10[5018]: [Debug][Kernel::System::PostMaster::Filter::Match::Run][70] 'System Tester I
' =~ /noreply@/i matched NOT! [...] -- Hans Scheffers
Martin Edenhofer
-- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
_______________________________________________ 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 fr Ihr OTRS System? => http://www.otrs.de/ -- Hans Scheffers JifLin Automatisering email:hans@jiflin.nl web: http://www.jiflin.nl