Re: big mailbox v.s. rotated mailbox; thoughts

2002-01-03 Thread David T-G

Rob --

...and then Feztaa said...
% 
% Alas! David T-G spake thus:
%  In fact, I often don't save the original message, but only my outbound
%  reply with his message quoted in it.  I can follow the conversation well
%  enough iand save *some* disk space (yes, I already save a lot of mail, but
%   
% This, from the man who has what? 11 years of archived mail? Or is it 12
% years now? :)

Shut up.  Just shut up.  I said I try to be good!


Happy New Year to all (except Rob)

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg22155/pgp0.pgp
Description: PGP signature


Re: big mailbox v.s. rotated mailbox; thoughts

2002-01-03 Thread Rob 'Feztaa' Park

Alas! David T-G spake thus:
 %  In fact, I often don't save the original message, but only my outbound
 %  reply with his message quoted in it.  I can follow the conversation well
 %  enough iand save *some* disk space (yes, I already save a lot of mail, but
 %   
 % This, from the man who has what? 11 years of archived mail? Or is it 12
 % years now? :)
 
 Shut up.  Just shut up.  I said I try to be good!
 
 Happy New Year to all (except Rob)

Who pooped in your corn flakes? ;)

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
I used to be convinced that MicroSquish shipped crap because they
simply didn't give a flying fuck, as long as the sheep kept buying
their shit.  Now, I'm convinced that MicroSquish really does ship
the best products they are capable of writing, and *that's* tragic.
-- jcr



msg22158/pgp0.pgp
Description: PGP signature


Re: big mailbox v.s. rotated mailbox; thoughts

2002-01-02 Thread Rob 'Feztaa' Park

Alas! Rob 'Feztaa' Park spake thus:
  - It's useful to be able to search for every message a specific person has
  ever sent me.
 
 True, but I don't often need to look for old messages. In fact, I don't
 even know why I keep archives. ROFL :)

Ah, I remember now. I don't like the way mutt handles new mail in my
mboxes, so I set up a bunch of mbox hooks. That way I automatically know
that any mbox that has a nonzero size contains new mail. And I just
figured it'd be nice to have my old mail stored by date, instead of all
in one huge file.

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
Don't knock masturbation, it's sex with someone I love.
-- Woody Allen, from 'Annie Hall', 1977



msg22085/pgp0.pgp
Description: PGP signature


Re: big mailbox v.s. rotated mailbox; thoughts

2002-01-02 Thread Philip Mak

I just had another thought: Might it make sense to store sent mail
together with normal messages?

A fundamental problem is that mutt's Search feature cannot search over
multiple mailboxes. Thus, if I want to review a series of e-mails that I
exchanged with someone about a specific topic, then it may be useful to be
able to see both sides of the conversation.

I'm thinking that it might make sense to keep only *new* mail in
~/Maildir/, though. For me, an e-mail message that I receive may represent
something that I have to do (e.g. reply to the e-mail, do what the person
in the e-mail told me to do, etc.). So, I could remove messages from my
inbox only when I have done the action that is associated with that
e-mail. This makes it less likely that I'll forget to do something (which
has happened before; I can be quite forgetful at times).

So perhaps:

- New mail is sent to ~/Maildir/.
- Messages that I have sent go to =old.
- I save messages to =old when I'm done with them.
- A daily cron job scans =old and moves 3-month-old messages into
  =archive.




Re: big mailbox v.s. rotated mailbox; thoughts

2002-01-02 Thread Rob 'Feztaa' Park

Alas! David T-G spake thus:
 In fact, I often don't save the original message, but only my outbound
 reply with his message quoted in it.  I can follow the conversation well
 enough iand save *some* disk space (yes, I already save a lot of mail, but
  
This, from the man who has what? 11 years of archived mail? Or is it 12
years now? :)

 one tries to be good :-) and some search time; if I quote little or none
 of the original, THEN I drop it into =username with its reply.

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
C:\WINDOWS;C:\WINDOWS\GO;C:\PC\CRAWL



