Hi,

I have installed sqwebmail in my Linux Server. And I enable some authenication 
modules:
        --authmysql
        --authdaemon
        --authuserdb

I use authuserdb for user to login. After a user type his login name and password. The 
system prompt out this message: "Internal Error (module authlib.c, line 197) - contact 
system administrator." 

I had audit the "authlib.c", but I have no idea how to fix this problem. My Server use 
qmail as MTA. 
Would anyone know how to cope with this problem?

And I also have another problem which is related to authmysql.
I have sent a message to the mailing list before but I think I give too little 
information.
I also try to use authmysql for user to login, I create a table in mysql database, the 
database called sqwebmail, like the following one:
CREATE TABLE passwd (
        id      char(128) DEFAULT '' NOT NULL,
        crypt   char(128) DEFAULT '' NOT NULL,
        clear   char(128) DEFAULT '' NOT NULL,
        uid     int(10) unsigned DEFAULT '65534' NOT NULL,
        gid     int(10) unsigned DEFAULT '65534' NOT NULL,
        home    char(255) DEFAULT '' NOT NULL,
        maildir char(255) DEFAULT '' NOT NULLL,
        KEY id (id(128))
);

After created this table, I edit the "authmysqlrc" file. And the setting is shown 
below:
        MYSQL_SERVER    MYSQL server name
        MYSQL_USERNAME  MYSQL username log into "sqwebmail"
        MYSQL_PASSWORD  MYSQL password log along with the above                        
         username
        MYSQL_DATABASE  sqwebmail
        MYSQL_USER_TABLE passwd
        MYSQL_CLEAR_PWFIELD
        
But until now, I never user "authmysql" module to login successfully. I don't know 
what is going wrong. I just try to insert some value into the table. But it is never 
work.
Would anyone help me?
I have already read all documents along with the sqwebmail source. But I have no idea 
to cope with these problems.

Please help me.
Thank you in advanced.

Best Regards,
Sidekick

_____________________________________________________
Sent by Hong Kong E-Mail at http://www.hkem.com
It's free. It's easy. Sign up your account Now! 

Reply via email to