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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-07-2003, 02:55 PM
|
#1
|
Member
Registered: Mar 2003
Posts: 36
Rep:
|
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
|
|
|
07-07-2003, 05:55 PM
|
#2
|
Member
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182
Rep:
|
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?
|
|
|
07-07-2003, 06:06 PM
|
#3
|
Member
Registered: Mar 2003
Posts: 36
Original Poster
Rep:
|
ls
ls gives me
-rw-r--r-- 1 root root 335 Sep 1 2002 /etc/xinetd.d/pop3s
|
|
|
07-07-2003, 06:09 PM
|
#4
|
Member
Registered: Mar 2003
Posts: 36
Original Poster
Rep:
|
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
|
|
|
07-08-2003, 12:32 PM
|
#5
|
Member
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182
Rep:
|
(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.
|
|
|
07-08-2003, 12:38 PM
|
#6
|
Member
Registered: Mar 2003
Posts: 36
Original Poster
Rep:
|
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.
|
|
|
07-08-2003, 01:02 PM
|
#7
|
Member
Registered: Jun 2003
Location: Netherlands
Distribution: Red Hat Linux 9, FreeBSD 4.8, Knoppix 3.2
Posts: 182
Rep:
|
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"
|
|
|
All times are GMT -5. The time now is 01:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|