LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-27-2012, 08:37 PM   #1
B-Rye
LQ Newbie
 
Registered: Apr 2012
Posts: 14

Rep: Reputation: Disabled
Mail Server stopped working


Hi,

I just took over a server for a client friend of mine. Apparently 2 days ago their email worked fine. Now they can send but not receive email. It just doesn't connect from her client.



I have no working knowledge of mail servers.

I guess my first step would be:

How do I find out what program the old admin was using to handle the mail?

I appreciate all the help.



----- UPDATE --------

I did find out that the server is running exim. when running the exiwhat command this is what I receive.

8446 daemon: -q1h, listening for SMTP on port 25 (IPv6 and IPv4) port 587 (IPv6 and IPv4) and for SMTPS on port 465 (IPv6 and IPv4)


So obviously that part is working because my client can send emails.
Should exim be responsible for both incoming and outgoing or would a separate program be used for the pop3?

Last edited by B-Rye; 04-27-2012 at 08:39 PM. Reason: updated info
 
Old 04-28-2012, 01:26 AM   #2
centos123
Member
 
Registered: Apr 2011
Posts: 397

Rep: Reputation: 16
show the log of send pop and imap
 
Old 04-28-2012, 03:12 AM   #3
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
When you say you've taken over the sever, has the server been moved from another location. If it has, then the ipaddress that the dns servers new where to find it would have changed. This could account for why you can send but not receive.
 
Old 04-28-2012, 08:33 AM   #4
B-Rye
LQ Newbie
 
Registered: Apr 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
There was no IP changes. It is a dedicated server that my buddy owns. The last admin is no longer with us.

here is a netstat from the server. there is nothing listening on port 110. (serverhostname and my personal ip removed from paste)

she said all her mail worked fine up to now 3 days ago it stopped working.

Nobody has the new root password except for me, which was changed over a month ago now.

Only things I've done to the server was edit some websites that are hosted on it.


Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:tcpmux *:* LISTEN 4316/portsentry
tcp 0 0 *:2082 *:* LISTEN 26800/cpsrvd (SSL)
tcp 0 0 *:2083 *:* LISTEN 26800/cpsrvd (SSL)
tcp 0 0 *:2086 *:* LISTEN 26800/cpsrvd (SSL)
tcp 0 0 *:2087 *:* LISTEN 26800/cpsrvd (SSL)
tcp 0 0 *:mysql *:* LISTEN 3750/mysqld
tcp 0 0 *:submission *:* LISTEN 8446/exim
tcp 0 0 localhost:783 *:* LISTEN 8468/spamd.pid --ma
tcp 0 0 *:2095 *:* LISTEN 26800/cpsrvd (SSL)
tcp 0 0 *:sunrpc *:* LISTEN 4316/portsentry
tcp 0 0 *:2096 *:* LISTEN 26800/cpsrvd (SSL)
tcp 0 0 *:http *:* LISTEN 5169/httpd
tcp 0 0 *:1040 *:* LISTEN 4297/perl
tcp 0 0 *:smtps *:* LISTEN 8446/exim
tcp 0 0 *serverhostname:domain *:* LISTEN 31084/named
tcp 0 0 localhost:domain *:* LISTEN 31084/named
tcp 0 0 *:ftp *:* LISTEN 3955/pure-ftpd (SER
tcp 0 0 *:ipp *:* LISTEN 2574/cupsd
tcp 0 0 *:smtp *:* LISTEN 8446/exim
tcp 0 0 localhost:rndc *:* LISTEN 31084/named
tcp 0 0 *:https *:* LISTEN 5169/httpd
tcp 0 0 *:2077 *:* LISTEN 26841/cpdavd - acce
tcp 0 0 *:2078 *:* LISTEN 26841/cpdavd - acce
tcp 0 0 *:submission *:* LISTEN 8446/exim
tcp 0 0 *:smtps *:* LISTEN 8446/exim
tcp 0 0 *:ftp *:* LISTEN 3955/pure-ftpd (SER
tcp 0 0 *:ssh *:* LISTEN 3722/sshd
tcp 0 0 *:smtp *:* LISTEN 8446/exim
tcp 0 4684 *serverhostname.com:ssh *my ip connected to ssh:59912 ESTABLISHED 19736/0
udp 0 0 *serverhostname.com:domain *:* 31084/named
udp 0 0 localhost:domain *:* 31084/named
udp 0 0 *:39408 *:* 31084/named
udp 0 0 *:ipp *:* 2574/cupsd
udp 0 0 *:39409 *:* 31084/named
 
Old 04-29-2012, 02:29 AM   #5
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
If the sever is not listening on port 110, sounds like the pop3 sever is not down. exim handles smtp only, so there will be another program handling pop3, just need to find out which one.

Also what version of linux are you using?

Last edited by fotoguy; 04-29-2012 at 02:30 AM.
 
Old 04-29-2012, 06:32 AM   #6
B-Rye
LQ Newbie
 
Registered: Apr 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
turns out the server was running courier

not sure why it randomly stopped working, but I was able to restart the service and it appears to be working ok now.

thanks for the help
 
Old 04-29-2012, 02:09 PM   #7
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
Glad you have it working again
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
e-mail clients just stopped working with yahoo blastradius Linux - Software 3 11-30-2014 02:18 PM
Ubuntu mail server stopped recieving mail. will send. Ubuntu 9 ISPconfig3 Postfix 255 kejxero Linux - Server 0 02-07-2010 06:57 PM
Mail has stopped working pbrazant Linux - Newbie 1 11-28-2009 09:52 PM
mozilla -mail stopped working after up2date swampman Linux - General 2 04-15-2004 10:59 AM
Mail stopped working? quincy56 Linux - Networking 0 08-26-2002 08:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration