Re: archiving mailboxes each month

1999-08-24 Thread Roberto Suarez Soto
On Aug/23/1999, Gerald Oskoboiny wrote: > Oops! This is what I'm using: > mailboxes `echo ~/mail/* | fmt -1 | grep -v /outbox$ | fmt -` > Using echo instead of find assumes that everything in ~/mail is a > mailbox (no subdirectories within it), which it is for me. Well, as I told

Re: archiving mailboxes each month

1999-08-23 Thread Roberto Suarez Soto
On Aug/22/1999, Jan Peter Hecking wrote: > Now you're missing an newline at the end of the string. Try > > mailboxes `find $HOME/mail -type f -print | tr '\n' ' ';echo` > > instead. Beware also that the tilde ~ doesn't get expanded - you > have to use $HOME instead. Yep, you're right.

Re: archiving mailboxes each month

1999-08-22 Thread Gerald Oskoboiny
On Sun, Aug 22, 1999 at 12:08:42PM +0200, Jan Peter Hecking wrote: > On Fri, Aug 20, 1999 at 01:37:30PM +0200, Roberto Suarez Soto wrote: > > mailboxes `find ~/mail -type f -print | tr '\n' ' '` : > Now you're missing an newline at the end of the string. Try > > mailboxes `find $HOME/mail -t

Re: archiving mailboxes each month

1999-08-22 Thread Gerald Oskoboiny
On Fri, Aug 20, 1999 at 01:27:27PM +0200, Roberto Suarez Soto wrote: > On Aug/19/1999, Gerald Oskoboiny wrote: > > You can get around this by using: > > mailboxes `find ~/mail -type f -print` > > Doesn't work here :-) Mutt only treats as mailbox the first item in > the list. So, if ~/ma

Re: archiving mailboxes each month

1999-08-22 Thread Jan Peter Hecking
On Fri, Aug 20, 1999 at 01:37:30PM +0200, Roberto Suarez Soto wrote: > mailboxes `find ~/mail -type f -print | tr '\n' ' '` > > It looks right, isn't it? > > It doesn't work either O:-) And I really don't know what's the fault > now. When I put this line in my muttrc, and then

Re: archiving mailboxes each month

1999-08-21 Thread Roberto Suarez Soto
On Aug/19/1999, Gerald Oskoboiny wrote: > You can get around this by using: > > mailboxes `find ~/mail -type f -print` Doesn't work here :-) Mutt only treats as mailbox the first item in the list. So, if ~/mail had the folders "folder1", "folder2", "folder3", the above command would

Re: archiving mailboxes each month

1999-08-21 Thread Roberto Suarez Soto
Yes, I'm replying again :-) I have realized just now, and the prior message has already been sent. Consider this just a fix :-) On Aug/19/1999, Gerald Oskoboiny wrote: > You can get around this by using: > mailboxes `find ~/mail -type f -print` > (untested, but I use something simil

Re: archiving mailboxes each month

1999-08-18 Thread Chris Gushue
Gerald Oskoboiny ([EMAIL PROTECTED]) wrote: > On Thu, Aug 19, 1999 at 04:03:52AM -0230, Chris Gushue wrote: > > I guess I should paste basically what I am now doing with procmail. > > > > ## ~/.procmailrc > > looks good... > > > :0: > > * > > 0inbox > > The "*" line here isn't needed; if there

Re: archiving mailboxes each month

1999-08-18 Thread BJ Goodwin
On Wed, Aug 18, 1999 at 09:35:20PM -0230, Chris Gushue wrote: > Is there a way to archive mailboxes at the beginning of every month (or > some other period) like Pine does? Just after a couple weeks, my > debian-user mailbox (mbox) is 3.6 MB with over 1200 messages. As the > mailbox gets bigger, M

Re: archiving mailboxes each month

1999-08-18 Thread Gerald Oskoboiny
On Thu, Aug 19, 1999 at 04:03:52AM -0230, Chris Gushue wrote: > I guess I should paste basically what I am now doing with procmail. > > ## ~/.procmailrc looks good... > :0: > * > 0inbox The "*" line here isn't needed; if there are no "*" lines procmail applies the rule. > ## end of ~/.procmai

Re: archiving mailboxes each month

1999-08-18 Thread Chris Gushue
I guess I should paste basically what I am now doing with procmail. ## ~/.procmailrc MAILDIR=/home/seymour/mail LOGFILE=/home/seymour/logs/procmail TODAY=`date +%Y-%m` :0 ic * ? test ! -d $TODAY | mkdir -p $TODAY && chmod 0700 $TODAY # - sort high traffic lists into monthly sections -

Re: archiving mailboxes each month

1999-08-18 Thread Chris Gushue
Gerald Oskoboiny ([EMAIL PROTECTED]) wrote: > On Wed, Aug 18, 1999 at 09:35:20PM -0230, Chris Gushue wrote: > > Is there a way to archive mailboxes at the beginning of every month (or > > some other period) like Pine does? Just after a couple weeks, my > > debian-user mailbox (mbox) is 3.6 MB with

Re: archiving mailboxes each month

1999-08-18 Thread Gerald Oskoboiny
On Wed, Aug 18, 1999 at 09:35:20PM -0230, Chris Gushue wrote: > Is there a way to archive mailboxes at the beginning of every month (or > some other period) like Pine does? Just after a couple weeks, my > debian-user mailbox (mbox) is 3.6 MB with over 1200 messages. As the > mailbox gets bigger, M

Re: archiving mailboxes each month

1999-08-18 Thread Shao Zhang
Hi, I wrote a script for myself to rotate the sent-mail folder. I guess you can easily to modify it to rotate other folders as well. Just modify the variables at the beginning and put it in /etc/cron.monthly(debian only). Hope this helps... Shao.

Re: archiving mailboxes each month

1999-08-18 Thread Fairlight
On Wed, Aug 18, 1999 at 09:35:20PM -0230, Chris Gushue wrote: > Is there a way to archive mailboxes at the beginning of every month (or > some other period) like Pine does? Just after a couple weeks, my > Any solution would be great, not necessarily a mutt-specific one Try logrotate. I don't kn