
How can I filter Out of Office (short: OOO) reply from getting into the ticket system? Can anybody help me with this problem? Thanks in advance! Leo

This is a tough one, I tried to set up a filter to move the email into a
'junk' queue but instead of moving just the OOO reply it moved the whole
ticket.
Consider this a /bump.
On 9/1/06 9:41 AM, "Leo Hasenzagl"
How can I filter Out of Office (short: OOO) reply from getting into the ticket system?
Can anybody help me with this problem?
Thanks in advance! Leo
_______________________________________________ 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 orr consulting for your OTRS system? => http://www.otrs.com/
--

Andy Lubel wrote:
This is a tough one, I tried to set up a filter to move the email into a 'junk' queue but instead of moving just the OOO reply it moved the whole ticket.
Consider this a /bump.
You'll need to filter those emails before they get to OTRS, for instance using procmail. Nils Breunese.

Eek, there went simple!
Do you have Any examples? Im not a procmail, nor a fetchmail guy and my
OTRS is installed on OSX using the good old postmasterPOP3.pl
TIA,
Andy
On 9/1/06 10:09 AM, "Nils Breunese (Lemonbit Internet)"
Andy Lubel wrote:
This is a tough one, I tried to set up a filter to move the email into a 'junk' queue but instead of moving just the OOO reply it moved the whole ticket.
Consider this a /bump.
You'll need to filter those emails before they get to OTRS, for instance using procmail.
Nils Breunese.
_______________________________________________ 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 orr consulting for your OTRS system? => http://www.otrs.com/
--

Op 1-sep-2006, om 17:14 heeft Andy Lubel het volgende geschreven:
Eek, there went simple!
Do you have Any examples? Im not a procmail, nor a fetchmail guy and my OTRS is installed on OSX using the good old postmasterPOP3.pl
You'll have to put up with the out of office replies (I don't like them either) or implement a filter. It may be possible to use a PostMaster filter module in OTRS. Look at the X-OTRS-Ignore example: http://doc.otrs.org/2.0/en/html/x1192.html#email-receiving-filter. The only other option I see is switching to feeding the mails to PostMaster.pl from procmail instead of using PostMasterPOP3.pl. A problem is that out of office replies don't have a single standard property to distinguish them from 'normal' mails, so you'll need to think carefully about what to filter on and them find out how to write that into procmail filter rules. Sorry, I don't any examples handy, but http://www.procmail.org/ should be a good starting point. This might be more trouble than it's worth to you though. Nils Breunese.

Thanks for all answers, I've done the following in .procmailrc [Snip] :0 fhw * ^Subject:.*Out of Office | $FORMAIL -I "Subject: [ Illegal Ticket Subject ]" | $FORMAIL -I "X-OTRS-Queue: Junk" [/Snip] This rule will check the subject für the keyowrd "out of office" and then rewrite the subject to "[ Illegal Ticket Subject ]". For me it is very important to rewrite the subject, if I do not, the OOO will go into OTRS and the whole ticket will move to Junk folder. Hope that helps some people!!

Does this solution also NOT move the ticket data to the junk folder?
If not, then I will definitely need to switch to procmail!
Thanks,
Andy
On 9/11/06 2:15 AM, "Leo Hasenzagl"
Thanks for all answers, I've done the following in .procmailrc
[Snip]
:0 fhw * ^Subject:.*Out of Office | $FORMAIL -I "Subject: [ Illegal Ticket Subject ]" | $FORMAIL -I "X-OTRS-Queue: Junk"
[/Snip]
This rule will check the subject für the keyowrd "out of office" and then rewrite the subject to "[ Illegal Ticket Subject ]". For me it is very important to rewrite the subject, if I do not, the OOO will go into OTRS and the whole ticket will move to Junk folder.
Hope that helps some people!!
_______________________________________________ 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 orr consulting for your OTRS system? => http://www.otrs.com/
--

Hi Andy,
my solution rewrites the subject and moves the mail into the junk folder.
Because I delete all mails witch are in the junk folder every day at 00:00.
If you do not want this feature,
just implement the following:
(/opt/otrs/.procmailrc)
:0 fhw
* ^Subject:.*Out of Office
| $FORMAIL -I "Subject: [ Illegal Ticket Subject ]"
HTH
Leo
"Andy Lubel"
Thanks for all answers, I've done the following in .procmailrc
[Snip]
:0 fhw * ^Subject:.*Out of Office | $FORMAIL -I "Subject: [ Illegal Ticket Subject ]" | $FORMAIL -I "X-OTRS-Queue: Junk"
[/Snip]
participants (3)
-
Andy Lubel
-
Leo Hasenzagl
-
Nils Breunese (Lemonbit Internet)