
Hi Mac, On Fri, Apr 16, 2004 at 04:01:20PM +0200, Mercator GmbH wrote:
I am becoming mad!! I don´t know why this doesn´t work.
I have put an entry in the Config.pm just as described in the manual and in the Defaults.pm.
I want to filter incoming mails from a certain e-mail address to a certain queue and this queue is configured with an auto-response.
However, it doesn´t work!! The mails do NOT get filtered to this subqueue.
Here is what I put into the Config.pm:
_________
$Self->{'PostMaster::PreFilterModule'}->{'2-Match'} = { Module => 'Kernel::System::PostMaster::Filter::Match', Match => { From => 'anfrage@sardiniatravel.net', }, Set => { 'X-OTRS-Queue' => 'SardiniaTravel::Richieste de', }, }; __________
I put "2-Match", because I already have a "1-Match" for spam.
I also renamed the subqueue to "SardinaTravel::RichiesteDE", because I thought it might be the space, but still it doesn´t work!!
I ran PostMasterPOP3.pl -d2 and it gave me: ________ mercator:/opt/otrs/bin# ./PostMasterPOP3.pl -d2 Message 1/2 (sardiniatravel@sardiniatravel.net) New Ticket created! TicketNumber: 1000338 TicketID: 339 Priority: 3 normal State: new CustomerID: info@mercator.net CustomerUser: info@mercator.net From: "Mercator GmbH"
ReplyTo: To: Subject: Modulo inviato da Microsoft Internet Explorer. MessageID: <013901c423ba$0d3b8430$0200a8c0@MARC> Queue: SardiniaTravel SenderType: customer ArticleType: email-external __________ but I want the mails get into the Subqueue!!!!
How can I do this??
Just try "To" (not From): $Self->{'PostMaster::PreFilterModule'}->{'2-Match'} = { Module => 'Kernel::System::PostMaster::Filter::Match', Match => { To => 'anfrage@sardiniatravel.net', }, Set => { 'X-OTRS-Queue' => 'SardiniaTravel::Richieste de', }, };
Marc
Martin Edenhofer -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!