Per Queue MaxAttachmentSize?

Hello,

We have RT3 set up to truncate attachments at 16k:

Set($MaxAttachmentSize , 16384); # 16k
Set($TruncateLongAttachments , 1);
Set($DropLongAttachments , 1);

This works very well in keeping our database mostly free of huge
attachments mistakenly sent in by customers (we have a no attachment
policy).

Since RT considers the body of a mail message as an attachment, this
causes some problems on a queue where we expect the size of the message
body to be very large (internal queue used for logs).

Whenever we want to receive one of these log, we must up the
MaxAttachmentSize then stop and start apache. After we have received the
log, we change the config back and stop/start apache.

It would be VERY useful for us if the MaxAttachmentSize could be
configured on a per-queue basis or at least have an exception for specific
queues.

Is this possible now? If not, could it be added in the future?

Regards,
Bill Gerrard

<=> ASK and you shall receive <=>

bill@daze.net wrote:

It would be VERY useful for us if the MaxAttachmentSize could be
configured on a per-queue basis or at least have an exception for specific
queues.

Is this possible now? If not, could it be added in the future?

Not with stock RT. But maybe you could accomplish the same
effect by pre-filtering with procmail (or equivalent)?
Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances