Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Linux server not receiving email

Posted on 2014-11-10
11
Medium Priority
?
271 Views
Last Modified: 2014-11-30
I know nothing about Linux but am trying to help someone with a Linux email issue.

When you boot the Linux box you eventually get to a DOS environment looking prompt wanting a username.  I supply admin and then am prompted for the password.  When I enter the password I get a gray box with 8 to 10 options.. "Test for Internet", etc.   I assume that this machine is booting properly.

This machine is also an email server.  From a Windows 7 workstation you can no longer get email.  You can send, but not receive.  If you use Horde for WebMail the inbox is empty.

The domain is ateng.com.

You can pull up /server-manager just fine... run reports (if you know what to run), etc.

Email stopped working Nov 1.

Any thoughts?
0
Comment
Question by:classnet
11 Comments
 
LVL 20

Expert Comment

by:Peter Hutchison
ID: 40433822
1. Check the logs at /var/log to see if anything has happened over past few days.
2. Sounds like SMTP is working but the POP3 or IMAP4 services have stopped working.
3. Not knowning what Linux distribution you are using or Email service you are using, I cannot give anything further..
0
 
LVL 4

Expert Comment

by:Jerry Mills
ID: 40433869
Your Linux server smtp is definitely NOT working from the Public side.  Only active ports are 110, 119.  Domain ateng.com points to MX records showing smtp.ateng.com at IP address: 96.254.123.193  You also may be restricting smtp access with firewall.

Since you are not familiar with Linux I recommend you reboot the server.  There are no web services showing so you need to find out what critical apps might be running prior to rebooting.  From command line you do a 'shutdown -r' and it will timeout after notifying any users then reboot.  Linux reboots will preen disc and restart all services configured to restart such as SMTP.

Once it is rebooted post a comment and I will retest it.  If no joy you will need to find a Linux expert to work on your problem.   After reboot check you boot.log which generally is at /var/logs.  Also execute dmesg from command line to collect what it says.
0
 

Author Comment

by:classnet
ID: 40433880
Thank you Jerry (I had rebooted earlier).  Do you get to the /var/logs from the gray screen that I described?  

You see, after a reboot all that I am left with is a prompt looking for a user name.  Supplying the credentials yields the gray box.

I know that 96.254.123.193 is a good address as I pinged it using the -t parameter (keep pinging) and it died when I unplugged the cord to the server.  Yes... I was pinging it from outside the network.

Thanks again.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 4

Expert Comment

by:Jerry Mills
ID: 40433929
Since I don't know version of Linux or configuration I can't say what you are seeing.  If you were really logging in as administrator typically you get a DOS like screen.  Make sure you have superuser login name and password.

Did find other SMTP port available and imap port

Active TCP ports:    465,587,143,993,110,119

So SMTP is responding on alternative ports 465, 587 and 143 (Imap)

How are you connecting?  Telnet, SSH or Web? (Port 80 is inactive)

Doesn't ping from my location but I can probe it.  That suggest firewall restrictions except for those services permitted through.  

Name:    smtp.ateng.com
Address:  96.254.123.193

> exit

C:\Users\jerry_000>ping 96.254.123.193

Pinging 96.254.123.193 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 96.254.123.193:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
0
 
LVL 4

Expert Comment

by:Jerry Mills
ID: 40433955
Sent Test message to bad email address from my mail server and unable to deliver to your mail server.  Test message is waiting in queue on my mail server and is unable to deliver because your SMTP is not responding.

Since can't ping I believe you have firewall rules in place.
0
 

Author Comment

by:classnet
ID: 40434113
Jerry... since this happened on Nov 1 and it appears to be a firewall issue and no one, supposedly, did anything, could this be an ISP thing?  Perhaps they changed some rules and no one paid attention to any forewarning?
0
 
LVL 4

Expert Comment

by:Jerry Mills
ID: 40434172
Linux has a built - in firewall.  Access to the mail server might be restricted to certain addresses in which case a mail server in the wild (public) can't access your mail server.  That could be result of network changes you are not aware of performed by someone else.

It would definitely not be the ISP.

Try opening a telnet connection from you computer.   CMD is  typically:   telnet 96.x.x.x 587.  You should see a response from the mail server identifying itself.
0
 
LVL 19

Expert Comment

by:Gabriel Orozco
ID: 40435333
to be sure, you can post your iptables rules here with
iptables -L -vn

or, to test, you can try to add a rule to accept email from outside:
iptables -I INPUT -p tcp --dport 25 -j ACCEPT

and try from outside again. it is easy to use another linux and telnet to test the port:
telnet <yourip> 25

you can exit with "quit"
0
 
LVL 4

Expert Comment

by:Jerry Mills
ID: 40435456
Hi Redimido - Port 25 is not active on classnet's Linux server.  Port 587 is active but not accepting connections telnet.  I have tried from Florida and California yesterday and also same result today.  Can you try:  96.254.123.193 from your location for classnet?
0
 

Accepted Solution

by:
classnet earned 0 total points
ID: 40465450
I have given up on this... I am not a Linux person and this is, apparently, beyond my pay grade.
0
 

Author Closing Comment

by:classnet
ID: 40472373
I am giving up on this... I'm not a Linux person.
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
Steps to fix error: “Couldn’t mount the database that you specified. Specified database: HU-DB; Error code: An Active Manager operation fail”
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

963 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question