Steffen Nurpmeso <[email protected]> wrote:
 |Ypnose <[email protected]> wrote:
 ||Good evening Steffen,

 ||I'll compile s-nail from [next] branch this weekend. Then I'll test
 ||it and report back here.
 |
 |That would be very kind.  (The problem was that without
 |*v15-compat* the password got lost, that is, not automatically
 |restored.  It is now, thank you very much for reporting the
 |issue, Ypnose.)

In more detail that is, whereas in older versions the credentials
were looked up once an actual connection to an IMAP server was
made, with the socket connection already being made (iirc), we now
collect the necessary credential much, much earlier.

For IMAP to make that work (with disconnect / connect and possible
multiple connections to the same account, still more testing
required with this) i stash the password away into the mailbox it
belongs to, and "restore it back into the URL" when needed again.

What i had forgotten is that without *v15-compat* being set that
restored pointer will not be used at all, because then the
codepath doesn't know about passwords in the URL at all, thus
resulting in a needless query for passwords.

So the fix for that was to (temporarily save a possibly existing
*password-USER@HOST* and) set a *password-USER@HOST* accordingly.
(And, while testing this, i also realized that options like the
mentioned can become overwritten during the lifetime of
credentials, which was yet not handled, too.)

So thanks again for reporting the issue, Ypnose.

--steffen

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
S-nail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/s-nail-users

Reply via email to