Koozali.org: home of the SME Server

Limit Outbound SMTP connections

Cyrus

Limit Outbound SMTP connections
« on: May 10, 2004, 01:16:01 AM »
Howdy ho everyone!

Well I have installed ISA + router and moved our SME 5.6 box onto the internal network still doing email, just not firewall.

Anyhoo, it seems our net connection (wireless 1MBit connection) is being flooded, well at least that is the explanation I am getting, cant be ISA server no not its fault!

I fail to see how this is happening because when we had the SME box doing everything (email + firewall) we had no slowdown problems.

Anyhoo, I have been told to look at limiting the outbound SMTP connections that the SME box makes, I did a search and only came up with limiting inbound connections to certain ip range.

So if anyone knows how I can limit the concurrent outbound connections to about 10 or 15 and explain it to me that would be greatly appreciated!

Thanks for your time!

Cyrus Bharda

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Limit Outbound SMTP connections
« Reply #1 on: May 11, 2004, 12:29:38 PM »
Dear Cyrus

> I have been told to look at limiting the outbound SMTP connections that the SME box makes

The magic word you needed to search for was
concurrenyremote
You will find a few references if you do a search, although it is a db property now

> limit the concurrent outbound connections to about 10 or 15

Check the default setting
cat /var/qmail/control/concurrencyremote
20

Make the change

/sbin/e-smith/db configuration setprop qmail ConcurrencyRemote 10
/sbin/e-smith/signal-event email-update
/etc/init.d/qmail restart

Note there is also a setting for concurrencylocal

cat /var/qmail/control/ConcurrencyLocal
10

Regs
Ray
...

Offline raem

  • *
  • 3,972
  • +4/-0
Limit Outbound SMTP connections
« Reply #2 on: May 11, 2004, 12:32:27 PM »
or I should say

/sbin/e-smith/config show qmail
qmail=service
    ConcurrencyLocal=10
    ConcurrencyRemote=20
    status=enabled

Regs
Ray
...