LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-07-2003, 01:55 PM   #1
slam
Member
 
Registered: Mar 2003
Posts: 36

Rep: Reputation: 15
sendmail and imap-2002d


I am trying to setup a mail server but need a hand at the pop3 part.
info:
Redhat 8
sendmail 8.12.9
imap-2002d

I have it set up so on the server I can send and receive mail at mydomain.com but I cannot access mail through pop3. If I run outlook express on a 98 machine trying to access mail.mydomain.com it never finds the server and it errors out with

The connection to the server has failed. Account: 'mail.mydomain.com', Server: 'mail.mydomain.com', Protocol: POP3, Port: 110, Secure(SSL): No, Socket Error: 10060, Error Number: 0x800CCC0E

I think I must have something wrong with the pop3 part on the rh box. any tips

The dns is running on another server.. but the mxrecord points mail.mydomain.com to the ip address of my new mail server.
I can also ping the mail.mydomain.com server from the win98 box
 
Old 07-07-2003, 04:55 PM   #2
cropcircle
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182

Rep: Reputation: 30
Can you do "ls -l /etc/xinetd.d/pop*" on the Red Hat machine?
Can you post the output of "netstat -n -l -t" on the Red Hat machine?
 
Old 07-07-2003, 05:06 PM   #3
slam
Member
 
Registered: Mar 2003
Posts: 36

Original Poster
Rep: Reputation: 15
ls

ls gives me

-rw-r--r-- 1 root root 335 Sep 1 2002 /etc/xinetd.d/pop3s
 
Old 07-07-2003, 05:09 PM   #4
slam
Member
 
Registered: Mar 2003
Posts: 36

Original Poster
Rep: Reputation: 15
netstat

netstat gives

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:1024 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:1025 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN
tcp 0 0 192.168.0.132:110 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
 
Old 07-08-2003, 11:32 AM   #5
cropcircle
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182

Rep: Reputation: 30
(small mistake on my part) :

I should've asked : Can you do "ls -l /etc/xinetd.d/*pop3*" on the Red Hat machine?

But that does not matter. Looking at the output of netstat on your machine I see the following line :

tcp 0 0 192.168.0.132:110 0.0.0.0:* LISTEN

so it looks like there's a pop3 server running on the Red Hat machine.
(I assume 192.168.0.132 is your Red Hat Linux machine)

What happens if you do :

- "telnet <ip-address of Red Hat machine> 110" on the Red Hat machine.
- "telnet <ip-address of Red Hat machine> 110" on the Windows machine.
 
Old 07-08-2003, 11:38 AM   #6
slam
Member
 
Registered: Mar 2003
Posts: 36

Original Poster
Rep: Reputation: 15
ok

If I stop the iptables I can get through.
I just need to figure out what to modify in the iptables so that
qpopper can still be accessed by win98 pop3 clients.
 
Old 07-08-2003, 12:02 PM   #7
cropcircle
Member
 
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182

Rep: Reputation: 30
If you configured the firewall with the "redhat-config-securitylevel" tool, you should add a line like this to the "/etc/sysconfig/iptables" file :

-A RH-Lokkit-0-50-INPUT -p tcp -m tcp --dport 110 --syn -j ACCEPT


Or, if you used the iptables tool yourself, you can use the following command to allow connections to the POP3 port on your machine :

"iptables -A INPUT -p tcp --sport 110 -j ACCEPT"
 
  


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
Imap 2000/Sendmail fatum112 Linux - Software 1 11-26-2005 03:36 AM
Sendmail to Imap David@330 Linux - General 3 05-30-2005 12:17 PM
Problem with mail delivery procmail>cyrus imap (using sendmail,procmail,cyrus,imap) bwana Linux - Software 2 03-24-2005 07:01 PM
Sendmail IMAP issues cyberpuerka Linux - Software 6 11-05-2004 02:07 PM
Sendmail -IMAP bally Linux - Networking 2 10-18-2003 04:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:35 PM.

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