msg22142/pgp0.pgp
Description: PGP signature


Re: big mailbox v.s. rotated mailbox; thoughts

2001-12-28 Thread Markus Boelter


msg.pgp
Description: PGP message


Re: big mailbox v.s. rotated mailbox; thoughts

2001-12-28 Thread Nicolas Rachinsky

On Thu, Dec 27, 2001 at 09:41:11PM +0100, Michael Wagner [EMAIL PROTECTED] wrote:
 On Donnerstag, 27. Dez. 2001 at 18:33:53, Thomas Hurst wrote:
  I have a script scan all my mailspools (I use mbox) and move anything
  older than a week to archive/year/mailbox/month-year-mailbox -
  this keeps my active mail easily to hand, and searching for older mail's
  as easy as I need it to be.
 
 I have for this a folder-hook. It looks like this:
 
 folder-hook =mutt-users$ 'push T~r2w!~F\n\;s'

I have a similar folder-hook:

folder-hook 
=(ntbugtraq|bugtraq|fbsd-de-questions|fbsd-security|fbsd-chat|fbsd-arch|fbsd-hackers|fbsd-stable|mutt(-devel)?|gnupg)$
 push 
\tag-pattern~d2w\nuntag-pattern~F|~D|~O|~N\ntag-prefix-condsave-message\n\nsync-mailboxfirst-entrynext-newredraw-screen\

 And also I have a save-hook for this:
 
 save-hook ~L mutt-users =Archiv/mutt-users-archiv

I set the save-hooks in many folder-hooks. But the effect is similar. 

 The only thing, which does not work correct, is, then I enter the
 folder mutt-users and there is no message which is older than 2
 weeks, mutt always wants to save the message on which the cursor
 stays. How can I change my folder-hook, that mutt don't show such a
 behaviour.

I have written a small patch to address this problem, look for
tag-prefix-cond in the folder-hook. You can find the patch on my
homepage (www.rachinsky.de). It is tested with FreeBSD Port of
1.3.23.2.

 PS: Some time ago I also worked with a script which invoked grepmail,
 but now I think, it's better to make it with mutt.

I want to use a small script to move very old mails to compressed
folders, it should work, but it is still untested. I attach it.

Nicolas



move_mail.sh
Description: Bourne shell script


big mailbox v.s. rotated mailbox; thoughts

2001-12-27 Thread Philip Mak

I was thinking about the merits of keeping one large mailbox, versus
keeping a mailbox that's rotated monthly/quarterly/yearly. Some people
prefer to keep one huge mailbox, and some other people prefer to rotate
it. I'd like to explore the reasons why people do it one way and not the
other.

Reasons I keep my mail in one large mailbox:

- I'm too lazy to go look up how to rotate my mail.

- It's useful to be able to search for every message a specific person has
ever sent me.

- The only performance degradation that I've noticed as a result of having
a 1 message mailbox is that mutt takes 8 seconds to start. However, I
run screen anyway (it's useful since my dialup connection disconnects me
randomly, too). A l (limit) command executes within 1 second, even on my
huge mailbox.

Then again, the current performance degradation could get bad when I
accumulate another year or two of mail. :)

My main complaint against rotated mailboxes is the anomaly that occurs
right after a rotation cycle: My folder would be almost empty, and if I
want to search for something I'll have to search for it twice - once in
the current folder, and once in the previous period's folder.

A fine-grained rotation scheme might work better; e.g. I could have a
primary folder that holds the last 3 months of messages, and an archive
folder that holds everything else. Every day, a cronjob looks through
~/Maildir/cur for individual files that are 3 months old and moves them to
~/mail/old/cur (is file modification time always the same as the time the
message was received?). In that case, I have a reasonably small main
folder that I can probably find everything I need to in (saves performance
over having one huge folder), and if I need to go back further I can
access the larger archive folder.




