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 "delete" with "delete-message" to avoid the first error message. Do you get error messages? Yes, I got "Key is not bound." You must have the keybinding:

Re: managing folders

1999-10-19 Thread Mikko Hänninen
Byrial Jensen [EMAIL PROTECTED] wrote on Tue, 19 Oct 1999: BTW the command "push string" 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 string so that it doesn't get interpreted.

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-18 Thread David DeSimone
Eric Smith [EMAIL PROTECTED] wrote: Byrial - | mutt -f folder-to-expire -e 'set delete;push D~r20denterq' 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 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~r20denterq' | | Been looking for something like this for ages - great to put into a | cron job script that

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

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~r20denterq' 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

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

Re: managing folders

1999-10-18 Thread Dirk Huebner
Hi all... Not long ago (exactly Tue, 19 Oct 1999) Byrial Jensen wrote: Replace "delete" with "delete-message" 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

Re: managing folders

1999-10-16 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 give the

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~r20denterq' 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 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~r20denterq' BTW, how would one modify this so that insted of deleting it copies to another folder or even better adds it

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

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: 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 such as

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 a

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

managing folders

1999-10-12 Thread Larry Fletcher
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? Larry Fletcher Redondo Beach, CA USA