Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Re: qmail authentication problem

Status
Not open for further replies.

lakester

IS-IT--Management
May 31, 2004
5
IT
Hi to everyone,

I have a problem with qmail and pop3 authetication.

I have successfully installed qmail+vpopmail+mysql+imap+squirrelmail.
I have created a virtual domain and some users. These users can
connect to the server via http/https and they can send/receive mails
normally.

But here's the problem.
I've configured an account on my mail client (outlook express). I have
choose to save the password so it doens't prompt it every time I check
the mail.

Sometimes it works and sometimes not: I mean sometimes outlook re-ask
me to type the password for 2-3 times.

I get this error:
'vmysql: can't read settings from /home/vpopmail/etc/vpopmail.mysql',



I've tried to telnet directly to port 110 of the mail server.
Same problem. Sometimes it works:

[root@webmail etc]# telnet <ip> 110
Trying <ip>...
Connected to <myhostname>
Escape character is '^]'.
+OK
user test@test.it
+OK
pass test
+OK
quit
+OK
Connection closed by foreign host.


and sometimes i get this error:

[root@webmail etc]# telnet <ip> 110
Trying <ip>...
Connected to <myhostname>
Escape character is '^]'.
+OK
user test@test.it
+OK
pass test
vmysql: can't read settings from /home/vpopmail/etc/vpopmail.mysql
could not create vlog table CREATE TABLE vlog ( id BIGINT PRIMARY KEY
AUTO_INCREMENT, user char(32), passwd CHAR(32), domain
CHAR(64), logon VARCHAR(200), remoteip char(18), message
VARCHAR(255), timestamp bigint default 0 NOT NULL, error INT,
INDEX user_idx (user), INDEX domain_idx (domain), INDEX
remoteip_idx (remoteip), INDEX error_idx (error), INDEX
message_idx (message) )
error inserting into vlog table
-ERR authorization failed
Connection closed by foreign host.
 
have you manually created the vlog table its asking for? you might be getting hit with a log effort being aborted by a missing log table?

Surfinbox.com Business Internet Services - National Dialup, DSL, T-1 and more.
 
I've manually created the tabel but the problem still remains.

I've setup all the permission to this file, still none.

Looking at the /var/log/messages log file I see that the server goes in out of memory when this error occurs.

I've added 512Mb to the server (now it has 768Mb of RAM) but the problem still persists.

If I type a "top" command I see that free memory is always more than 600Mb.


what's the problem?!
 
Thanks for answering.

I've discovered the problem; into the /var/vpopmail/supervise/qmail-pop3d/run file there was a limit for the qmail-pop3d daemon

Here's the file

#!/bin/sh
exec /usr/local/bin/softlimit -m 40000000 /usr/local/bin/tcpserver -H -l webmail.edexter.it -v -x /etc/tcp.pop3.cdb -c 30 -R 0 pop3 /var/qmail/bin/qmail-popup webmail.edexter.it /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1




exec /usr/local/bin/softlimit -m 40000000
Increasing this number the problem seems to be solved.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top