• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 847
  • Last Modified:

qmail pop3d very slow response

Hi all,

I have installed a new Redhat Enterprise load on a dual p3 Xeon 1ghz with 1 mb ram (rambus) and it runs really well. I installed Qmail with vpopmail, squirrelmail, qmailadmin, etc. The installation was done as per Qmailrocks.org. Very informative procedural walk through. Ok, so here is the problem I am having: I can send mail via smtp out to the world just fine (until we get our mx record changed over a lot of providers like hotmail, etc think it is junk), but pop3 takes forever to login. If I do a telnet to locahost port 110, it takes a long time, if I connect from a lan host, it takes a long time. I can get messages when it eventually does log in, but it is unacceptably slow. To let you know, squirrelmail works perfectly, and is quite fast, but pop3 clients will time out or prompt for longer times.

If any of you could help me on this please, I need to get it resolved ASAP and have placed a point value on this question to reflect my urgency.

Let me know what info you need, and I'll post it.

Thanks,

R
0
raspis21
Asked:
raspis21
  • 2
2 Solutions
 
Gabriel OrozcoSolution ArchitectCommented:
there are some options that can speed up your pop3 service for qmail.

I have my qmail like this:


/usr/local/bin/tcpserver -R -H 0 pop3 /var/qmail/bin/qmail-popup myserver.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &


if these options do not help, please post your qmail.rc or the file you are using to start qmail just for checking
0
 
raspis21Author Commented:
Hi Redimido

exec tcpserver -l -H -R -v -c100 0 110 qmail-popup mail.myserver.com \
/home/vpopmail/bin/vchkpw qmail-pop3d Maildir 2>&1

that is from my /var/qmail/supervise/qmail-pop3d/run script

it is a fairly straight forward setup I think

R.

0
 
rugdogCommented:
it could be caused by name service misconfig. I have the following ideas:

1. check  your /etc/resolv.conf and verify the nameservers there are responding, and the domain is correct
2. check the "hosts" entry in /etc/nsswitch.conf ,should be something like
   hosts: files dns
but you could try
   hosts: files
3. are your running a DNS in the server? if so, check the in-addr config, i've seen similar behavior of delayed connections because of that.
0
 
raspis21Author Commented:
Hi again,

It seems I have resolved the problem, at least to my satisfaction. It was a problem with the $localname variable in tcpserver. Since our local domain is Active Directory (unfortunately) I was not able to get a local domain hostname to resolve. I had entered the -R option in the qmial/run file, but it was still trying to resolve a localhost name. For some reason, the localname was whacking out, and would not pass through the tcpserver. I added the option -l0 (that's a zero) to make the $localname variable 0. That did the trick. Although that resolved my problem, I had a new problem of what to do with this thread. I have decided to split it equally, not based on answer merit, but because both of you pointed me in the right directions, and you at least tried. Thanks so much for helping, and keep answering those questions. We are great resources to each other, and EE making a bit of money keeps it going.

R.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now