Kayako logo
SupportSuite, eSupport and LiveResponse Discussion, troubleshooting and feedback related to Kayako's flagship support desk products SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
John Haugeland Offline
Developer
 
John Haugeland's Avatar
 
Posts: 800
Join Date: Dec 2007
Location: Idaho
Post Basics of the new loop cutter - 13-08-2008, 10:36 PM

The new loop cutter uses a different mechanism based entirely on the sender's address to determine how to handle incoming mail, and offers new options on handling said mail. The default configuration is identical in behavior to the prior flood control mechanism; if you are happy with how it behaved, you don't need to change anything, and the newer version will still catch several new kinds of loop for you.

The loop cutter, by default, simply prevents automatic responses to mails sent in clusters, hoping to prevent the remote side from sending a new mail. By default, the loop cutter will prevent an automatic response to any second or further mail sent by a user in a ten minute period. This is a shifting window; if a user sends a mail every five minutes, they won't receive a response to any after the first mail. If you would like to, you may choose also to prevent those repeat mails from being filed as tickets at all (this is off by default.)

Finally, you may write several rules of the form "X mails in Y seconds means no response for Z seconds" - any count of such rules you'd like. This new flexibility won't be needed by everyone, but it is needed by some.

Basically, it's a stronger loop cutter, and you don't have to change anything if you don't want to.


John Haugeland (john.haugeland ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#2) Old
Salaria Offline
New Member
 
Posts: 17
Join Date: Jan 2008
14-08-2008, 07:14 AM

Well done John, Its really a great feature implementation.
   
Reply With Quote
  (#3) Old
John Haugeland Offline
Developer
 
John Haugeland's Avatar
 
Posts: 800
Join Date: Dec 2007
Location: Idaho
14-08-2008, 06:12 PM

Thanks.


John Haugeland (john.haugeland ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#4) Old
atDev Offline
Member
 
Posts: 91
Join Date: Jan 2007
08-09-2008, 11:27 PM

There is a problem with this... if the user wants to say submit 3 tickets with different subjects they don't get the responses.

I think the loop cutter should check email + subject don't you think?
   
Reply With Quote
  (#5) Old
John Haugeland Offline
Developer
 
John Haugeland's Avatar
 
Posts: 800
Join Date: Dec 2007
Location: Idaho
09-09-2008, 12:56 AM

No: some loops change the subject (for example by stuffing "re:" onto the front).

You could up the tolerance to loops if you wanted to, by giving people the ability to send in some larger number before the autoresponders if you wanted to. However, this is actually identical behavior to the old loop cutter code; that you didn't notice in the past probably indicates that this isn't an actual long term problem.


John Haugeland (john.haugeland ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#6) Old
ajgyomber Offline
New Member
 
Posts: 12
Join Date: Mar 2008
01-10-2008, 08:40 PM

I am performing some testing an noticed the following error when submitting multiple tickets in sequence in a relatively short period of time:

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:

pipe to |/home/techscom/public_html/support/cli/index.php
generated by support@domaincom
local delivery failed

The mail parser log shows:

Result: Created ticket #RVR-397780 (Autoresponder not sent due to loop control)

Why would it yield the error?
   
Reply With Quote
  (#7) Old
John Haugeland Offline
Developer
 
John Haugeland's Avatar
 
Posts: 800
Join Date: Dec 2007
Location: Idaho
13-11-2008, 12:19 AM

ajgyomber: This defect was repaired in 3.30.01. I apologize for not noticing this question until now. (We do prefer support contacts by support ticket, since that way they're certain to be handled.)

The problem was that certain MTAs, notably Exim and Postfix, believed that any data sent back along the pipe indicated failure. As such, when the autoresponder message was emitted to pipe, the MTAs were misunderstanding that to indicate failure, and reacting as would be appropriate. Said message has since been suppressed.


John Haugeland (john.haugeland ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#8) Old
paysite-cash Offline
Member
 
Posts: 58
Join Date: Jan 2008
30-11-2008, 11:22 AM

hello

on our side we got all success mail parsing with this comment : Autoresponder not sent due to loop control)

I don't think it is normal... it is possible to desactivate ?
   
Reply With Quote
  (#9) Old
John Haugeland Offline
Developer
 
John Haugeland's Avatar
 
Posts: 800
Join Date: Dec 2007
Location: Idaho
01-12-2008, 08:59 PM

That's normal, and the only thing that's changed is that this loop cutter mentions it in the log, whereas the old one didn't. Your old desk version was cutting those same loops, but it was doing so silently. All that message means is that the desk got two messages from the same person inside ten minutes, and didn't send the autoresponder the second time, because the desk was worried that there was a loop. Nothing's wrong.

You can disable it, yes, but you really probably shouldn't. Nothing is broken here, and that system exists for a good reason: to prevent mail loops from getting out fo control and consuming serious resources on your server.


John Haugeland (john.haugeland ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
Reply

Tags
basics, cutter, loop

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Poll: reasonable defaults for a loop cutter? John Haugeland SupportSuite, eSupport and LiveResponse 5 31-07-2008 08:14 PM
Pre-parse isn't stopping a loop Sapro How do I? 0 12-06-2008 03:33 PM
email loop steelcase SupportSuite, eSupport and LiveResponse 1 20-04-2007 07:41 PM
[ feature request ] Setting loop times of alert sound when receive realtime alerts marsjn InstaAlert 0 27-03-2007 11:06 AM



Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Help desk software by Kayako.


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