Web Hosting Talk







View Full Version : Mail server stops responding - RaQ3


horoscopes2000
05-06-2002, 11:52 AM
Hi Guys,

My mail server seems to stop responding almost every morning, and I'm wondering if someone is spamming through it.

How do I telnet in and see what mail is being sent out from all my domains at any given time?

cbtrussell
05-06-2002, 08:46 PM
first off, disable telnet. if you don't, you will be owned. install ssh. you can find a pkg for ssh at pkgmaster.com - and a free ssh client by using putty - search google for putty, hit "im feeling lucky"

use SSH2 when you attempt to connect

anyway, back to the question at hand

ssh into your box as admin

su -

enter the root password (same as admin)

cd /var/log

tail -50 maillog

this will show you the last 50 lines of the mail log. you could just type

tail -10 maillog

and then keep hitting up arrow, enter, up arrow, enter etc. to watch what's coming through in realtime.

hope this helps

Brandon

horoscopes2000
05-06-2002, 10:07 PM
That's very helpful, thank you.

I did everything you suggested and I'm now using ssh and putty. I found using

tail -f maillog

added new entries automatically.

One query though, how do I actually turn off telnet ?

SixthSense
05-07-2002, 02:04 AM
just turn it off in the raq control panel(ie. clear the check box besides it) and save the settings.

horoscopes2000
05-07-2002, 02:09 AM
Ah, well, that was pretty easy! Thanks for the info, I am amazed at how many times I have seen that menu and somehow I just never noticed telnet was in there.

Many thanks.

qhasxeem
05-07-2002, 01:12 PM
Did you ever found out why your RAQ3 keeps on stopping?

cbtrussell
05-07-2002, 03:26 PM
tail -f maillog

duh, I should've told you that, sorry! brain freeze on my part.