Can't retrieve IMAP mails with KMail

Peter Humphrey peter at prh.myzen.co.uk
Wed Dec 19 16:17:22 GMT 2018


Hello list,

I decided to have another go at setting KMail up to work with my local IMAP 
server, which is dovecot on top of postfix and fetchmail.

After much wrestling with the three ways of creating an IMAP account, 
including numerous errors "Inappropriate ioctl for device" (which I should not 
be seeing at the user level), I finally have an unsecured server connection. 
However, when I attempt to fetch mail from that server, KMail doesn't show any 
result.

After running these commands:
    # tcpdump -w /tmp/tcpd.all host peak and serv
    # tcpdump -r /tmp/tcpd.all
I can see the following traffic when I try to fetch new mail:

------
reading from file /tmp/tcpd.all, link-type EN10MB (Ethernet)
dropped privs to tcpdump
15:49:33.850849 IP peak.prhnet.local.52460 > serv.prhnet.local.imap: Flags 
[P.], seq 95330508819302], length 48
15:49:33.852396 IP serv.prhnet.local.imap > peak.prhnet.local.52460: Flags 
[P.], seq 1:114
15:49:33.852419 IP peak.prhnet.local.52460 > serv.prhnet.local.imap: Flags 
[.], ack 114, w
15:49:33.857270 IP peak.prhnet.local.52460 > serv.prhnet.local.imap: Flags 
[P.], seq 48:94
15:49:33.858653 IP serv.prhnet.local.imap > peak.prhnet.local.52460: Flags 
[P.], seq 114:11
15:49:33.858822 IP peak.prhnet.local.52460 > serv.prhnet.local.imap: Flags 
[P.], seq 94:155
15:49:33.860717 IP serv.prhnet.local.imap > peak.prhnet.local.52460: Flags 
[P.], seq 195:6414
15:49:33.901369 IP peak.prhnet.local.52460 > serv.prhnet.local.imap: Flags 
[.], ack 609, w
------

So traffic is flowing, but I don't get any mails, even though the mbox has 80K 
bytes of them.

What else can I try?

-- 
Gentoo testing
gcc 8.2.0-r5
sys-kernel/gentoo-sources 4.19.10
QT 5.11.3, KDE frameworks 5.53.0, KDE plasma 5.14.4
KMail 5.10.0 (18.12.0), akonadi 18.12.0
x11-drivers/xf86-video-amdgpu 1.1.0
dev-libs/amdgpu-pro-opencl 18.20.606296






More information about the kdepim-users mailing list