Click to See Complete Forum and Search --> : QPopper POP3 Errors


Mhaddy
10-12-2001, 08:26 PM
Hey there guys,

I'm running a Linux RH7.1 box primarily as a web server but I'd also like to use POP3 email addies. So, I've got sendmail working properly and I've installed qpopper but, alas, it doesn't work. Here's the error I'm getting:

"The TCP/IP connection was unexpectedly terminated by the server."

When I try to send email to anything @mydomain I get it bounced back in about 4 hours with this message:

"Deferred: Connection refused by mydomain.com"

Any ideas?

posterboy
10-13-2001, 06:41 AM
Ideas? Well, maybe. Concentrate on getting sendmail to work, first. Bounced mail means sendmail is not working. Unrelated to pop3 services, in any way. Examine your mail queue carefully. It should empty itself in a couple of minutes, every time. Look carefully at your /var/log/maillog while you use telnet to manually talk to port 25. You must be able to send yourself mail in that way.Send some mail to both local and out of domain users, while watching sendmail's logging in another terminal. After that, enable a pop3 server, and do the same thing telnet to it on port 110 and retrieve some mail. During these efforts, whatever is going wrong will reveal itself. Use this:
#!/bin/bash
file /var/spool/mail/*

chmod +x and run it to see everybody's mail spool state at a glance. HTH, Ray

Mhaddy
10-14-2001, 01:44 AM
All right, took a look at my /var/log/maillog and here's one message from it about QPopper:

"Unable to obtain socket and address of client: Socket operation on non-socket (88)"

Also I believe sendmail is working, halfway -- as I have received email from the box, when say I use a form on the web to email myself something I receive it from apache@mydomain.com. Does that mean that sendmail is working to the extent that it can send email?

However, if I send an email to user@mydomain.com it'll just get returned.

[ 14 October 2001: Message edited by: Mhaddy ]

Mhaddy
10-14-2001, 03:10 AM
ALL FREAKIN' RIGHT! I Got it to work! I ditched QPopper (b/c of the aforementioned error) and just went with the ipop3 daemon that comes with RH and it's one of those 'read everything you can, try everything you can, make a bunch of changes and have no idea what you did to make it work' type situations. BUT, the important thing is, that I got it to work!

/me pats his own back

Thanks for the help, posterboy, you led me in the right direction! :)