Koozali.org: home of the SME Server

Slow email from Outbox on sme 6.01...again...tips not helpin

pbozz

Slow email from Outbox on sme 6.01...again...tips not helpin
« on: September 28, 2005, 11:02:26 PM »
Ok, I know it's been gone over in the past but here is detail that maybe will help someone help ME to fix this.

When on 5.1.2 and using pop-before-smtp my emailing from outside local network was great (not on vpn and not a "local network").

Now on a clean 6.01 with Jaspers Spamassissin/Antivirus and the Securemail rpm, even my locations who are classified as a "local network" on the outside wait almost 30-45 sec PER email to leave their outbox.

Using authentication over SMTP or not and On local network or not, same delay in leaving outbox.

Without uninstaling spamassassin and antivirus and secuemail, does anyone have any ideas which can help me?

Also, the people on the actual local network in the office, do not experience this delay when sending.

And this delay is whether emailing to outside domain people or even within the company (which for spamassassin I don't even scan within the company emails using the local network drop down in th panel).

I've done the tips and tricks for slow email but nothing has helped and it's not the server...dual AMD MP 2.0 with 1 gig RAM....the cpu/resources is barely used on this thing checking with mrtg and sysmon.

If I need to uninstall the spamassassin and antivirus, how do I do that?  rpm -e?

Please help...

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Slow email from Outbox on sme 6.01...again...tips not he
« Reply #1 on: September 29, 2005, 01:52:08 AM »
pbozz

A couple of things that can cause this are virus scanning for outgoing email, and RBL list external lookups (which takes time).

It's odd that you say real local users don't have this delay, but it may be related to the slower external connection speed.

You could try temporarily removing RBL lists & see if that speeds things up. A practical limit is 4 RBL lists.
You could also try temporarily turning off outgoing email virus scanning.


> If I need to uninstall the spamassassin and
> antivirus, how do I do that?  rpm -e?

You need to read the install.sh script & uninstall all the rpms that were installed. Basically follow the steps that the install script did, but in reverse.
...

pbozz

Slow email from Outbox on sme 6.01...again...tips not helpin
« Reply #2 on: September 29, 2005, 02:14:43 AM »
Thank you for the response

The slowdown was actually without any RBL lookups.
Now I've increased SA to level 5 and 3 RBLs and the speed is the same as without any lookup and default 8 for SA.

As for virus scanning, I only have it turned on for incoming emails not outgoing, so I assuem it's not scanning those, even though I wish there was a place for me to see total scans, not just found virii so I can see that it's truly scanning everything.


I'll verify myself when I'm onsite tomorrow that local users do not experience delay.  As for me, my remote location is 20 Mbps fibre and the server is on a dedicated T-1, so it's for sure not net speed.


So, I think I tried everything else on your list.  
Does anyone else have this sort of problem still?  Is this problem reported in 6.5RC1?  If not, then maybe I'll upgrade ... again just to get rid of this issue.

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Slow email from Outbox on sme 6.01...again...tips not he
« Reply #3 on: September 29, 2005, 02:21:54 AM »
pbozz

> even my locations who are classified as a "local
> network" on the outside wait almost 30-45 sec PER > email to leave their outbox.

Perhaps the delay is at the remote end, eg workstation virus scanning or slow outgoing connection.
Do they use a sme server with RBL lists configured ?
...

pbozz

Slow email from Outbox on sme 6.01...again...tips not helpin
« Reply #4 on: September 29, 2005, 02:54:16 AM »
Nothing has changed.  We were originally running 5.1.2 until this past Sunday.  I created a new box fresh 6.01.  my laptop remotely hasn't changed and no one's connection to my server at the T-1 end has changed...the problem is for sure with the SME 6.01.  I plan on removing the antivirus and SA and securemail to see if I can figure out which is the real problem.

Does any one knwo how to Uninstall jaspers antivirus and spamassassin installs?  I instaled them via the scripts.

Offline raem

  • *
  • 3,972
  • +4/-0
Slow email from Outbox on sme 6.01...again...tips not helpin
« Reply #5 on: September 29, 2005, 08:51:12 AM »
pbozz

> Does any one knwo how to Uninstall jaspers
> antivirus and spamassassin installs?  I instaled
> them via the scripts

I answered that 2 posts back
...

pbozz

Slow email from Outbox on sme 6.01...again...tips not helpin
« Reply #6 on: September 29, 2005, 10:17:02 AM »
update:

-uninstalled securemail and tested...still slow

-too afraid to uninstall AV and SA so I disabled them through panel, so turned on AV and said no email scanning in SA.....still slow.

-So now I'm really lost...still testing remotely.  Will try to do an onsite local test.  If tht works, then the problem is somewhere in the "local networks" part of the system I think.  

Another test I'll try is remotely with no router or firewall...direct to the net and see what happens in case the 6.01 box is having trouble "authenticating" my remote ip address...even though it worked lightening quick in 5.1.2

Offline raem

  • *
  • 3,972
  • +4/-0
Slow email from Outbox on sme 6.01...again...tips not helpin
« Reply #7 on: September 29, 2005, 10:49:46 AM »
pbozz

> ...even though it worked lightening quick in 5.1.2

sme 6.0.x is a very different beast to sme 5.1.2, much more strict & even more security conscious.
I believe the "local networks" setup did change significatly in 6.0. Read the release notes for the Mitel sme 6.0 server to get more info.
...

pbozz

Slow email from Outbox on sme 6.01...again...tips not helpin
« Reply #8 on: September 29, 2005, 11:02:54 AM »
This may be the issue...from release notes.

>>>
Local network must have router setting

A "router" setting must now be defined for any local network. This implies that all "local networks" must truly be local,

i.e. not Internet addresses. This change is introduced to strongly discourage insecure configurations.
>>>

I have my local networks working fine using my remote pubic ip addresses and the router bring my sme local router ip address, but I'm guessing this is where the bottleneck is.  As if I turn off securemail and remove my remote local netowrk, I get the No Relaying Allowed message.

pbozz

Slow email from Outbox on sme 6.01...again...tips not helpin
« Reply #9 on: September 29, 2005, 11:18:11 PM »
ok verified that while onsite on the actual local network, emails were working just find and left the outbox right away.

Does anyone know where I can look in the system for the "local networks" setup other than the panel so I can see if I can tweek it?

Next tests running straight through around my remote router and  via vpn to see how it reacts.

Will report if anybody cares...haha.

pbozz

Slow email from Outbox on sme 6.01...again...tips not helpin
« Reply #10 on: September 29, 2005, 11:40:26 PM »
I removed myself as a remote "local network" and the emails were flowing just fine using Securemail smtp auth.  so I guess the problem is either the SME determining my remote ip address for local network access, or the lookup in the hosts.allow table takes too long.

not sure if it's a bug or an issue that can be fixed.

guys, thanx for helping me out...

Offline raem

  • *
  • 3,972
  • +4/-0
Slow email from Outbox on sme 6.01...again...tips not helpin
« Reply #11 on: September 30, 2005, 05:34:45 AM »
pbozz

> not sure if it's a bug or an issue that can be fixed.

If you are part of the local network then email should work without needing the Securemail contrib.

Conversely I don't believe you need to be part of the local network to use the Securemail contrib as it is really meant for remote users who are not "local".

There is probably some clash between the two ??
...