Re: Managing mailboxes with fixed prefix

2002-06-21 Thread Jussi Ekholm

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Robert Ian Smit [EMAIL PROTECTED] wrote:

 On Sat, Jun 08, 2002 at 12:39:11PM +0300, Jussi Ekholm wrote:
 I've set Procmail to sort every mailing list into a different folder,
 thus mutt-users goes to =mutt-users. And mutt-dev goes to =mutt-dev.
 And all debian-* lists are sorted the same way, too. Then I have some
 local mailboxes, like =logcheck, =cron and so on. And every read mail
 goes to =archive/same_named_folder. I'm pretty satisfied with it, and
 it's pretty logical. For me, at least. :-)
 
 I would use your system if it wasn't for large volume lists like
 debian-user. When I don't read mail for say 24 hours there are
 perhaps 200 to 300 new messages in debian-user. If I want to clear
 messages quickly, but avoid deleting stuff that I want to keep for
 reference or a reply, I open IN-* to see all new mail for that list.
 From there it goes either to =* or I delete it. After that I open =*
 and can focus on messages that need further attention.

I'm subscribed to large volume lists (not as large as debian-users,
tho!). Still, I check the interesting looking headers straight from the
mailbox Procmail puts them without moving mails from particular
IN-folder to one where the interesting stuff would go. 

Maybe your system is clearer and better, but I've just accustomed myself
to this; all mail for mutt-users goes to =mutt-users and such forth.
Sometimes the mailbox can get pretty fscking big, but then I just eye
through the headers and mark threads, which doesn't seem interesting,
read and it goes to =archive/mutt-users. 

 Does anyone keep everything from a list like debian-user on their
 hard-drive to have a local archive? I can imagine doing something
 like that, because searching the web-based archives is a pain.
 Is this a practical solution in regards to the size of the mailbox
 (ie. disk usage and speed of searching)?

I'll create bzipped tarballs from my archive directory once it's got
big enough. Then I store it in my hard drive and maybe some day move
to portable media like CD-ROM. My bzipped archive archive (:-)) is now a
bit over 21M and the current ~/Mail/archive 30M. This is the way I
manage my mails. :-)

- -- 
Jussi Ekholm  --  [EMAIL PROTECTED]  --  http://erppimaa.ihku.org/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9E3MmAtEARxQQCB4RAoI1AJ0VD/ms4Sd8YlhJ6gJC2nsh4AdDXwCeLnuZ
JePoZSfLl++m3kDkCkWS8CU=
=yJPA
-END PGP SIGNATURE-



Re: Managing mailboxes with fixed prefix

2002-06-08 Thread Jussi Ekholm

David T-G [EMAIL PROTECTED] wrote:

 ...and then Jussi Ekholm said...
 This is probably a stupid question, but I'll ask it anyway because it
 has been bothering me since I first subscribed to mutt-user. ;-)
 
 Not stupid :-)

Yeah! Didn't someone say, that:

  There is no stupid questions, there is only stupid people.

And wasn't that someone our dear mimbari, Draal, in Babylon 5? :-D

 What's the thing with mailboxes with filename starting with IN
 
 It's just a convention, rather than anything as lofty as a standard,
 and when folks see it they often take it up for themselves.

Ah, I see. Then, I use a little different sorting methods and folder
names. ;-) I don't have any folder, which would contain some string
which would imply that the mail is coming in -- except 'inbox', of
course.

 When I started working with email I simply used =F.* for 'f'olders
 that caught list mail; my mutt-users (and mutt-rpm and mutt-announce,
 BTW) mail comes into =F.mutt

I've set Procmail to sort every mailing list into a different folder,
thus mutt-users goes to =mutt-users. And mutt-dev goes to =mutt-dev.
And all debian-* lists are sorted the same way, too. Then I have some
local mailboxes, like =logcheck, =cron and so on. And every read mail
goes to =archive/same_named_folder. I'm pretty satisfied with it, and
it's pretty logical. For me, at least. :-)

 You can also check back in the archives for various posts talking
 about organizing mail folders and such. Lots of people have tried
 various methods, each with their merits but none sufficiently perfect
 to take over the world :-)

Hehe, I know what you mean. :-)

I have to admit; I'm the kind of guy, who wants to organize
*everything*. So, I'm constantly modifying my ~/.muttrc and every other
possible thing. My next big project is to fully re-organize the
keymappings of Slrn. Mutt comes next. :-)

-- 
Jussi Ekholm [EMAIL PROTECTED] | GNU/Linux user number 269376
http://erppimaa.cjb.net/~ekhowl/   | GnuPG Public Key ID:  1410081E



msg28751/pgp0.pgp
Description: PGP signature


Re: Managing mailboxes with fixed prefix

2002-06-08 Thread Robert Ian Smit

On Sat, Jun 08, 2002 at 12:39:11PM +0300, Jussi Ekholm wrote:

 I've set Procmail to sort every mailing list into a different folder,
 thus mutt-users goes to =mutt-users. And mutt-dev goes to =mutt-dev.
 And all debian-* lists are sorted the same way, too. Then I have some
 local mailboxes, like =logcheck, =cron and so on. And every read mail
 goes to =archive/same_named_folder. I'm pretty satisfied with it, and
 it's pretty logical. For me, at least. :-)

