[kdepim-users] [Reproduced] Re: Please check your maildir stores for 1-byte sized files

Martin Steigerwald Martin at lichtvoll.de
Sat May 4 14:22:10 BST 2013


Am Samstag, 4. Mai 2013, 13:58:12 schrieb O. Sinclair:
> On 04/05/2013 13:25, Martin Steigerwald wrote:
> > Am Samstag, 4. Mai 2013, 12:55:45 schrieb Martin Steigerwald:
> >> Am Freitag, 3. Mai 2013, 09:30:15 schrieb O. Sinclair:
> >>> On 02/05/2013 20:47, Martin Steigerwald wrote:
> >>>> Am Donnerstag, 2. Mai 2013, 17:34:05 schrieb Martin Steigerwald:
> >>>>> Hi!
> >>>>> 
> >>>>> I stumpled over what I think is a possible data loss again with
> >>>>> my most recent, I think pretty simple setup with KMail and filter
> >>>>> configuration from scratch:
> >>>>> 
> >>>>> Bug 319226 - produces 1-byte-sized files on failed move attempts
> >>>>> while filtering http://bugs.kde.org/319226
> >>>>> 
> >>>>> I saw it produce three more of these 1-byte-sized files
> >>>> 
> >>>> […]
> >>>> 
> >>>>> I still hope its just happening for me and its somehow related to
> >>>>> filter rules, but please sanity check your maildir stores.
> >>>> 
> >>>> I suspect its really something with my filter rules, particularily
> >>>> the CRM114 spam filtering integration rules I made.
> >>>> 
> >>>> So it may really just happen to me.
> >>>> 
> >>>> I removed those CRM114 rules now and will see what happens.
> >>>> 
> >>>> Still it would be reassuring to hear from some POP3 users that they
> >>>> do not have one byte sized files in their local maildirs while
> >>>> using (local) filtering themselves.
> >>> 
> >>> I find none and I have been using CRM114 though it seems to be botched
> >>> in Kubuntu 13.04 (not first time, worked nicely in 12.10 though). Have
> >>> also removed CRM114 as it simply does not seem to work..
[…]

> >> [Filter #39]
> >> Applicability=0
> >> AutomaticName=false
> >> ConfigureShortcut=true
> >> ConfigureToolbar=true
> >> Enabled=true
> >> Icon=mail-mark-notjunk
> >> StopProcessingHere=true
> >> ToolbarName=crm114: Als Gut einstufen
> >> accounts-set=akonadi_pop3_resource_0,akonadi_maildir_resource_0
> >> action-args-0=H
> >> action-args-1=crm -u ~/.crm114 mailreaver.crm --good
> >> action-args-2=rm -u ~/.crm114 mailreaver.crm
> >> 
> >> GOSH! That rm -u should be a "crm", a copy and paste error. I think I
> >> noticed an error like this and fixed it.
> >> 
> >> That might explain what I am seeing.

Yay, I think I got a reproducer:

https://bugs.kde.org/show_bug.cgi?id=319226#c17


It is not this gravely misconfigured filter rule, cause I tested with it fixed. 


I just made a POP3 test account and stuffed 5000 mails with /etc/fstab as 
content in it.

Everything is in the report, including a transscript of reproducting the bug, 
the filter rules in use and a crm114 test setup.


> >> Can you recall the exact filter fules you used?
[…]

> If memory serves me right (not necessarily) crm114 64-bit went botched
> in 11.10 and that was a known bug. Came back working in 12.04
> 
> Now when I try to use it I get the same "symptoms" as back then, nothing
> really happens. If you switch on filtering log you just see an error
> message where crm114 should kick in on something that is spam (not ham).
> So I have just assumed that this good, but mostly unknown, spam filter
> is again "offline".

Ah, there is a filtering log. I wondered about something like this already.

Can you tell me, how to activate it.

Thus then I can reproduce it another time with the filter log enabled.

> And consequently removed the crm114 part, now spambayes kicks in. Good
> though not as good as the combined efforts.

Spambayes on the server?

There I have policyd-weight, which does most of the heavy lifting.
 
> And thanks for the idea of putting "Local Folders" to be checked on
> application startup, that has really sped up KMail start :-)

;)

I think I file a bug report about that one as well. Maybe its needed for 
disconnected IMAP setups? Otherwise, I´d change the default.

> Having said that you seem to have a somewhat complicated chain of events
> set up to access your mail.

How so?


Its just aPostfix stuffing mail in a ~/Maildir folder on the server, with Dovecot 
POP3 delivering it to KMail. The only complication are the CRM114 rules. But 
still, they shall not produce one-byte-sized files.


I may switch to IMAP, but currently I could not even stuff all that 6.7 GB onto 
the server without enlarging the /home filesystem there. Also I do not know 
whether I want to put that much mails onto the server in case of an intrusion.

Thus, I would like to use possibly a combined setup. Having recent mails on 
IMAP and then moving old ones to local storage. Well, first I want to get this 
setup working again. The setup I know and that served me well for years - 
almost unchanged.

Thanks,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7
_______________________________________________
KDE PIM users mailing list
Subscription management: https://mail.kde.org/mailman/listinfo/kdepim-users


More information about the kdepim-users mailing list