Link to home
Start Free TrialLog in
Avatar of aldric
aldric

asked on

Sendmail error : POP3 Really Urgent !!!

Hi,

I've Red Hat 5.2, with sendmail 8.8.7
When I try to Get message (from netscape for exemple),
I've the following error :

An error occured with the POP3 Server.
And I really don't know what to do. Please help :=)
Avatar of jacekf
jacekf

First... change your sendmail version for 8.9.3 or newer (it very insecure version)
Second... Is there installed pop on your server (you should have permission in /etc/inetd.conf (for example ipop3d), don't locked in /etc/hosts.deny.
If you have permissions in /etc/inetd.conf file, check if exists file, which is connected to POP3 (for example /usr/sbin/ipop3d)
And... what user mails do you want to get (if root's it is impossible)
The Last: Do you set your POP3 SErver in netscape. Maybe you set bad name or adress. Maybe you can't find this server (for example DNS isn't working or sth like that)
Try it
Avatar of aldric

ASKER

jacexf,

Thanks for this quick answer. here is what happened:
(I'm the sys admin (but newbie :=))  ))
Yesterday, my server was ok, but then it crashed.
So I installed a new one, and i use tar to restore
some critical files/rep. Like users, passwd, networks,
dns ... (in fact most of /etc and /var directories.)

inetd.conf is ok and hosts.deny too.

My DNS is ok, but effectivly, i can't find ipop3d in /usr/sbin

This should be the prob :=)
How can i get it from the install cd? Is glint can do it?
I think it should be in imap-x.y-z.sth.rpm  file. Try to find it, and install, it should help you.
Of course x,y, z are some numbers (for example 4,5,3 - I have imap-4.5-3)
Avatar of aldric

ASKER

found and place it in /usr/sbin. But I still have the message.
Avatar of aldric

ASKER

when i installed the server (the last time) i choose
server install (instead of custom). Maybe some files
are missing.
You already found that ipop3d was missing. Is there any other important files i should have?
For sure, you need have /usr/sbin/tcpd file.
You should also set at /etc/services file pop-3 as 110
Do command:  telnet <your_host_name_or_IP_adress> pop-3
You should check you pop3 server in that way. If it's OK, you write "quit". - It's mean, that problem is connected with netscape.

Of course, you should start inetd  (if it not start in linux boot). To be sure, do: "/etc/rc.d/init.d/inet restart"
Avatar of aldric

ASKER

tcpd file is ok.
the line in /etc/services are :
pop-2           109/tcp                         # PostOffice V.2
pop-3           110/tcp                         # PostOffice V.3
pop             110/tcp                         # PostOffice V.3

telnet doesn"t work: connection closed by foreign host.

inetd is running.  In fact, i'm writing this with the station we're talking about. So, normally, the network is ok. (normally :=)) )
Avatar of aldric

ASKER

if it can help you, I can send mails. But i can't received mails.
Avatar of aldric

ASKER

if I try to install sendmail 8.9.3, will it help things?
See at /var/log/secure  file. In line connected to ipop3d should be any information (about connecting, and error).
Could you tell me what is written in this file.
Avatar of aldric

ASKER

Oct 26 12:00:44 serval ipop3d[3361]: warning: can't get client address: No route
 to host
Oct 26 12:00:44 serval ipop3d[3361]: connect from unknown
Oct 26 12:00:44 serval ipop3d[3361]: error: cannot execute /usr/sbin/ipop3d: Per
mission denied

ls -l told :    ipop3d is   root    mail
Are you sure, your DNS is good working?
Could you ping your server?
Could you telnet on your server?
Try do it.
For sure, set permission for your files:
chmod 755 /usr/sbin/ipop3d
chmod 755 /usr/sbin
chmod 755 /usr
About sendmail 8.9.3... I don't know. Of course, I suggest you, to install this version, but it probably won't help in your problem.
Eventually I suggest you to upgrade your imap to the newest version (probably 4.5-4)
Avatar of aldric

ASKER

Thanks a lot jacekf,

the chmod was the last prob :=)
I've boosted the question to 500 , cause your help
was really good for me.
Please answer, so I'll grade you.

I'll maybe ask another question tomorrow for the new version of sendmail :=)

ASKER CERTIFIED SOLUTION
Avatar of jacekf
jacekf

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aldric

ASKER

Thanks a lot. As my "old" server is still near me, i'll
try to upgrade it and see what happened.
Avatar of aldric

ASKER

jacekf, if you'r still on, I'll post another question, cause pop is ok now, but smtp isn't now :=(

Really strange.