[Users] Archiving like Thunderbird (or how you handle your mail)

Holger Berndt berndth at gmx.de
Mon Sep 14 22:50:39 CEST 2015

Hallo Niklaas,

On Mo, 14.09.2015 10:39, Niklaas Baudet von Gersdorff wrote:

>I get quite a lot of mails so my inbox tends to get quite full (known
>problem I guess). In Thunderbird I set up the archive feature to save
>my mail in a folder structure like
>`-- 2015
> `-- 09
>  |-- email #1 of September, 2015  
>  `-- email #2 of September, 2015
>i.e. an archive sorted by years and months.


>Is there a way to implement this feature in Claws? Maybe with a python
>script? (I don't know python though, so I'd need some help.) I was able
>to implement that in mutt with a bit of sh scripting (which I know a
>bit). In Claws, I know about the processing and filter rules but I
>don't have a clue how to save mail depending on the current month or
>the month when an email was sent/received.

Should be doable with the Python plugin, depending on how exactly you
want it to work. Attached script "Archive1" moves the selected messages
in your archive folder according to the current date, "Archive2" moves
the messages according to the "Date" header of the respective message.

In any case, you have to modify the scripts to point to your target
archive root folder (variable target_folder_identifier).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Archive1
Type: application/octet-stream
Size: 386 bytes
Desc: not available
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20150914/a22d6a30/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Archive2
Type: application/octet-stream
Size: 780 bytes
Desc: not available
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20150914/a22d6a30/attachment-0001.obj>

More information about the Users mailing list