Re: big mailbox v.s. rotated mailbox; thoughts

2001-12-27 Thread Thomas Hurst

* Philip Mak ([EMAIL PROTECTED]) wrote:

 A fine-grained rotation scheme might work better; e.g. I could have
 a primary folder that holds the last 3 months of messages, and an
 archive folder that holds everything else.

I have a script scan all my mailspools (I use mbox) and move anything
older than a week to archive/year/mailbox/month-year-mailbox -
this keeps my active mail easily to hand, and searching for older mail's
as easy as I need it to be.

This is pretty similar to your idea, only it uses mbox and saves to a
more structured format.

-- 
Thomas 'Freaky' Hurst  -  [EMAIL PROTECTED]  -  http://www.aagh.net/
-
I couldn't remember when I had been so disappointed.  Except perhaps the
time I found out that MMs really DO melt in your hand.
-- Peter Oakley



Re: big mailbox v.s. rotated mailbox; thoughts

2001-12-27 Thread Benjamin Smith

On Thu, Dec 27, 2001 at 06:33:53PM +, Thomas Hurst wrote:
 * Philip Mak ([EMAIL PROTECTED]) wrote:
 
  A fine-grained rotation scheme might work better; e.g. I could have
  a primary folder that holds the last 3 months of messages, and an
  archive folder that holds everything else.
 
 I have a script scan all my mailspools (I use mbox) and move anything
 older than a week to archive/year/mailbox/month-year-mailbox -
 this keeps my active mail easily to hand, and searching for older mail's
 as easy as I need it to be.
 
 This is pretty similar to your idea, only it uses mbox and saves to a
 more structured format.

How does it scan your mailboxes, does it use grep mail or some other
methods? If its short could you perhaps post it?

TIA

 
 -- 
 Thomas 'Freaky' Hurst  -  [EMAIL PROTECTED]  -  http://www.aagh.net/
 -
 I couldn't remember when I had been so disappointed.  Except perhaps the
 time I found out that MMs really DO melt in your hand.
   -- Peter Oakley

-- 
Benjamin Smith [EMAIL PROTECTED], [EMAIL PROTECTED]



msg21956/pgp0.pgp
Description: PGP signature


Re: big mailbox v.s. rotated mailbox; thoughts

2001-12-27 Thread Michael Wagner

On Donnerstag, 27. Dez. 2001 at 18:33:53, Thomas Hurst wrote:
 
 I have a script scan all my mailspools (I use mbox) and move anything
 older than a week to archive/year/mailbox/month-year-mailbox -
 this keeps my active mail easily to hand, and searching for older mail's
 as easy as I need it to be.

Hello Thomas,

I have for this a folder-hook. It looks like this:

folder-hook =mutt-users$ 'push T~r2w!~F\n\;s'

And also I have a save-hook for this:

save-hook ~L mutt-users =Archiv/mutt-users-archiv

The only thing, which does not work correct, is, then I enter the
folder mutt-users and there is no message which is older than 2
weeks, mutt always wants to save the message on which the cursor
stays. How can I change my folder-hook, that mutt don't show such a
behaviour.

CU Michael

PS: Some time ago I also worked with a script which invoked grepmail,
but now I think, it's better to make it with mutt.

-- 
Registred Linux-User: 183712
GnuPG Key: B3F038DC 
GnuPG-fingerprint: 21A7 B384 6629 F320 8AFC  A2B5 4071 E5C3 B3F0 38DC



Re: big mailbox v.s. rotated mailbox; thoughts

2001-12-27 Thread Thomas Hurst

* Benjamin Smith ([EMAIL PROTECTED]) wrote:

 How does it scan your mailboxes, does it use grep mail or some other
 methods? If its short could you perhaps post it?

It reads the file line by line looking for ^From lines.

It's not very well written, but it works.  I really should make use of
exceptions :)

