
On Wednesday, March 17, 2004 3:50 AM
Steven Shults
forgot to mention that i initially tried:
$Self->{'PostMaster::PreFilterModule'}->{'1-Match'} = { Module => 'Kernel::System::PostMaster::Filter::Match',
but changed 'PostMaster' to 'PostMasterPOP3' (shown in my first post) to see if that's what i was missing.
PostMasterPOP3 doesn't invent the wheel twice, he's just fetching the eMails from a POP server and hands them over to his brother, Kernel::System::Postmaster. So, try this: $Self->{'PostMaster::PreFilterModule'}->{'1-Match'} = { Module => 'Kernel::System::PostMaster::Filter::Match', Match => { 'From' => '.+@aol\.com', }, Set => { 'X-OTRS-Queue' => 'Misc', }, };
# Job Name: 1-Match # (sort emails with From: @aol.com to Misc Queue) $Self->{'PostMasterPOP3::PreFilterModule'}->{'1-Match'} = { Module => 'Kernel::System::PostMasterPOP3::Filter::Match', Match => { From => '@aol.com', }, Set => { 'X-OTRS-Queue' => 'Misc', }, }; [...]
The above would have no effect at all. hth, Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388