[Kde-pim] Filters and KMail2
Milian Wolff
mail at milianw.de
Mon Aug 8 20:14:39 BST 2011
Hey all,
the state of filters in KMail2 is good - if you manage to get them working.
It is virtually impossible to import filters from a different machine, because:
FilterImporterExporter::readFiltersFromConfig
-> calls purify
-> checks 'isEmpty'
different machines / setups will most definitely have a different random ID
assigned to accounts, which means
// Remove invalid accounts from mAccounts - just to be tidy
in purify will most definitely hit. Hence isEmpty is true as well due to
mAccounts.isEmpty() == true.
I hacked it locally to get my ~50 filters imported. Afterwards I had to go them
all by hand to "fixup" the folders and account assignments.
Furthermore KMail2 instantly triggers a "apply all filters to all mails in
current folder" thing - at least it did so for me. Imo this should not take
place. Hitting OK/Apply in KMail1 's filter dialog never issued a "run all
mails through filters".
Is anyone working on filters and could improve this state?
--
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20110808/65628a96/attachment.sig>
-------------- next part --------------
_______________________________________________
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