If you really want to see it, it's at
http://freak.aagh.net/code/mailarchive.  It's written in Ruby, of
course.

Try not to laugh, it was written in a hurry :)

It really needs to keep the file access and modification times the same
too, otherwise it breaks mutt's new mail code.

-- 
Thomas 'Freaky' Hurst  -  [EMAIL PROTECTED]  -  http://www.aagh.net/
-
...his disciples lead him in; he just does the rest.
-- Tommy



Re: big mailbox v.s. rotated mailbox; thoughts

2001-12-27 Thread Skylar Thompson

On Thu, Dec 27, 2001 at 12:29:34PM -0500, Philip Mak wrote:
 I was thinking about the merits of keeping one large mailbox, versus
 keeping a mailbox that's rotated monthly/quarterly/yearly. Some people
 prefer to keep one huge mailbox, and some other people prefer to rotate
 it. I'd like to explore the reasons why people do it one way and not the
 other.

Another thing you could do is rotate your mail boxes, and then create a
hook for mutt that calls a script that cats all your mail boxes together.
You could look at that, and then the script/some other action would delete
it. This would have the advantage of having fast open times when you want
them, and easy archiving when you want it.

-- 
-- Skylar Thompson ([EMAIL PROTECTED])



msg21963/pgp0.pgp
Description: PGP signature


Re: big mailbox v.s. rotated mailbox; thoughts

2001-12-27 Thread Rob 'Feztaa' Park

On Thu, Dec 27, 2001 at 12:29:34PM -0500, Philip Mak (dis)graced my inbox with:
 Reasons I keep my mail in one large mailbox:
 
 - I'm too lazy to go look up how to rotate my mail.

That's no excuse. Maybe the next time I drive by your house, I'll be too
lazy to stop and I'll just drive right through your house...

 - It's useful to be able to search for every message a specific person has
 ever sent me.

True, but I don't often need to look for old messages. In fact, I don't
even know why I keep archives. ROFL :)

 - The only performance degradation that I've noticed as a result of having
 a 1 message mailbox is that mutt takes 8 seconds to start. However, I
 run screen anyway (it's useful since my dialup connection disconnects me
 randomly, too). A l (limit) command executes within 1 second, even on my
 huge mailbox.

Well, whatever the limit is, mutt still has to open a folder with ten
thousand messages in it. Personally, I think it's cluttered as heck. I
like to have a small amount of mail in my inbox at any given time.

 My main complaint against rotated mailboxes is the anomaly that occurs
 right after a rotation cycle: My folder would be almost empty, and if I
 want to search for something I'll have to search for it twice - once in
 the current folder, and once in the previous period's folder.

Well, it just sucks to be you, doesn't it? :)

 A fine-grained rotation scheme might work better; e.g. I could have a
 primary folder that holds the last 3 months of messages, and an archive
 folder that holds everything else. Every day, a cronjob looks through
 ~/Maildir/cur for individual files that are 3 months old and moves them to
 ~/mail/old/cur (is file modification time always the same as the time the
 message was received?). In that case, I have a reasonably small main
 folder that I can probably find everything I need to in (saves performance
 over having one huge folder), and if I need to go back further I can
 access the larger archive folder.

That's interesting, I guess I wouldn't mind a setup like that. Here's
what I currently have, though, and I am happy with it:

 - procmail sorts all of my mail into various mboxes in ~/mail/
 - mbox hooks are setup to move read mail into
   ~/mail/archives/-MM-mbox-name

I think the main advantage to this is that if you don't rotate, you just
get a billion messages piled up, and your screen is always full of
messages when you go into that folder. With my way, the clutter is gone
and no matter what, the only messages you can see are new messages. If
you want to read the old messages, you go into the archives.

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
And 1.1.81 is officially BugFree(tm), so if you receive any
bug-reports on it, you know they are just evil lies.
-- Linus Torvalds



msg21967/pgp0.pgp
Description: PGP signature