tpop3d-devel
[Top][All Lists]
Advanced

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

[tpop3d-discuss] SMTP AUTH with MD5 PW HASHES


From: Cameron Turner
Subject: [tpop3d-discuss] SMTP AUTH with MD5 PW HASHES
Date: Sat, 16 Feb 2002 18:02:44 -0500

Hello all,

I've been reading your list archives (vmail discuss, tpop3d-discuss, and exim-users) for a few days now trying to get SMTP AUTH working with my VMAIL databases. I understand that it's a common problem, but I have tried all the options I can find and none of them seem to work.

I'd like to use the password_hash field from the popbox table (which is a 32-byte MD5 hash of the password) to authenticate a user for SMTP via the PLAIN method.

I've tried the following (based on what i read on the lists):
plain:
    driver = plaintext
    public_name = PLAIN
    server_condition = "${if and { \
        {!eq {$2}{}} \
        {!eq {$3}{}} \
        {crypteq {$3}{\\{md5\\}07c600cc80aa7f3e32cd661f44a4db64}}} {1} {0} }"
    server_set_id = $2

plain:
    driver = plaintext
    public_name = PLAIN
    server_condition = ${if and { \
        {!eq {$2}{}} \
        {!eq {$3}{}} \
        {crypteq {$3}{\{md5\}07c600cc80aa7f3e32cd661f44a4db64}}} {1} {0} }
    server_set_id = $2

plain:
    driver = plaintext
    public_name = PLAIN
    server_condition = "${if and { \
        {!eq {$2}{}} \
        {!eq {$3}{}} \
        {eq {md5:$3}{07c600cc80aa7f3e32cd661f44a4db64}}} {1} {0} }"
    server_set_id = $2

plain:
    driver = plaintext
    public_name = PLAIN
    server_condition = "${if \
        crypteq {$3}{\\{md5\\}07c600cc80aa7f3e32cd661f44a4db64} {1} {0} }"
    server_set_id = $2

Where "07c600cc80aa7f3e32cd661f44a4db64" is the result of the call to the database (which I have working).

None of them seem to work. Can anyone help me? Please? I'm very frustrated. I also think I'm very close.

I'm using Exim 3.34 & tpop3d-1.3.5 (thus they need to interoperate).

Thanks,
Cam



reply via email to

[Prev in Thread] Current Thread [Next in Thread]