[imp] limit total message size?

Eric Rostetter eric.rostetter at physics.utexas.edu
Sat Feb 15 17:16:46 PST 2003


Quoting Colin Devine <devinec at sas.upenn.edu>:

> I can limit the attachment size within php by using upload_max_filesize
> but this does not prevent users attaching multiple attachments which can
> easily add up to a large amount.

Correct.  The question is why do you want to limit this?

> Is there a way to limit the total size
> of a message, including attachments, within imp?

No, at this time, you can't.  You can limit it with your MTA (sendmail,
postfix, etc) after the upload.  You could also limit it, with various
problems, if you put user quotas on the upload directory (assuming your
system supports quotas).

New versions of IMP do seem to calculate the total size of attachments, 
so I suppose we could be done in the future...  But as of now, there is
nothing....

> --Colin Devine

-- 
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!


More information about the imp mailing list