[Kde-pim] Akonadi IMAP resource issue - LIST succeeds, mails not fetched

Andras Mantia amantia at kde.org
Mon Feb 27 19:49:05 GMT 2012


Hi,

Laurent Pinchart wrote:
> 
> I've tried to debug the problem myself by checking the IMAP server logs
> first, and then the IMAP dialog using both server-side and client-side
> logging. Both some the exact same dialog (folder names obfuscated):
> 
> C: A000004 CAPABILITY
> S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID
> NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT
> THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE LOGINDISABLED
> S: A000004 OK Completed
> C: A000005 NAMESPACE
> S: * NAMESPACE ( ("INBOX/" "/") ) ( ("user/" "/") ) ( ("" "/") )
> S: A000005 OK Completed
> C: A000006 LIST "" *
> S: * LIST ( \HasChildren ) / INBOX
> S: * LIST ( \HasChildren ) / INBOX/***
> S: * LIST ( \HasNoChildren ) / INBOX/***/********
> S: * LIST ( \HasNoChildren ) / INBOX/***/******
> S: * LIST ( \HasNoChildren ) / INBOX/***/*******
> S: * LIST ( \HasNoChildren ) / INBOX/***/*******
> S: * LIST ( \HasNoChildren ) / INBOX/***/*********
> S: * LIST ( \HasChildren ) / INBOX/***/*****
> S: * LIST ( \HasNoChildren ) / INBOX/***/*****/***********
> S: * LIST ( \HasNoChildren ) / INBOX/***/*****/**************
> S: * LIST ( \HasNoChildren ) / INBOX/***/*****/****************
> S: * LIST ( \HasNoChildren ) / INBOX/***/*****/***********
> S: * LIST ( \HasNoChildren ) / INBOX/***/*******
> S: * LIST ( \HasNoChildren ) / INBOX/***/********
> S: * LIST ( \HasNoChildren ) / INBOX/***/***********
> S: * LIST ( \HasNoChildren ) / INBOX/***/**
> S: * LIST ( \HasNoChildren ) / INBOX/***/******
> S: * LIST ( \HasChildren ) / INBOX/*****
> S: * LIST ( \HasNoChildren ) / INBOX/*****/*********
> S: * LIST ( \HasNoChildren ) / INBOX/*****/******
> S: * LIST ( \HasNoChildren ) / INBOX/*****/******
> S: * LIST ( \HasNoChildren ) / INBOX/*****/****************
> S: * LIST ( \HasNoChildren ) / INBOX/*****/***********
> S: * LIST ( \HasNoChildren ) / INBOX/*****/***********
> S: * LIST ( \HasNoChildren ) / INBOX/*****/**********
> S: * LIST ( \HasNoChildren ) / INBOX/*****/********
> S: * LIST ( \HasNoChildren ) / INBOX/*****/*********
> S: * LIST ( \HasChildren ) / INBOX/*****/***************
> S: * LIST ( \HasNoChildren ) / INBOX/*****/***************/*******
> S: * LIST ( \HasNoChildren ) / INBOX/************
> S: * LIST ( \HasChildren ) / INBOX/********
> S: * LIST ( \HasNoChildren ) / INBOX/********/******
> S: * LIST ( \HasNoChildren ) / INBOX/********
> S: * LIST ( \HasNoChildren ) / INBOX/****
> S: A000006 OK Completed ( 0.000 secs 35 calls )

Is this the log when you do a sync? Just get a client log (export 
KIMAP_LOGFILE=somefile and restart akonadiserver in the same console) for 
the period you sync.

Also check that you are really subscribed to the folders. Both server side 
and that your local subscription didn't go wild for some reason. Server side 
subscription you can check in the imap resource config, local subscription 
in kmail (right click on the account in the folder list). Sorry if you 
already did that and I'm asking for the obvious, but we need to rule this 
out.

> And that's it. Akonadi doesn't try to fetch the mails.
> 
> I've also enabled debugging in akonadi-console, and synchronizing the
> inbox on my IMAP resource (F5) only shows (user and server names
> obfuscated as well)

That debugger shows the communication between KMail (or other clients) and 
the akonadi server. If the problem is that it doesn't fetch from the IMAP 
server, this log won't show anything interesting.


For IMAP issues the best approach is to log all the client/server 
communication and see what is going on.

Andras
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list