Koozali.org: home of the SME Server

email - limit bandwidth

aussie

email - limit bandwidth
« on: November 11, 2004, 03:56:02 AM »
is it possible to limit the bandwidth taken by incoming / outgoing email.
when large in/oubound transfers are happenning, www access is very slow which annoys people?
TIA Rob :pint:
ps SME6.01 by the way!

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
email - limit bandwidth
« Reply #1 on: November 11, 2004, 11:02:52 AM »
Hi Rob

Do a search on QOS or CBQ ... there is a lot of good help on that topic.

I've setup exactly that on my server as well as the one at work.

ohh ... and it's the outbound e-mail that seems to upset things the most I found.

Regards,
Tib

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
email - limit bandwidth
« Reply #2 on: February 27, 2005, 03:32:59 PM »
Good topic, so let me revive it  ;-)
I believe CBQ or QoS would only limit the amount of bandwith that the user can use, he would still be able to send a 11MB file.
The user quota would limit the size of the mailbox, so with 10MB size he can receive a 6MB email.
Now, how can I limit the size of the outbound email, say 2MB max size?

Thanks,

Offline kruhm

  • *
  • 680
  • +0/-0
email - limit bandwidth
« Reply #3 on: March 04, 2005, 01:49:08 PM »
http://forums.contribs.org/index.php?topic=20748.msg81929#msg81929

/sbin/e-smith/db configuration setprop smtpfront-qmail MaxMessageSize 11000000

/sbin/e-smith/signal-event email-update
ie use 11000000, rather than 11M

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
email - limit bandwidth
« Reply #4 on: March 05, 2005, 03:00:54 AM »
Awesome Kruhm, it did the trick!

Thanks,

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
email - limit bandwidth
« Reply #5 on: March 05, 2005, 06:24:39 AM »
I myself would not up the size ... one reason is most e-mail providers don't accept e-mail larger than 5 meg anyway and second it takes far to long to send mail that large.

If you haven't slowed down the sending of mail then it will also bog down your server for how ever long it takes to send.

For this reason I have slowed down sending of mail with CBQ and if people reqiure to send large files then I have an FTP setup just for the occasion also  slowed down to  approx 5k/sec transfere rate.

Unless you slow down the upstream of large e-mails people cannot brows properly or at all in some cases.

Tib

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
email - limit bandwidth
« Reply #6 on: March 05, 2005, 12:51:24 PM »
...and that is exactly what we're talking here, we're not upping the size, we're limiting it. The example 11Mbs is not the idea, but the 2Mbs I mentioned on a post above!
And again with CBQ you're not limiting the size, but the traffic!
 ;-)

 Thanks,