Koozali.org: home of the SME Server

eMail clogging up server, massive upload rate BIG problem

hairytea

eMail clogging up server, massive upload rate BIG problem
« on: January 20, 2006, 11:20:23 AM »
i have problems when sending mass emails!

Our sever gets clogged up and has constant upload activity going through our router from the sme server port. so much so we get no internet access at all!

I have to go in and clear the queue 1 mail at a time, this is very long winded. it is NOT checking outgoing mail for viruses but instead i think is bouncing mail back and forth for mail addresses that are not correct?

What can we do to stop this as every day we need to
send 1000+ emails but when we do the whole office loses internet
connection...we use skype and outlook as main communication, even
more than phone and fax now so we need to stay online constant. any
help please??

hairytea

eMail clogging up server, massive upload rate BIG problem
« Reply #1 on: January 20, 2006, 11:46:56 AM »
Before you try to get smart yes i know i have a thousand emails going through and to expect a high upload rate for a short period...but this is lasting for hours on end and days sometimes.

When we first had this server we had no problems sending 1000+ emails a day, then we were advised by our pc guys it is a good idea to update to version 6.

OK since upgrade we have had this problem!

Anyone know a setting that might be causing this?

[IMG SRC="http://www.cross-channel.com/sme%20server%20queue.JPG"]

hairytea

eMail clogging up server, massive upload rate BIG problem
« Reply #2 on: January 20, 2006, 11:58:15 AM »
Before you try to get smart yes i know i have a thousand emails going through and to expect a high upload rate for a short period...but this is lasting for hours on end and days sometimes.

When we first had this server we had no problems sending 1000+ emails a day, then we were advised by our pc guys it is a good idea to update to version 6.

OK since upgrade we have had this problem!

Anyone know a setting that might be causing this?


Offline raem

  • *
  • 3,972
  • +4/-0
eMail clogging up server, massive upload rate BIG problem
« Reply #3 on: January 22, 2006, 12:56:05 AM »
hairytea

> When we first had this server we had no problems sending 1000+
> emails a day, then we were advised by our pc guys it is a good idea to
> update to version 6.
> OK since upgrade we have had this problem!

V6 behaved differently to 5.6, a search would have found this.

http://mirror.contribs.org/smeserver/contribs//rmitchell/smeserver/howto/Mail%20system%20tweaks%20HOWTO%20for%20sme%20server.htm
...

Offline kruhm

  • *
  • 680
  • +0/-0
eMail clogging up server, massive upload rate BIG problem
« Reply #4 on: January 22, 2006, 05:13:44 PM »
install the qmHandle contrib to quickly delete your queue.

wget http://www.saco-support.de/SME/smeserver-saco-qmHandle/smeserver-saco-qmHandle-1.2.1-1.noarch.rpm

#stop qmail
/etc/init.d/smtpfront-qmail stop
/etc/init.d/qmail stop

qmHandle -D

#restart qmail
/etc/init.d/qmail start
/etc/init.d/smtpfront-qmail start

man qmHandle for more info

hairytea

eMail clogging up server, massive upload rate BIG problem
« Reply #5 on: January 31, 2006, 10:29:14 AM »
many thanks.

but as you see from the screen shot the qmhandle was added but allows only deletion of one email ata time and takes just as long.

any other suggestions???

Offline kruhm

  • *
  • 680
  • +0/-0
eMail clogging up server, massive upload rate BIG problem
« Reply #6 on: January 31, 2006, 02:35:32 PM »
the commands i posted are for command line use. qmHandle is a command line tool. saco was kind enough to create a panel for it for everyone to use.

-get putty (you have this, right?)
-login as root
-follow the commands above
-or type "man qmHandle" for more info

FYI -your fetchmail and your email blocking are probably causing the problem. Your email blocking probably doesn't recognize the fetchmail account correctly. make sure you follow my comments here: http://forums.contribs.org/index.php?topic=22814.0

hairytea

eMail clogging up server, massive upload rate BIG problem
« Reply #7 on: February 01, 2006, 05:46:18 PM »
install the qmHandle contrib to quickly delete your queue.

wget http://www.saco-support.de/SME/smeserver-saco-qmHandle/smeserver-saco-qmHandle-1.2.1-1.noarch.rpm

#stop qmail
/etc/init.d/smtpfront-qmail stop
/etc/init.d/qmail stop

qmHandle -D

#restart qmail
/etc/init.d/qmail start
/etc/init.d/smtpfront-qmail start

man qmHandle for more info

Thanks for trying to help me here?!?!?!????
When i download this file it is of type .rpm and my pc does not know what programme to open this with. Should i be trying to instal this on my local machine or do i need to connect a monitor to my server and do it there?

I am connecting to my server via 192.168.1.1/server-manager on the local network and doing everything from there.

