• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

FTP and Mail Server nonresponding

C

captainP

Guest
Hello Everyone,
First i would like to say that im very new at this so please bear with me if i seem a bit... Slow. and i thank you in advance.
So here is the problem i've been having.

Last week i noticed the email server had an error message saying the configuration was misconfigured. So, i tried restarting it. it would turn on and work for about 1 min and then it would shut down again. No mail has come through at all and it will not send. I was told that the server could have been hacked and i would need to Redo my Password. So in trying that, the server would not take the change. IT seems the server was rejecting any change dealing with a database. I restarted and in the min window, i was able to change the password to a more secure one. Now, i'm still having the mail problem, and also an FTP problem. I have access to SSH and i have tried restarting each service but there is no change. Emails are still not coming through or sending and the FTP server timeout(but looks like its connecting.)

could anyone guild me in the right direction.????

thanks
-JB-
 
telnet localhost 21

Paste result

telnet localhost 25

Paste result

Guessing your inetd daemon is misconfigured possibly. See if its running, ps -ax | grep inetd. In Linux is probably xinetd. The SMTP server and FTP servers are both wrapped through Inetd you may want to look at the /etc/inetd.conf file for errors. This is the first thing I would look at since both daemons are not working.

Thanks,
James
 
So i hope this helps someone. My Mail server was shot up with tons of SPAM. When i logged into SSH i ran this code.

Code:
#/var/qmail/bin/qmail-qstat

it came up that i had over 20,000 messages Q'd. SO i got instructions to rebuild qmail. The only downfall is that it gets rid of ALL EMAIL... which isnt a big problem for me since i wasnt getting any.

Code:
1)   Stop Qmail and the server
/etc/init.d/qmail stop
/etc/init.d/xinetd stop

2)   Move all the files queue into another directory

mv /var/qmail/queue /var/qmail/queue_old

3)  go to the directory that has qmail stored and restore it 

cd /root/psa/PSA_8.1.0/dist-rpm-FedoraCore-4-i386/base
rpm -Uvh --force psa-qmail-1.03-fc4.build81061129.22.i586.rpm

4)  Start up qmail and the server.

/etc/init.d/qmail start
/etc/init.d/xinetd start

5)  after 10 minutes I perform the following command:

#/var/qmail/bin/qmail-qstat
messages in queue: 1
messages in queue but not yet preprocessed: 0

These steps were proformed by one of the plesk technicians and it did the job.

The FTP problem i had just dissappeared. it was very strange.
 
Back
Top