
ignore that last. i'd set the popper to filter to Junk during some testing and forgot. so what I should have said was that your suggestion didn't change the situation, mail still goes to the queue which the POP3 account is set to dispatch it to, regardless of whether it matches the PreFilterModule or not. any ideas of what else i might try? thanks, ~steven On Wed, 17 Mar 2004, Robert Kehl wrote:
On Wednesday, March 17, 2004 3:50 AM Steven Shults
wrote: 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
_______________________________________________ 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/