Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Ashley SHaw on April 01, 2003, 01:34:23 PM
-
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?
Thanks alot in advance!! ;-)
Cheers
Ashley in South Africa
-
in the /var/qmail/control directory you can create a file name databytes, it will fix the maximum size of an outgoing message (take into account the mime enveloppe for your attachement size limit -+=25%)
http://www.lifewithqmail.org/lwq.html
-
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
-
Any other ideas???
I've tried both these methods and it still won't change the attachment size limit.
Am running e-smith 5.1
Thanks in advance.
Troy