QmailtoasterMain Page | About | Help | FAQ | Special pages | Log in

Printable version | Disclaimers | Privacy policy

Resolving apparent login failures with SMTP and POP

From Qmailtoaster

Following upgrades or initial installations, you may find that your mail client is unable to connect successfully to your SMTP submission port or to the POP3 port. Some mail clients will report this as a password error; others may simply report a generic problem.

One possibility is that the 'vchkpw' daemon does not have enough memory to run. You can test this by hand-simulating a POP session with, for example:

       telnet yourhost.com pop3
       Trying 1.2.3.4...
       Connected to yourhost.com.
       Escape character is '^]'.
       +OK <21223.1390353263@yourhost.com>
       USER <yourlogin>
       +OK 
       PASS <yourpass>

(user input is shown in bold).

The server should respond at this point with '+OK'. If it responds:

       /home/vpopmail/bin/vchkpw: error while loading shared libraries: libresolv.so.2: failed to map segment from shared object: Cannot allocate memory
      -ERR authorization failed

you have probably encountered a memory problem. To resolve this, do:

       vi /var/qmail/supervise/*/run

Step through the files one by one, checking each one for a line that resembles:

       /usr/bin/softlimit -m 48000000

In each such file, change the '48000000' to '64000000'. Then restart qmail with:

       qmailctl stop
       qmailctl start

and try your POP session again. If it now succeeds, the problem is probably resolved. If not, try raising the limit again.

Retrieved from "http://wiki.qmailtoaster.com/index.php/Resolving_apparent_login_failures_with_SMTP_and_POP"

This page has been accessed 621 times. This page was last modified on 22 January 2014, at 01:53. Content is available under GNU Free Documentation License 1.2.


Find

Browse
Main page
Community portal
Current events
Recent changes
Random page
Help
Edit
View source
Editing help
This page
Discuss this page
New section
Printable version
Context
Page history
What links here
Related changes
My pages
Log in / create account
Special pages
New pages
File list
Statistics
More...