Hi Ilja,

Since the "auth" command normally only returns what can be used to 
authenticate, I cannot answer your question since I do not know what methods 
dbmail-pop3d is able to authenticate against.

A new question though: does dbmail-pop3d support base64 authentication?  It 
seems that is what this code (from openwebmail/shares/pop3mail.pl which I 
commented out) does:

<snip>
   # try if server supports auth login(base64 encoding) first
   print $remote_sock "auth login\r\n";
   $_=<$remote_sock>;
   if (/^\+/) {
      print $remote_sock &encode_base64($pop3user);
      $_=<$remote_sock>;
      if (/^\-/) {             # username error
         close($remote_sock);
         return(-13, "user name error");
      }
      print $remote_sock &encode_base64($pop3passwd);
      $_=<$remote_sock>;
   }
<snip>

After commenting out this, and a few other various things in that file, and 
the authentication module file everything started working.

Shouldn't the pop3 daemon for dbmail be able to support this type of 
authentication?

Angus

------------------------------ 

Message: 3 
Date: Fri, 28 May 2004 16:47:07 +0200 
From: Ilja Booij <[EMAIL PROTECTED]> 
Subject: Re: [Dbmail-dev] Re: Openwebmail / POP3 Auth 
To: DBMAIL Developers Mailinglist <[email protected]> 
Message-ID: <[EMAIL PROTECTED]> 
Content-Type: text/plain; charset=us-ascii; format=flowed 

World Wide Web Owner wrote: 

> Hi Aaron, 
> 
> I did a little hacking in the openwebmail/shares/pop3mail.pl file, as well 
as 
> the openwebmail/auth/auth_pop3.pl file.  I disabled the "auth login" 
method, 
> and everything has started working. 
> 
> My new question is why does dbmail only reply with a "." when I type "auth 
> login"?  It basically is saying that it supports me typing "auth login", 
but 
> does not support any methods of authentication.  At least that's what I 
> gather from that response.  Here is the telnet transcript: 

<snip> 

I've changed pop3 so it returns the sames things as qpopper now. I'm 
only a bit confused if we can really return 
X-NONE-SO-USE-APOP-OR-STLS 

when we don't support TLS. We can probably also return 

X-NONE-SO-USE-APOP 

I guess? 
Any ideas? 

Ilja 


--
Open WebMail Project (http://openwebmail.org)

Reply via email to