Also someone mentioned 'Putty'???

please explain.

Offline idp_qbn

  • *****
  • 347
  • +0/-0
eMail clogging up server, massive upload rate BIG problem
« Reply #8 on: February 01, 2006, 05:56:35 PM »
'PuTTY' is a program that allows you to logon to your server. It runs on your Windows PC and opens a black-box DOS style window that allows you to logon and runn commands ON YOU SERVER.

You need to get and install PuTTY (Google for it...it is less than 500Kb download). Then you need to learn how tio use it.....see the help that comes with it.

You also need a program to allow you to transfer files from your PC to the SME server. WinSCP is a good one. Once again, Google for it. ...it isn't a large  download. Use the help file to learn how to use it. It operates very much like WinFTP. You have two panes, one showing directories on your PC and the other showing Directories on the target PC (SME server). You just drag and drop files from one to the other.

SO, you get the RPM file from your PC to SME server using WinSCP.
Then you use PuTTY to log on to SME server as root and do the linux install as outlined above...and you can then do the command line running to do a mass delete of emails.

Sorry to leave so much to you to learn, but there you go....part of life's rich tapestry, hey?

Cheers
___________________
Sydney, NSW, Australia

hairytea

eMail clogging up server, massive upload rate BIG problem
« Reply #9 on: February 02, 2006, 11:28:07 AM »
thank you,

i have putty installed and connects ok i see the servers multiple choice and text input screen etc.

one problem though is the WINSCP programe wont log in to the server.

I am using the same IP address and same username and password but get the following errror message:

Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended)

connection has been unexpectidly closed. server sent command exit status 6.

any one know what this means?

many thanks in advance

hairytea

eMail clogging up server, massive upload rate BIG problem
« Reply #10 on: February 03, 2006, 10:49:40 AM »
i can only assume i am the only one who has ever seen this error then?

Will I have to get a more reliable more stable server??

Offline idp_qbn

  • *****
  • 347
  • +0/-0
eMail clogging up server, massive upload rate BIG problem
« Reply #11 on: February 03, 2006, 12:43:57 PM »
Just checking: WinSCP runs on your Windows PC and allows a connection to your Linux box. That's what you are trying to do, isn't it.....not perchance trying to run WinSCP on a Linux box (SME).

WinSCP is used to give you a secure way of transferring files from somewhere else over to (in this case) your SME server.

You may need to enable Remote access on the SME box, first, but if you can use PuTTY then you probably already have done so.

If I missed the point with this, sorry...

Ian
___________________
Sydney, NSW, Australia

hairytea

eMail clogging up server, massive upload rate BIG problem
« Reply #12 on: February 06, 2006, 03:42:18 PM »
no you're not missing the point and many thanks for trying to help.

I am running it from a windows xp machine trying to gain access to the linux machine.

yes putty connects ok and i have later found the problem is WinSCP is connecting to the server then getting kicked out saying that the public key was rejected!?!?!

there was no help files with this programme and when i done a google search i found a site saying that the use of putty and WinSCP is highly illegal and recommended i lose them from the system....so i have and given up on that idea..is there any other (Legal) ways to fix this problem??

many thanks

andrew

Offline idp_qbn

  • *****
  • 347
  • +0/-0
eMail clogging up server, massive upload rate BIG problem
« Reply #13 on: February 06, 2006, 04:08:48 PM »
Sorry...I have no idea where you found something telling you PuTTY and WinSCP are 'illegal'.  They are Opensource programs (freeware to you and me) and free to use....of course, what you do with them might be illegal eg loading or downloading something you shouldn't or running a coomand on a remote server that damages it. But the use of the programs is definitely not illegal.

When you install WinSCP and run it, it should open a dialog box complaining it does not recognise the key for the SME box. It offers you the choice of accepting/rejecting the key. Accept it and all shoul work after that.

Cheers

Ian
___________________
Sydney, NSW, Australia

Offline pfloor

  • *****
  • 889
  • +1/-0
eMail clogging up server, massive upload rate BIG problem
« Reply #14 on: February 07, 2006, 02:51:28 AM »
Guys, Guys...

Let's back up just a bit here.

qmHandle is already installed on his system.  He doesn't need to install it again.

hairytea, do the following:

Open a Putty window (it is legal, I have been using it for years) and log onto the server as follows:

login as: root
root@xxxxxxx password: *your password*

Now stop qmail by entering the followin commands:
/etc/init.d/smtpfront-qmail stop
/etc/init.d/qmail stop

Now delete the queue by entering the following command:
qmHandle -D

Now re-start qmail by entering the following commands:
/etc/init.d/qmail start
/etc/init.d/smtpfront-qmail start

To see more information on qmHandle, type the following at the command line:
man qmHandle

Good Luck,

Paul
In life, you must either "Push, Pull or Get out of the way!"