X-OTRS-Ignore => yes job

Hello OTRS Team , I am trying to delete/ignore some messages containing lets say: 'test for you' in the body. As far as I can see in the manual there is way to do that: Kernel/Config.pm [...] # Job Name: 1-Match # (block/ignore all spam email with From: noreply@) $Self->{PostMaster::PreFilterModule}->{1-Match} = { Module => Kernel::System::PostMaster::Filter::Match, Match => { From => noreply@, }, Set => { X-OTRS-Ignore => yes, }, }; but here it is used the From or Subject field. Did anybody tried with "Body => 'bla bla bla' ? Does it work ? Regards, Daniel

Hi Daniel, On Thu, Apr 08, 2004 at 10:12:15AM +0300, Daniel Balan wrote:
I am trying to delete/ignore some messages containing lets say: 'test for you' in the body.
As far as I can see in the manual there is way to do that: Kernel/Config.pm [...] # Job Name: 1-Match # (block/ignore all spam email with From: noreply@) $Self->{PostMaster::PreFilterModule}->{1-Match} = { Module => Kernel::System::PostMaster::Filter::Match, Match => { From => noreply@, }, Set => { X-OTRS-Ignore => yes, }, };
but here it is used the From or Subject field.
Did anybody tried with "Body => 'bla bla bla' ? Does it work ?
Yes, it should! :) All PostmasterX-Header (Defaults.pm) and also Body (message body) should work.
Daniel
Martin Edenhofer -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
participants (2)
-
Daniel Balan
-
Martin Edenhofer