LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-30-2004, 01:34 PM   #1
chand885
LQ Newbie
 
Registered: Jun 2004
Location: Chicago
Distribution: Redhat right Now?
Posts: 3

Rep: Reputation: 0
Redhat 9 - email server setup


Just installed Redhat 9 to use as an email server, but having a few problems. Installation went well and server is up. Did a PS -A and I see Sendmail running. I can SSH to the box no problem. When I try to connect via Outlook express to check email (pop3) or send email(smtp). It is Denied. I did a nmap on the server. It shows ports 25 and 110 are open.
I do not see from the PS -A that the pop3d or imap3d are running. I did choose to install those during installation, but have yet to figure out if they are running or installed.

Any ideas would be appreciated!
 
Old 06-30-2004, 02:21 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
By default Red Hat has set Sendmail only listens on the local loopback for security reasons. Go to your /etc/mail/sendmail.cf, look for a line with 127.0.0.1, change it to 0.0.0.0, and restart Sendmail. Try to connect via telnet to port 25 both locally and remotely to ensure that things are working. As for yout POP3 server, it's probably running if port 110 is open. If you don't see it in the ps list, it's probably running out of xinetd -- netstat -tpan | grep :110 should tell you for sure. Again try connecting locally, and then remotely and see what happens. Also, did you set up a firewall? If so it may be denying remote access to ports 25 and 110.
 
Old 06-30-2004, 02:37 PM   #3
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
chand885

If all the above checks out what are you entering in Outlook for your pop3 and smtp servers ?

Just enter the IP address of your server

Example
Incoming mail (POP3) 192.168.0.3
Outgoing mail (SMTP) 192.168.0.3

Obviously use your own IP

Pete
 
Old 07-01-2004, 08:38 AM   #4
chand885
LQ Newbie
 
Registered: Jun 2004
Location: Chicago
Distribution: Redhat right Now?
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the help. Here is what I found out. I was able to telnet from RH 9 to the localhost and connect to both ports 25 and 110. So my pop3 and smtp services are up and running. And I checked my sendmail.cf file and the only line that refers to an ip address is set to 0.0.0.0 and it is commented out anyway. So I am thinking this is a firewall issue. I did install the firewall upon installation, I don't really need it because this box is behind a linksys NAT Router. I was just being extra careful with that. So it is probably my problem. So how do I make changes to the firewall to accept connections on different ports??

Thanks again for the help.
 
Old 07-01-2004, 11:44 AM   #5
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 32
chand885

If you are using Gnome go to Main Menu ---> System Settings ---> Security Level

There you can make eth0 a trusted device and also allow incoming mail SMTP

This works for me

Pete
 
Old 07-01-2004, 12:49 PM   #6
chand885
LQ Newbie
 
Registered: Jun 2004
Location: Chicago
Distribution: Redhat right Now?
Posts: 3

Original Poster
Rep: Reputation: 0
That did it. Thanks for the help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
email server setup thick_guy_9 Slackware 6 02-17-2005 09:08 AM
Help with Email Server Setup darkgamer20 Linux - General 9 12-18-2004 02:38 PM
Email Server Setup RHrulz Linux - Networking 2 11-19-2004 02:06 PM
what do I need to setup email server for redhat? ziggie216 Linux - Software 2 11-11-2003 03:51 AM
Help with email server setup..?? dalk Linux - Newbie 0 09-20-2001 10:45 AM


All times are GMT -5. The time now is 01:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration