Thank you for your answer. I forgot to tell you that we are running the
3.8.11 version of RT (our dev team is working on an upgrade but it's
going to take time and we cannot afford to wait for the migration...).
So do you think that a script would be possible ?
Thanks for your time,
Le 06/03/2015 18:10, Alex Vandiver a écrit :
On Fri, 06 Mar 2015 12:42:38 +0100 Loïc Cadoret <lcado...@keyyo.com>
Greetings rt-users followers,
I would like to create a script that check out if the max attachment
size of a response is reached and if so, send an autoreply to the
requestor informing him that his documents are too heavy. Indeed,
customers send documents to our customer services but sometimes the
transaction is droped by the system because max attachment is reached
and neither the customer service or the client is notified of it.
Starting in RT 4.2.7, RT records explicit transactions when attachments
are dropped or truncated due to hitting $MaxAttachmentSize. While we
explicitly prevent such transactions from triggering scrips (to prevent
infinite loops), you can likely use them as the basis of your
notifications -- or, at least the signal to the RT users to notify
customers of the drop.