Thierry, Todd makes good points about the difficulty of this, but the suggestion to count based on non-null filenames probably wouldn't work in reality. Many folks have images, vcards, etc automatically attached to their outgoing email for branding purposes. Sometimes these images are inline and don't have a filename, but just as often they _do_ have a filename, which RT dutifully records. One correspondence with such a signature, and there goes your file upload limit.
I'd wager that there are better ways to attack your problem. Thomas -------- 2011 Training: http://bestpractical.com/services/training.html
