Hi Frank, On Thu, Dec 04, 2003 at 12:34:58PM -0500, Frank Barton wrote: > I was wondering if anybody knows of functionality that would allow > me to filter new incoming messages by a specific > e-mail header line?
Of course! .-) There are two (for example) ways. For OTRS 1.1.x with bin/PostMaster.pl: Use Procmail (http://doc.otrs.org/1.1/html/receiving-email-cmd.html). Do you could do something like that: [...] :0 fhw : * ^From.*peter * ^Subject:.*compilers | formail -I "X-OTRS-Queue: william" [...] -=> This email will be sorted into the "william" queue. "OTRS 1.2.x" (the current CVS HEAD) comes with own email filters which are used in bin/PostMaster.pl and bin/PostMasterPOP3.pl ( http://doc.otrs.org/cvs/html/receiving-email-filter-module.html). So you just need to add the following to the Kernel/Config.pm: [...] # Job Name: 2-Match # (sort emails with From: [EMAIL PROTECTED] and Subject: **ORDER** # into queue 'Order') $Self->{'PostMaster::PreFilterModule'}->{'2-Match'} = { Module => 'Kernel::System::PostMaster::Filter::Match', Match => { To => '[EMAIL PROTECTED]', Subject => '**ORDER**', }, Set => { 'X-OTRS-Queue' => 'Order', }, }; [...] And all emails to "[EMAIL PROTECTED]" with subject "**ORDER**" will be sorted into the "Order" queue. > -- > Frank Barton > Starwolf.biz Systems Administrator > www.starwolf.biz/~pauling (My Key is linked there.) Martin -- ((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 für Ihr OTRS System? => http://www.otrs.de/