LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   sendmail and imap-2002d (https://www.linuxquestions.org/questions/linux-software-2/sendmail-and-imap-2002d-70751/)

slam 07-07-2003 01:55 PM

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

cropcircle 07-07-2003 04:55 PM

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?

slam 07-07-2003 05:06 PM

ls
 
ls gives me

-rw-r--r-- 1 root root 335 Sep 1 2002 /etc/xinetd.d/pop3s

slam 07-07-2003 05:09 PM

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

cropcircle 07-08-2003 11:32 AM

(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.

slam 07-08-2003 11:38 AM

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.

cropcircle 07-08-2003 12:02 PM

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 08:03 AM.