On Wed, Jul 26, 2000 at 09:47:57AM +0200, Nils Vogels wrote:
> > > Therefore I would like to build like an autoarchiver which moves the mail
> > > monthly into a seperate, gzipped folder, so this months mail for the mutt list
> > > would end up in =mutt-july-2000.gz
> > >
> > > How would I go by this using mutt ?
>
> Hmm.. procmail sounds indeed better than mutt, but this leaves me with quite a
> new challenge: how do i make procmail run a piece of its config file only once
> a month, and not on every mail delivery ? ;-)
strnge seems there went something wrong with the message I sent some hours ago
... I'll simply include the text here again:
--------------------- snip ---------------------------------------------
hmmm... do you really want to solve this with mutt? I suppose you're using
procmail for delivering your mail into different mailboxes, aren't you?
remember procmail can expand Shell expressions when interpreting its config.
so why don't use a foldername like
folder-`date %m-%Y`/
so every month's mail would be sorted into the month's folder.
Using mutt is also quite simple ...
simply tag the messages using a regular expression (and the "T" key ;-) :
~d >30d
would tag all messages in the current folder being older than 30 days.
then you could simply move all the tagged messages to a folder ...
ok... now it's up to you which way you like better ... the first one would be
mine...
cu.
----------------------------------- SNAP ---------------------------------
hopefully this will show up on the list this time ... ;-)
cu.
--
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/
Germany | eMail: Christian Ordig <[EMAIL PROTECTED]>
PGP signature