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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
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
_______________________________________________
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 or consulting for your OTRS system?
=> http://www.otrs.com/