I would use your system if it wasn't for large volume lists like
debian-user. When I don't read mail for say 24 hours there are
perhaps 200 to 300 new messages in debian-user. If I want to clear
messages quickly, but avoid deleting stuff that I want to keep for
reference or a reply, I open IN-* to see all new mail for that list.
From there it goes either to =* or I delete it. After that I open =*
and can focus on messages that need further attention.

By the way I also have ~/Mail/archive/*. So a message I want to keep
for eternity has been in three different mailboxes read/controlled
by mutt. Thank god for mutt this isn't the nightmare I would have
perceived it to be just a couple of weeks ago. At the time I was
using Win/Eudora for mail. Handling every message three times in a
mailer like that would drive me crazy.

Does anyone keep everything from a list like debian-user on their
hard-drive to have a local archive? I can imagine doing something
like that, because searching the web-based archives is a pain.
Is this a practical solution in regards to the size of the mailbox
(ie. disk usage and speed of searching)?

Bob



msg28758/pgp0.pgp
Description: PGP signature


Re: Managing mailboxes with fixed prefix

2002-06-08 Thread Andre Berger

* Robert Ian Smit [EMAIL PROTECTED], 2002-06-08 10:23 -0400:
 On Sat, Jun 08, 2002 at 12:39:11PM +0300, Jussi Ekholm wrote:
[on archiving]
 Does anyone keep everything from a list like debian-user on their
 hard-drive to have a local archive? I can imagine doing something
 like that, because searching the web-based archives is a pain.
 Is this a practical solution in regards to the size of the mailbox
 (ie. disk usage and speed of searching)?

I use mbox format (faster than Maildir) mailboxes, and a combination
of scoring and copying to archive what I consider to be important.

Essentially, the scoring:

set index_format=%4C %2M%Z (%2N) %[%y%m%d] %-17.17F (%3l) %s
set score_threshold_delete=0
set score_threshold_flag=30
set score_threshold_read=15
unscore *
score '~A' 20
score '~=' -
score '~P|~p|~Q' 20
folder-hook . 'score ~=|(!(~p|~P|~Q|~F)~d14d) -'
# Flagged as ! is colored cyan
color index cyan default '~F'

This deletes all messages that are either duplicate or not related to
me or not flagged as important, if they are older than two weeks.

folder-hook . 'save-hook . =save.%B'

This saves messages to a folder with the same name as the current
folder but preceded by save. when you hit s

macro   index   \eS   1\n\eV^T~A\nT(~P|~p|~Q|~F)~r3w\n;s\n Delete old; 
archive 
macro   pager   \eS   q1\n\eV^T~A\nT(~P|~p|~Q|~F)~r3w\n;s\n Delete old; 
archive

When you hit Esc S, your surviving messages older than three weeks
are moved to the respective folder preceeded by save. as set above.
The only problem is if there are no messages. In this case mutt wants
to copy the first message in the folder, and I can't find a way
around that. That's why I've set

#ask for confirmation on moves
folder-hook . 'set move=ask-yes'

I hope this helps!

-Andre



msg28760/pgp0.pgp
Description: PGP signature


Re: Managing mailboxes with fixed prefix

2002-05-31 Thread Jussi Ekholm

Rocco Rutte [EMAIL PROTECTED] wrote:
 * [EMAIL PROTECTED] [05/28/02 04:41:37 CEST] wrote:
 In .muttrc I have: mailboxes +IN-foobarA +IN-foobarB
 and also: mbox-hook =IN-foorbarA =foobarA etc.
 
 You can use backticks to configure mutt by commands. Given
 that, use something like:
 
   mailboxes `ls -d ~/.mutt/IN.*`

This is probably a stupid question, but I'll ask it anyway because it
has been bothering me since I first subscribed to mutt-user. ;-)

What's the thing with mailboxes with filename starting with IN (whoa,
three with's in a row, $$ JACKPOT $$!)? Is it some sort of standard
for some mailbox format or what? I'd really want to know, so bear with
me...

-- 
Jussi Ekholm [EMAIL PROTECTED] | GNU/Linux user number 269376
http://erppimaa.cjb.net/~ekhowl/   | GnuPG Public Key ID:  1410081E



msg28417/pgp0.pgp
Description: PGP signature


Re: Managing mailboxes with fixed prefix

2002-05-31 Thread David T-G

Jussi, et al --

...and then Jussi Ekholm said...
% 
% Rocco Rutte [EMAIL PROTECTED] wrote:
%  * [EMAIL PROTECTED] [05/28/02 04:41:37 CEST] wrote:
%  In .muttrc I have: mailboxes +IN-foobarA +IN-foobarB
%  and also: mbox-hook =IN-foorbarA =foobarA etc.
...
% 
% This is probably a stupid question, but I'll ask it anyway because it
% has been bothering me since I first subscribed to mutt-user. ;-)

Not stupid :-)


% 
% What's the thing with mailboxes with filename starting with IN (whoa,
% three with's in a row, $$ JACKPOT $$!)? Is it some sort of standard
% for some mailbox format or what? I'd really want to know, so bear with
% me...

It's just a convention, rather than anything as lofty as a standard, and
when folks see it they often take it up for themselves.

When I started working with email I simply used =F.* for 'f'olders
that caught list mail; my mutt-users (and mutt-rpm and mutt-announce,
BTW) mail comes into =F.mutt, while my fcc copy is =mutt-users (or
=mutt-rpm).  When I started doing some organizing, I made 'd'irectories
like =D.UGA for school stuff and =D.work for work stuff (with, in fact
D.* directories thereunder for particular jobs, like =D.work/D.SAP for
SAP America or =D.PFE for Pfizer and so on), and I have F.* folders in
there for work-related mailing lists.  It's just another way to do the
same thing: keep a handle on the huge mess of email :-)

Were I using an =IN* structure, I'd then be more set up to have an =OUT
structure for posts to lists, too; at the moment I have a collision
between =support, where I put all generic support-related email I send
off to various companies, and [EMAIL PROTECTED] (a dorky name
for a mailing list if ever there were one!).  For now I've just directed
that list mail into my main freenet folder's fcc via a hook (which would
be required, in one way or another, for =OUT* anyway) but I'm thinking of
an =Lists directory where I have the F.* incoming and * outgoing folders
(old habits die hard :-)

You can also check back in the archives for various posts talking about
organizing mail folders and such.  Lots of people have tried various
methods, each with their merits but none sufficiently perfect to take
over the world :-)


% 
% -- 
% Jussi Ekholm [EMAIL PROTECTED] | GNU/Linux user number 269376
% http://erppimaa.cjb.net/~ekhowl/   | GnuPG Public Key ID:  1410081E


HTH  HAND

:-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!




msg28422/pgp0.pgp
Description: PGP signature


Re: Managing mailboxes with fixed prefix

2002-05-31 Thread Rocco Rutte

Hi,

* Jussi Ekholm [05/31/02 12:33:27 CEST] wrote:
 Rocco Rutte [EMAIL PROTECTED] wrote:
  * [EMAIL PROTECTED] [05/28/02 04:41:37 CEST] wrote:
  In .muttrc I have: mailboxes +IN-foobarA +IN-foobarB
  and also: mbox-hook =IN-foorbarA =foobarA etc.

  You can use backticks to configure mutt by commands. Given
  that, use something like:

mailboxes `ls -d ~/.mutt/IN.*`

 This is probably a stupid question, but I'll ask it anyway because it
 has been bothering me since I first subscribed to mutt-user. ;-)

Go ahead...

 What's the thing with mailboxes with filename starting with IN (whoa,
 three with's in a row, $$ JACKPOT $$!)? Is it some sort of standard
 for some mailbox format or what? I'd really want to know, so bear with
 me...

I've lots of files in ~/.mutt. So naming boxes where
procmail sorts mail in like 'IN.localpart_of_listaddress'
makes it easy to distinguish. Also, It makes it a lot easier
to set a the appropriate value for $mask so that only
INboxes are displayed.

And as a side note: I do not name my files like that, that's
the job of my cleanup shell script (which catches names of
subscribed lists from ~/.procmailrc and creates all the
setup for mutt).

Cheers, Rocco



Managing mailboxes with fixed prefix

2002-05-28 Thread robian

Hi,

I am new to mutt. Coming from Win/Eudora, I hope you can imagine it's quite a
transition. Still I can see why so many people are enthusiastic about this
application.

I have a question that I hope is easy to solve for experienced users.

In .muttrc I have: mailboxes +IN-foobarA +IN-foobarB  and also:
mbox-hook =IN-foorbarA =foobarA etc.

Now for every new mailbox I want to use, I need to edit .muttrc in at least two
locations. Is it possible, given the naming conventions, to have only one entry
for mailboxes and only one line with mbox-hook.

I know regexp exists but that's about is. 

I have subscribed to mutt-users, but have so far not received a confirmation or
other message from this list. So may I humbly ask for a reply to my private
email address in case my subscription doesn't work.

Thanks,
Bob.



Re: Managing mailboxes with fixed prefix

2002-05-28 Thread Rocco Rutte

Hi,

* [EMAIL PROTECTED] [05/28/02 04:41:37 CEST] wrote:
 I am new to mutt. Coming from Win/Eudora, I hope you can
 imagine it's quite a transition. Still I can see why so
 many people are enthusiastic about this application.

For good reasons...

 I have a question that I hope is easy to solve for
 experienced users.

 In .muttrc I have: mailboxes +IN-foobarA +IN-foobarB
 and also: mbox-hook =IN-foorbarA =foobarA etc.

 Now for every new mailbox I want to use, I need to edit
 .muttrc in at least two locations. Is it possible, given
 the naming conventions, to have only one entry for
 mailboxes and only one line with mbox-hook.

You can use backticks to configure mutt by commands. Given
that, use something like:

  mailboxes `ls -d ~/.mutt/IN.*`

and a short shell script which will do the mbox-hooks.

Cheers, Rocco.