PostMaster Filters - Subject

Moderator: crythias

Locked
CrashOverride
Znuny newbie
Posts: 3
Joined: 25 Jul 2012, 09:48
Znuny Version: 3.1.7

PostMaster Filters - Subject

Post by CrashOverride »

Hi everybody,

RegEx is not my strongest thing.

But I have a subject:
AUTO: Firstname Lastname is out of the office (returning 27-08-2012)
or
AUTO: Firstname Lastname is out of the office (returning 2012-08-07)

I want that if I get a mail with this the System will just Ignore them or most perfectly try to search the Body for the line:
Note: This is an automated response to your message "Re: [Ticket#:1200451] Subject sent on 17-08-2012 18:28:55.

And put it on the Ticket :-)

Can someone nice person help me ?

/CO
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: PostMaster Filters - Subject

Post by crythias »

You may search for pieces ...
Match Subject out of the office
Set header X-OTRS-Ignore yes
CrashOverride wrote:or most perfectly try to search the Body for the line:
Note: This is an automated response to your message "Re: [Ticket#:1200451] Subject sent on 17-08-2012 18:28:55.
You mean, basically do what it's already doing if it's not ignoring it?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
CrashOverride
Znuny newbie
Posts: 3
Joined: 25 Jul 2012, 09:48
Znuny Version: 3.1.7

Re: PostMaster Filters - Subject

Post by CrashOverride »

crythias wrote:You may search for pieces ...
Match Subject out of the office
Set header X-OTRS-Ignore yes
That would work fine, it I then could be sure that a user wouldn't send a support Question about Out Of Office (Ouf of the Office)
crythias wrote:
CrashOverride wrote:or most perfectly try to search the Body for the line:
Note: This is an automated response to your message "Re: [Ticket#:1200451] Subject sent on 17-08-2012 18:28:55.
You mean, basically do what it's already doing if it's not ignoring it?
Right now it is not searching the body because right now if there is comming a OOO reply there will be created a new ticket.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: PostMaster Filters - Subject

Post by crythias »

CrashOverride wrote:it I then could be sure that a user wouldn't send a support Question about Out Of Office (Ouf of the Office)
(if?) ... OK, sure, but what do you think is more common to happen? Someone asking about out of office or someone who actual set herself up an out of office reply?

I'll leave that to your comfort level.
CrashOverride wrote:Right now it is not searching the body because right now if there is comming a OOO reply there will be created a new ticket.
OTRS doesn't search the body for tickets by default anyway. If you enable FollowupSearch in Body (SysConfig), it's going to look for the ticket number in the body, as well as the subject, which is what you want, if you *really* want to add the autoreply to a ticket. You have enough unique information for "is out of the office (returning" to ignore it, if you want to ignore it.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked