• Re: [gentoo-user] Losing emails

    From Peter Humphrey@21:1/5 to All on Wed Oct 9 16:50:01 2024
    On Wednesday 9 October 2024 15:41:16 BST I wrote:

    You may remember my mentioning a fly in the ointment recently. Well, today I went to post a follow-up, only to find that the message had disappeared
    from my client, which is KMail. Perhaps I didn't actually send that mail, I thought, so I checked the archive and there it was.

    Of course the next thing I tried revealed the problem. KMail was not losing
    the email; its search function was just failing to find it.

    Sorry about the noise.

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Humphrey@21:1/5 to All on Wed Oct 9 16:50:01 2024
    Greetings,

    You may remember my mentioning a fly in the ointment recently. Well, today I went to post a follow-up, only to find that the message had disappeared from my client, which is KMail. Perhaps I didn't actually send that mail, I thought,
    so I checked the archive and there it was.

    KMail runs on this PC (an Intel i5 NUC) and fetches IMAP mail from my LAN server (an Intel i3 NUC) which runs fetchmail, postfix and dovecot. I had to set this service up because KMail is hopeless with POP3 and Zen, my ISP, doesn't offer IMAP4.

    The process goes like this on the server:

    1. Fetchmail runs every 5 minutes, fetches POP3 mail from Zen and sends it to postfix (Zen's server then deletes the mail).
    2. Postfix drops the mail in ~/.maildir for dovecot to serve to my client KMail.
    3. Rsync runs every 20 seconds and synchronises ~/.maildir to a separate partition on /mnt/mailbu. The crontab entry is:
    */20 * * * * /usr/bin/rsync -a --open-noatime /home/prh/.maildir/ /mnt/mailbu

    The odd thing is that the offending email is present both in ~/.maildir and in /mnt/mailbu, so why is kmail not displaying it, or dovecot not serving it? How can I tell which it is? I haven't changed dovecot.conf since mid-February.

    I've run 'akonadictl fdisk' and 'akonadictl vacuum' but with no apparent effect. I could try the sledge-hammer method and emerge -e, I suppose.

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Kenworthy@21:1/5 to Peter Humphrey on Thu Oct 10 01:40:01 2024
    Check the permissions on the email in .maildir.  I am using imap and
    very occasionally Thunderbird wont display an email  as the permissions
    were not set correctly for some reason. (glitch? on download)

    BillK


    On 9/10/24 22:45, Peter Humphrey wrote:
    On Wednesday 9 October 2024 15:41:16 BST I wrote:

    You may remember my mentioning a fly in the ointment recently. Well, today I >> went to post a follow-up, only to find that the message had disappeared
    from my client, which is KMail. Perhaps I didn't actually send that mail, I >> thought, so I checked the archive and there it was.
    Of course the next thing I tried revealed the problem. KMail was not losing the email; its search function was just failing to find it.

    Sorry about the noise.


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Humphrey@21:1/5 to All on Fri Oct 11 12:50:01 2024
    On Thursday 10 October 2024 00:34:12 BST William Kenworthy wrote:
    Check the permissions on the email in .maildir. I am using imap and
    very occasionally Thunderbird wont display an email as the permissions
    were not set correctly for some reason. (glitch? on download)

    Thanks Bill, but the fault was mine all along.

    [OT]
    A word of advice, if I may: if any member of one's family has glaucoma, be
    sure to get yourself checked for it regularly. It is not to be sneezed at.

    --
    Regards,
    Peter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)