Re: managing folders

1999-10-19 Thread Mikko Hänninen
Byrial Jensen <[EMAIL PROTECTED]> wrote on Tue, 19 Oct 1999: > BTW the command "push " can mean 3 different things: ... > 3. execute the functions bound to the keys <, s, t, r, i, n, g, >. Incidentally, it would be nice to have some method of escaping so that it doesn't get interpreted. Current

Re: managing folders

1999-10-19 Thread Byrial Jensen
On Tue, Oct 19, 1999 at 08:46:53 +0200, Dirk Huebner wrote: > Not long ago (exactly Tue, 19 Oct 1999) Byrial Jensen wrote: > > > Replace "" with "" to avoid the first > > error message. > > Do you get error messages? Yes, I got "Key is not bound." You must have the keybinding: bind index d

Re: managing folders

1999-10-18 Thread Dirk Huebner
Hi all... Not long ago (exactly Tue, 19 Oct 1999) Byrial Jensen wrote: > Replace "" with "" to avoid the first > error message. Do you get error messages? > > But take care! If no mails match the pattern, then the tag-prefix > (\;) will have no effect, and what happens to be the current > me

Re: managing folders

1999-10-18 Thread Byrial Jensen
On Mon, Oct 18, 1999 at 11:26:18 +0200, Dirk Huebner wrote: > this is just another addition to the other solutions :-) > Perhaps using "folder-hooks" would also be an appropriate solution for > you. In my case it is the perfect way. > I use the following: > > folder-hook =trash 'push T~r>2w!~F\n

Re: managing folders

1999-10-18 Thread Larry Fletcher
On Oct 18, 1999, David DeSimone wrote: > Eric Smith <[EMAIL PROTECTED]> wrote: > > > > Byrial - > > | mutt -f folder-to-expire -e 'set delete;push D~r>20dq' > > > > Been looking for something like this for ages - great to put into a > > cron job script that iterates through a list of folders. >

Re: managing folders

