Reject emails without ticket ID

Hi I would like to create rule to create auto-reply to my customers which write emails to support@... without ticket ID.. PostMaster::PreFilterModule###3-NewTicketReject: has ability to add only one "From" but I want to add few rules for example '@customer1.com', '@customer2.com' etc.. What is the best way to create autoreply message which bu only use with specific emails ? thans for any info marekk

Hi Marek. MK> I would like to create rule to create auto-reply to my customers which MK> write emails to support@... without ticket ID.. I had the same wish some time ago: http://bugs.otrs.org/show_bug.cgi?id=2478 Unfortunately it was set to invalid. You could try to reopen it... -- Mit freundlichen Grüßen André Bauer monotek@gmx.net System: Ubuntu 6.06.1/Apache 2.0.55-MOD_PERL/MySQL 5.0.21/OTRS 2.2.4

I know how it can be done: Enable PostMaster::PreFilterModule###3-NewTicketReject: in Ticket - Postmaster Edit: /opt/otrs/Kernel/Config/Files/ZZZAuto.pm $Self->{'PostMaster::PreFilterModule'}->{'3-NewTicketReject'} = { 'Match' => { 'From' => '@customer1.com', 'From' => '@customer2.com', 'From' => '@customer3.com' }, 'Set' => { 'X-OTRS-Ignore' => 'yes' }, 'Module' => 'Kernel::System::PostMaster::Filter::NewTicketReject' }; Edit: /opt/otrs/Kernel/System/PostMaster/Filter/NewTicketReject.pm find this part: if ($Matched && !$MatchedNot) { # check if new ticket my $Tn = $Self->{TicketObject}->GetTNByString($Param{GetParam}->{'Subject'}); if ($Tn && $Self->{TicketObject}->TicketCheckNumber(Tn => $Tn)) { return 1; and change first line to: if ($Matched) It's only valid when you have only From in Match rules.. Regards Marek Kedzierski André Bauer pisze:
Hi Marek.
MK> I would like to create rule to create auto-reply to my customers which MK> write emails to support@... without ticket ID..
I had the same wish some time ago:
http://bugs.otrs.org/show_bug.cgi?id=2478
Unfortunately it was set to invalid.
You could try to reopen it...
-- ---------------------------- Marek Kedzierski Big Vent S.A. Grupa Kapitalowa CSS ul. Jagiellonska 78 03-301 Warszawa e-mail: marek@bigvent.pl www: www.bigvent.pl tel: +48 22 6701501 fax: +48 22 6701629 ---------------------------- Sąd Rejonowy dla m.st. Warszawy w Warszawie XIII Wydzial Gospodarczy Krajowego Rejestru Sądowego, KRS: 0000082900, kapitał zakładowy 17.822.350 PLN, oplacony w calosci, REGON 001344641, NIP: 521-00-87-300

On Thu, 17 Jan 2008 20:48:01 +0100, LQ Marshall
Sorry, if I am being dense, but if you reject message w/o ID how are customers going to open new issues?
I would guess that they would enter them using the OTRS provided web interface. I asked a question earlier where I wanted to reject all e-mails where the from user where not registered as a customer. I did not get a reply on that one, because what I'm trying to do is more or less simular to this isseue, but I would like the customer to initiate the request from e-mail. -- Stein Erik http://www.berget.org/
participants (4)
-
André Bauer
-
LQ Marshall
-
Marek Kędzierski
-
Stein Erik Berget