On Mon, 2003-03-10 at 11:55, Ryan Butler wrote:
> This is a bug in the 1.1 pop server.
> 
> Entourage will see the APOP stamp on the greeting and default to APOP
> mode.  APOP will always yield an incomplete session error regardless if
> the session was correct or not.
> 
> I tested it by explicitly setting Evolution to use APOP and it too gets
> an error, even though all the commands sent and received are valid, and
> the last command is a quit.
> 
> 


Figured this out,

line 167 of pop3.c:
        if (session.username != NULL && session.password != NULL)

On an APOP connection, password is NULL because a hash is substituted
instead of a password.

My temporary fix so far has been to set the password = to the hash.  The
false condition on this if is the "uncompleted session error"  and the
only time the pop server updates the read/deleted items is at the end of
a sucessful session.

When I decide on the best method to solve the problem, I'll submit a
patch.  But this does work to solve the problem.


-- 
Ryan Butler <[EMAIL PROTECTED]>
ADI Internet Solutions

Reply via email to