1999-10-18 Thread Roy-Magne Mo
On Mon, Oct 18, 1999 at 09:46:56PM +0200, Eric Smith wrote: > Bah, you are correct David (see enclosed). My dreams of a self > maintaining mail folder temporarilly shattered. :( using maildrop you could achieve this: Keep copies of the last 50 messages that you received in the ma

Re: managing folders

1999-10-18 Thread Eric Smith
And on Mon, Oct 18, 1999 at 02:09:20PM -0500 it was said by David DeSimone: | Eric Smith <[EMAIL PROTECTED]> wrote: | > | > Byrial - | > | mutt -f folder-to-expire -e 'set delete;push D~r>20dq' | > | > Been looking for something like this for ages - great to put into a | > cron job script that

Re: managing folders

1999-10-18 Thread David DeSimone
Eric Smith <[EMAIL PROTECTED]> wrote: > > Byrial - > | mutt -f folder-to-expire -e 'set delete;push D~r>20dq' > > Been looking for something like this for ages - great to put into a > cron job script that iterates through a list of folders. I don't think this will work from a cron job, because

Re: managing folders

1999-10-18 Thread Dirk Huebner
Not long ago (exactly Tue, 12 Oct 1999) Larry Fletcher wrote: > Is there any way to expire messages in selected folders similar to > the way messages in newsgroups are expired? Or to limit the number > of messages a folder will hold, so when new messages are added old > messages scroll off? > >

Re: managing folders

1999-10-16 Thread Larry Fletcher
On Oct 16, 1999, Byrial Jensen wrote: > On Fri, Oct 15, 1999 at 12:38:20 -0700, Larry Fletcher wrote: > > On Oct 15, 1999, Byrial Jensen wrote: > > > > Is there any way to expire messages in selected folders similar to > > > > the way messages in newsgroups are expired? > > > > > > Yes, you can u

Re: managing folders

1999-10-16 Thread Mikko Hänninen
Byrial Jensen <[EMAIL PROTECTED]> wrote on Sat, 16 Oct 1999: > However there is a problem here. If no messages were tagged then the > tag-prefix will have no effect, and what happens to be the current > message will then be expired. True enough, forgot about that. :-( But there's no obvious work

Re: managing folders

1999-10-16 Thread Byrial Jensen
On Sat, Oct 16, 1999 at 17:42:40 +0300, Mikko Hänninen wrote: > Eric Smith <[EMAIL PROTECTED]> wrote on Sat, 16 Oct 1999: > > | mutt -f folder-to-expire -e 'set delete;push D~r>20dq' > > > BTW, how would one modify this so that insted of deleting it copies to > > another folder or even better add

Re: managing folders

1999-10-16 Thread Mikko Hänninen
Eric Smith <[EMAIL PROTECTED]> wrote on Sat, 16 Oct 1999: > | mutt -f folder-to-expire -e 'set delete;push D~r>20dq' > BTW, how would one modify this so that insted of deleting it copies to > another folder or even better adds it to a folder-to-expire.tar.gz. You need to tag the messages instead

Re: managing folders

1999-10-16 Thread Eric Smith
Byrial - | I think that you can do it automatically with this command: | | mutt -f folder-to-expire -e 'set delete;push D~r>20dq' That is so kewl - I tested it and it worked for me. Been looking for something like this for ages - great to put into a cron job script that iterates through a lis

Re: managing folders

1999-10-15 Thread Byrial Jensen
On Fri, Oct 15, 1999 at 12:38:20 -0700, Larry Fletcher wrote: > On Oct 15, 1999, Byrial Jensen wrote: > > > Is there any way to expire messages in selected folders similar to > > > the way messages in newsgroups are expired? > > > > Yes, you can use the "delete-pattern" command with a pattern to

Re: managing folders

1999-10-15 Thread Bennett Todd
1999-10-15-16:06:11 Larry Fletcher: > I wonder if there's an easy way to calculate the current date minus a number > of days and then delete all the files in a directory that are older or equal > to that date. find a_directory -mtime +number_of_days -print0|perl -0 -lne unlink There are

Re: managing folders

1999-10-15 Thread Lars Hecking
> > If using maildir format folders, one could easily create a cron job that > > counts how many messages are in the folder, and then deletes the oldest > > of them, based on timestamps. > > This sounds interesting. I wonder if there's an easy way to calculate > the current date minus a number

Re: managing folders

1999-10-15 Thread Larry Fletcher
On Oct 15, 1999, David DeSimone wrote: > Mikko Hänninen <[EMAIL PROTECTED]> wrote: > > > > > > Or to limit the number of messages a folder will hold, so when new > > > > messages are added old messages scroll off? > > > > If the messages are saved in the folder with a filtering program > > such as

Re: managing folders

1999-10-15 Thread Larry Fletcher
On Oct 15, 1999, Byrial Jensen wrote: > > Is there any way to expire messages in selected folders similar to > > the way messages in newsgroups are expired? > > Yes, you can use the "delete-pattern" command with a pattern to > give the oldest messages. E.g. to delete all messages received more >

Re: managing folders

1999-10-15 Thread David DeSimone
Mikko Hänninen <[EMAIL PROTECTED]> wrote: > > > > Or to limit the number of messages a folder will hold, so when new > > > messages are added old messages scroll off? > > If the messages are saved in the folder with a filtering program > such as procmail or maildrop, it might be possible to create

Re: managing folders

1999-10-15 Thread Mikko Hänninen
Byrial Jensen <[EMAIL PROTECTED]> wrote on Fri, 15 Oct 1999: > > Or to limit the number > > of messages a folder will hold, so when new messages are added old > > messages scroll off? > > No, I don't see how this could be done. If the messages are saved in the folder with a filtering program suc

Re: managing folders

1999-10-15 Thread Byrial Jensen
On Tue, Oct 12, 1999 at 09:37:08 -0700, Larry Fletcher wrote: > Is there any way to expire messages in selected folders similar to > the way messages in newsgroups are expired? Yes, you can use the "delete-pattern" command with a pattern to give the oldest messages. E.g. to delete all messages re