[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: Re: Re[6]: Fwd: QMAIL-MYSQL - CHECKPASSWORD



Hello,,

I have checked with your suggested patch ..and now i m getting below error.

Aug 25 19:50:23 mail checkpassword: Received authentication-request for 
suhag@xxxxxxxxxx
Aug 25 19:50:23 mail checkpassword: Authentication failed: bad password

My sql table entry as per below for yr ref..

mysql> select *  from passwd where id='suhag';
+-------+------+------+--------------------------+-------------------+--------+-
----------+------
---------------+---------------------+---------+--------------+-----------------
----+-------+----
----+-----------+
| id    | uid  | gid  | home                     | mbox_host         | passwd | 
hardquota | start
_date          | expire_date         | enabled | use_dotqmail | 
lastlogin           | crypt | act
ive | apop_pass |
+-------+------+------+--------------------------+-------------------+--------+-
----------+------
---------------+---------------------+---------+--------------+-----------------
----+-------+----
----+-----------+
| suhag | 1000 | 1000 | /var/qmail/sqlhome/suhag | gnfcinfotower.com | suhag  
|         0 | 0000-
00-00 00:00:00 | 0000-00-00 00:00:00 |       1 |            0 | 0000-00-00 
00:00:00 | Y     | Y
    |           |
+-------+------+------+--------------------------+-------------------+--------+-
----------+------
---------------+---------------------+---------+--------------+-----------------
----+-------+----
----+-----------+
1 row in set (0.00 sec)

Pl help me..

Regards,
Suhag.


----- Forwarded message from "spdesai@xxxxxxxxx" <spdesai@xxxxxxxxx> -----
    Date: Thu, 25 Aug 2005 15:20:39 +0530
    From: "spdesai@xxxxxxxxx" <spdesai@xxxxxxxxx>
Reply-To: "spdesai@xxxxxxxxx" <spdesai@xxxxxxxxx>
 Subject: Re: Re[6]: Fwd: QMAIL-MYSQL - CHECKPASSWORD
      To: Catalin Constantin <catalin@xxxxxxxxxxxxxxxxxxx>

OK
then

i will try with that patch and will let u know...if any problem arise..

thanks..

suhag.


Quoting Catalin Constantin <catalin@xxxxxxxxxxxxxxxxxxx>:

> i think what Michael Devogelaere said about the wrong patch might be
> the solution in your case !
> 
> use the patch that michael suggested:
> http://qmail-sql.digibel.be/downloads/checkpassword-0.90-sql-0.23b.patch
> 
> good luck !
> 
> Thursday, August 25, 2005, 12:16:54 PM, spdesai@xxxxxxxxx wrote:
> > Below is the error while trying POP3 login
> 
> > root@mail root]# telnet localhost 110
> > Trying Localhost...
> > Connected to localhost.
> > Escape character is '^]'.
> > +OK <16843.1124961766@xxxxxxxxxxxxxxx>
> > user suhag@xxxxxxxxxx
> > +OK
> > pass suhag
> > -ERR authorization failed
> > Connection closed by foreign host.
> 
> 
> > My pop3d run file as per below.
> 
> > [root@mail root]# cat /var/qmail/supervise/qmail-pop3d/run
> > #!/bin/sh
> > exec /usr/local/bin/softlimit -m 15000000 \
> >     /usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup
> \
> >         mail.domain.com /bin/checkpassword
> > /var/qmail/bin/qmail-pop3d Mai      
> >          ldir 2>&1
> 
> > Regards,
> > Suhag
> 
> 
> > Quoting Catalin Constantin <catalin@xxxxxxxxxxxxxxxxxxx>:
> 
> >> and !
> >> what do you get in the logs when you simulate the pop3 login:
> >> user username
> >> pass the pass
> >> 
> >> 
> >> also did you consider trying with something else:
> >> 1) dovecot + mysql / pgsql support (Very good choice)
> >> 2) courier imap + auth mysql / pgsql support
> >> 
> >> maybe you also will need imap soon (eg: a webmail) so investing your
> >> time in configuring for example dovecot might be a very good
> >> alternative  !
> >> 
> >> another thing:
> >> make sure that /bin/checkpassword is the file resulted after the
> >> compilation of your qmail-sql package.
> >> 
> >> 
> >> 
> >> 
> >> Wednesday, August 24, 2005, 7:18:49 PM, spdesai@xxxxxxxxx wrote:
> >> > Hello
> >> 
> >> > I started  
> >> 
> >> > /var/qmail/bin/qmail-popup domain /bin/checkpassword pwd
> >> 
> >> > Any other info ?
> >> 
> >> > Reagards,
> >> > Suhag
> >> 
> >> 
> >> -- 
> >> Catalin Constantin
> >> Bounce Software
> >> http://www.bounce-software.com
> >> http://www.cabanova.ro
> >> 
> >> 
> 
> 
> 
> 
> > -------------------------------------------------
> > This mail sent through IMP: http://horde.org/imp/
> 
> 
> -- 
> Catalin Constantin
> Bounce Software
> http://www.bounce-software.com
> http://www.cabanova.ro
> 
> 




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


----- End forwarded message -----




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/