Ashley SHaw wrote:
>
> Hi there everyone,
>
> I have searched the forums for a solution to limit users
> qmail attachment sizes (not just for webmail), but it has
> been to no avail. I have a 64k dedicated connection to the
> net that is being clogged by irresponsible users. I am going
> to implement SquidGuard or/and DansGaurdian with SpamAssasin,
> this combination will make a great difference to the
> bandwidth problem, but the users are still mailing large
> attachments. Is there a way to limit users to e.g.1Mb
> attachments? If so does it require extra software or can
> Qmail itself be configured to apply these limits?
I think you'll find you can do:
/sbin/e-smith/db configuration setprop smtpfront-qmail MaxMessageSize
/sbin/e-smith/signal-event email-update
Where is the maximum message size in bytes.
--
Damien