Moving mails on the command line via cron.

Bernhard Reiter bernhard.reiter at intevation.de
Wed Nov 9 00:20:25 CET 2005


Am Freitag, 21. Oktober 2005 01:05 schrieb Alexander Maret-Huskinson:
> I'm looking for a command line tool to move mails stored on the Kolab
> server.

mv
and 
cyrreconstruct

should be your friends.

> We have a support group-account here where all customer support is handled.
> Each mail to or from support at ... gets duplicated and is send to a shared
> folder which serves as an archive. This way our employees can see if
> another one already answered a support question and what he answered. As
> this folder grows and grows I would like to automatically move these mails
> into subfolders sorted by month.
>
> I've read that it is not a good idea to just use "mv" to move these mails
> into a subfolder as the imap index is not updated. Do you know of any
> command line tool I can use to move these mails into subfolders with a
> cronjob?

Note that KDE Kontact also can do a move on old emails.




More information about the users mailing list