[Bug 243832] New: sieve can't login because of enum mistmatch between kmail and imap_resource

David Faure faure at kde.org
Wed Jul 7 09:33:41 BST 2010


https://bugs.kde.org/show_bug.cgi?id=243832

           Summary: sieve can't login because of enum mistmatch between
                    kmail and imap_resource
           Product: Akonadi
           Version: 4.5
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: IMAP resource
        AssignedTo: ervin at kde.org
        ReportedBy: faure at kde.org
                CC: vkrause at kde.org, kdepim-bugs at kde.org


Version:           4.5 (using Devel) 
OS:                Linux

KMail::Util::findSieveUrlForAccount calls authentication() on the imapsettings
dbus interface, and treats it as a KIMAP::LoginJob enum.

But the imap resource implements authentication() as a
MailTransport::Transport::EnumAuthenticationType::type.

So my imap (on mail.kdab.com) auth type of "Plain" gets wrongly converted to
"ANONYMOUS", and the sieve kioslave doesn't manage to log in.

Reproducible: Always

Steps to Reproduce:
1) Configure an IMAP account (e.g. on mail.kdab.com)
2) Settings / Manage sieve scripts.

Actual Results:  
Authorization failed, Authentication failed.
Most likely the password is wrong.
The server responded:
NO "Authentication Error" authentication not supported


I asked Kevin and he told me that the code was using the KIMAP::LoginJob enum
initially and has been changed to use the MailTransport enum later on.
I indeed remember the migration issue caused by that.

Isn't the right fix, to avoid forcing our users through that migration problem,
to go back to the KIMAP::LoginJob enum?
This would fix the migration issue -and- fix the bad enum conversion that makes
it impossible to edit sieve scripts currently.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list