Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: hairytea on January 20, 2006, 11:20:23 AM

Title: eMail clogging up server, massive upload rate BIG problem
Post by: hairytea 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??
Title: eMail clogging up server, massive upload rate BIG problem
Post by: hairytea 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"]
Title: eMail clogging up server, massive upload rate BIG problem
Post by: hairytea 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?

(http://www.cross-channel.com/sme%20server%20queue.JPG)
Title: eMail clogging up server, massive upload rate BIG problem
Post by: raem 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
Title: eMail clogging up server, massive upload rate BIG problem
Post by: kruhm 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
Title: eMail clogging up server, massive upload rate BIG problem
Post by: hairytea 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???
Title: eMail clogging up server, massive upload rate BIG problem
Post by: kruhm 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
Title: eMail clogging up server, massive upload rate BIG problem
Post by: hairytea 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.
Title: eMail clogging up server, massive upload rate BIG problem
Post by: idp_qbn 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
Title: eMail clogging up server, massive upload rate BIG problem
Post by: hairytea 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
Title: eMail clogging up server, massive upload rate BIG problem
Post by: hairytea 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??
Title: eMail clogging up server, massive upload rate BIG problem
Post by: idp_qbn 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
Title: eMail clogging up server, massive upload rate BIG problem
Post by: hairytea 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
Title: eMail clogging up server, massive upload rate BIG problem
Post by: idp_qbn 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
Title: eMail clogging up server, massive upload rate BIG problem
Post by: pfloor 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
Title: eMail clogging up server, massive upload rate BIG problem
Post by: gocdo on February 07, 2006, 11:58:19 AM
I have seen this in 5.6 (and earlier), 6.01 and 6.5. I had a number of queries in this forum several years ago and gave up on a real fix after no response.  I lost one client because of it, two others have changed to MS/exchange.

After analysis it only seems to occur when there is a large CC or BCC list. If to single addresses it is ok. My fix was to use mercury (from www.pmail.com) on a local PC which will take a cc/bcc list and on-send to single addresses only. Cheap/quick/easy and works even if a second grade soluation.

Regards
Title: eMail clogging up server, massive upload rate BIG problem
Post by: raem on February 10, 2006, 01:44:55 AM
gocdo

>...I have seen this in 5.6 (and earlier), 6.01 and 6.5. I had a number of
> queries in this forum several years ago and gave up on a real fix after
> no response.


I did post an answer earlier in this thread that people have perhaps overlooked.
Read it carefully & completely as it has many useful tweaks !

http://mirror.contribs.org/smeserver/contribs//rmitchell/smeserver/howto/Mail%20system%20tweaks%20HOWTO%20for%20sme%20server.htm
Title: eMail clogging up server, massive upload rate BIG problem
Post by: Cyrus on February 14, 2006, 02:53:32 AM
Quote from: "kruhm"
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


Is this contrib compatible with SME 7.0pre1?
Title: eMail clogging up server, massive upload rate BIG problem
Post by: hairytea on February 22, 2006, 05:56:31 PM
I WISH TO THANK EVERYONE FOR HELPING.

i HAVE BEEN AWAY FOR A WEEK SO HAVE NOT BEEN ABLE TO LOG IN AND VIEW RESPONSES FOR A WHILE.

I WILLTRY THESE METHODS I HAVE BEEN SUGGESTED AND WILL POP BACK TO LET YOU ALL KNOW HOW I DO.

THANKS

ANDREW
Title: eMail clogging up server, massive upload rate BIG problem
Post by: hairytea on February 23, 2006, 03:10:10 PM
pfloor

you are a genius thank you ever so much for the help it worked first time very easy and very fast...many many many thanks...i can't thank you enough mate.

Top Bloke

Andrew

Oh am i happy now.[/b]