Kayako logo

Kayako develops robust helpdesk software, live chat and real-time visitor monitoring software.
Kayako is trusted by more than 30,000 organizations, including a number of Fortune 500 companies and government institutions.
Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  (#1) Old
brad207 Offline
New Member
 
Posts: 6
Join Date: May 2009
Need E-mail parser rule for email headers - 26-05-2009, 05:13 PM

Hi... one of the first email parser rules I tried to set up was to filter on a custom header our mail server adds that tags spam messages. But I don't see any option to set up a mail parser rule that checks headers.

The header looks like this:

X-Spam-Status: spam

... because I can't use arbitrary headers in the parser rules, I can't easily set up a rule to automatically throw out known spam. I tried using 'body', hoping it might include the headers as well as the body, but it does not.

Thanks!

Last edited by brad207; 26-05-2009 at 05:21 PM.
   
Reply With Quote
  (#2) Old
KhensU Offline
New Member
 
Posts: 1
Join Date: May 2009
me too - 26-05-2009, 06:16 PM

I was looking for this feature to this morning. I want to check for autoresponders coming back.
   
Reply With Quote
  (#3) Old
Matthew Offline
Member
 
Matthew's Avatar
 
Posts: 270
Join Date: Oct 2007
Location: Jakarta, Indonesia
27-05-2009, 04:58 AM

Here you go: Mail parser -> Rules and regular expressions for headers

This works nicely, but you need to dig into the code. You can extend the principles to other headers besides X-SPAM-LEVEL. Not for the novice, I'm afraid.


Matthew Arciniega
Free: Ticket List & Search | Dept. Display Names
Free: Outlook/HTML Tickets| Staff Parser Log
Tutorials: SLA System
| Template Groups
KSS v3.20.02 | PHP: 5.2.6 | MySQL: 5.0.58 | CentOS 4
   
Reply With Quote
  (#4) Old
brad207 Offline
New Member
 
Posts: 6
Join Date: May 2009
03-06-2009, 05:12 PM

Thanks for the pointer to the patch. I ended up modifying my pipe to feed to procmail first before feeding to the esupport live/index.php script. That lets me apply a variety of sorting/filtering rules before it enters the esupport system, and the regular expressions are handled more predictably than I've experienced inside esupport.

I can share details if anyone is interested, I'm running on Linux, using sendmail.

Last edited by brad207; 03-06-2009 at 05:15 PM.
   
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Parser always triggers rule with more than 2 criteria Matthew SupportSuite, eSupport and LiveResponse 5 03-06-2009 10:53 AM
Mail parser -> Rules and regular expressions for headers AllanMar Mail parser 4 11-04-2008 03:30 PM
Help with Mail Parser Rule : Forwarding Attachments podge How do I? 0 25-10-2007 12:54 PM
Unable to add new Mail Parser Rule morcan SupportSuite, eSupport and LiveResponse 4 13-07-2007 01:33 PM
Parser rule to forward mail from non-registered-users to another mailaddress logicway SupportSuite, eSupport and LiveResponse 4 22-08-2006 11:25 AM



Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78