Re: Temporarily deactivate auto_view

2001-10-18 Thread Volker Moell

Rob 'Feztaa' Park wrote:

 Also, what is the _effective_ difference between sourcing a file, and
 writing some kind of mutt-script to toggle a bunch of options? I don't
 actually see one :)

I think: way better clearness.

See for example the following situation: Using different identities via

   macro index   F11:source ~/.mutt/private.rc\n
   macro index   F12:source ~/.mutt/business.rc\n
   
(I don't like folder-hooks for that).  Because I need another default
send-hook in each of my identities, I have to put all my send-hooks into
both of these .rc files (together with the unhook send-hook at the
beginning of these .rc files).  Some of these hooks are the same, and I
didn't want to edit two files parallel, so I make another one
general-hooks.rc which is sourced in the identity .rc's. And so on an so
on...

Sometimes I'm just wondering, if I have set or unset some feature.  To
have a single muttrc (IMHO) would be more comfortable to have an
overview to all.  When debugging your mutt configuration you have to
go through a lot of files in the worst case - I don't really like this.
When asking friends for help on some mutt questions, I would rather send
them my muttrc instead of a huge tarball.

In bash  friends.  you have the possibility to source lot's of files,
too.  But do you split off your ~/.bashrc into a dozen or more pieces?
I don't.

When supporting scripting options (variables, if), (at least) I would
write my muttrc a little bit better readable, and better debuggable.


 Mutt is perfect the way it is, IMNSHO :)

I don't think it's perfect.  It's just good. :-)

And I really don't want to start another fame war (I think there were a
lot about it) - this should only be my very-IMHO-answer of your question.


Greetings,

-volker

-- 
  http://die-Moells.de/  *  http://Stama90.de/  *  http://ScriptDale.de/

Ask not for whom the telephone bell tolls ... if thou art in the
bathtub, it tolls for thee.

 PGP signature


1.3.23 libiconv/HP-UX 10.20 question

2001-10-18 Thread Lutz Jaenicke

Hi!

I have just update my mutt-1.2.5i installation (with charmaps) to
1.3.23i. While everything else seems to work nicely, I have a problem
when displaying characters beyond ASCII.
I have installed libiconv-1.7.

When viewing Mails with foreign characters in it in a dtterm
(environment variable LANG=C.iso88591), umlauts etc are displayed
in numeric transcription (e.g. \360 instead of an a-umlaut).
When LANG is not being set, single character representation is chosen,
but the actual display does hardly match the correct character.
Setting iconv-hook following the example for HP-UX 10.20 does not make
a difference.

I could not find an explanation of the mechanisms in mutt/doc or the libiconv
distribution. How should this thing be set up?

Many thanks in advance,
Lutz
-- 
Lutz Jaenicke [EMAIL PROTECTED]
BTU Cottbus   http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus  Fax. +49 355 69-4153



[OT] gpg multiple keyrings

2001-10-18 Thread Ailbhe Leamy

OK, I have seen a bunch of people say that they use multiple keyrings.
This strikes me as an excellent idea. I, however, am a newbie to gpg
and an idiot to boot, and so I have two points of failure.

1) how to get mutt to file keys in the correct keyring?
2) how to move keys from the wrong keyring to the right one?

Ailbhe

-- 
Homepage: http://ailbhe.ossifrage.net/



Re: 1.3.23 libiconv/HP-UX 10.20 question

2001-10-18 Thread Thomas Roessler

On 2001-10-18 11:42:46 +0200, Lutz Jaenicke wrote:

When viewing Mails with foreign characters in it in a dtterm 
(environment variable LANG=C.iso88591), umlauts etc are displayed 
in numeric transcription (e.g. \360 instead of an a-umlaut). When 
LANG is not being set, single character representation is chosen, 
but the actual display does hardly match the correct character. 
Setting iconv-hook following the example for HP-UX 10.20 does not 
make a difference.

What does mutt set the $charset variable to?

-- 
Thomas Roesslerhttp://log.does-not-exist.org/



Re: 1.3.23 libiconv/HP-UX 10.20 question

2001-10-18 Thread Lutz Jaenicke

On Thu, Oct 18, 2001 at 12:31:59PM +0200, Thomas Roessler wrote:
 On 2001-10-18 11:42:46 +0200, Lutz Jaenicke wrote:
 
 When viewing Mails with foreign characters in it in a dtterm 
 (environment variable LANG=C.iso88591), umlauts etc are displayed 
 in numeric transcription (e.g. \360 instead of an a-umlaut). When 
 LANG is not being set, single character representation is chosen, 
 but the actual display does hardly match the correct character. 
 Setting iconv-hook following the example for HP-UX 10.20 does not 
 make a difference.
 
 What does mutt set the $charset variable to?

Is there a way to get the list of variables as currently set?
I did not find a command to get this list (mutt -v only delivers
the compile time options). In Muttrc it is not set (default shall
be ).

Best regards,
Lutz
-- 
Lutz Jaenicke [EMAIL PROTECTED]
BTU Cottbus   http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus  Fax. +49 355 69-4153



Re: 1.3.23 libiconv/HP-UX 10.20 question

2001-10-18 Thread René Clerc

* Lutz Jaenicke [EMAIL PROTECTED] [18-10-2001 12:57]:

| Is there a way to get the list of variables as currently set?

I'm not sure whether you can get a list, but you can check a specific
variable by typing:

:set ?variable

So, in this case that would be :set ?charset

HTH,

-- 
René Clerc  - ([EMAIL PROTECTED])

Toto, I have a feeling we're not in Kansas anymore.
-Dorothy

 PGP signature


Re: 1.3.23 libiconv/HP-UX 10.20 question

2001-10-18 Thread Thomas Roessler

On 2001-10-18 12:56:06 +0200, Lutz Jaenicke wrote:

Is there a way to get the list of variables as currently set? 

No.

-- 
Thomas Roesslerhttp://log.does-not-exist.org/





Re: 1.3.23 libiconv/HP-UX 10.20 question

2001-10-18 Thread Lutz Jaenicke

On Thu, Oct 18, 2001 at 12:59:36PM +0200, Ren? Clerc wrote:
 * Lutz Jaenicke [EMAIL PROTECTED] [18-10-2001 12:57]:
 
 | Is there a way to get the list of variables as currently set?
 
 I'm not sure whether you can get a list, but you can check a specific
 variable by typing:
 
 :set ?variable
 
 So, in this case that would be :set ?charset

Ah. That works. So we have
  LANG=C.iso89951  charset=iso-8895-1
  LANG not set charset=roman8

Best regards,
Lutz
-- 
Lutz Jaenicke [EMAIL PROTECTED]
BTU Cottbus   http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus  Fax. +49 355 69-4153

 PGP signature


error in mutt over R.H. 6.2

2001-10-18 Thread Jose Luis

Hi:
In my server, when use mutt the system say:

Error al enviar mensaje, proceso hijo termino 70 (Internal error.).

Error sending message, child process dead 70 (Internal error).

Which is the problem?


Regards
J.L.Sánchez





Re: 1.3.23 libiconv/HP-UX 10.20 question

2001-10-18 Thread Thomas Roessler

On 2001-10-18 13:16:37 +0200, Lutz Jaenicke wrote:

Ah. That works. So we have
  LANG=C.iso89951  charset=iso-8895-1
  LANG not set charset=roman8

Mh.  I don't understand why you are seeing the numerical 
representation with LANG=C.iso88591...

Please make sure that the following match:

- The character set of the screen font you use.
- The character set in the LANG and LC_CTYPE environment variables.
- Mutt's charset variable.
- The characters your keyboard sends through the terminal to mutt.

Once that's the case, everything should work nicely.

-- 
Thomas Roesslerhttp://log.does-not-exist.org/

 PGP signature


Re: VVV NNTP patch -- small comment

2001-10-18 Thread Jerome De Greef

* David Champion ([EMAIL PROTECTED]) wrote:
 On 2001.10.17, in [EMAIL PROTECTED],
   Jerome De Greef [EMAIL PROTECTED] wrote:
  
  It will only retrieve the groups list once. Then remove all newgroups you
  don't need from your newsrc file and you're all set.
  The only disadvantage of this is that it will not show the number of new
  posting for each newsgroup you've subscribed too in the newsgroups browser.
 
 The problem (for me) is that although the newsrc format allows selection
 of subscribed and unsubscribed groups, this NNTP patch doesn't
 differentiate them in that it downloads overviews for all groups,
 whether they're subscribed or not. [I think this is what Matej's problem
 is, too -- not just reading the newsrc, but actually grabbing the
 headers/threads for each one.] This is s-l-o-w and unnecessary. A user

I don't know what version of the patch you use (I use the latest) but
here it
only retrieves headers/theads for the groups I'm subscribed.

Jerome

-- 
+---+
|   'the panorama of the city is wrong  |
|   in fact the city seems to be gone!' |
| the clash, stop the world, 1980   |
+---+



Re: Converting from mbox - Maildir/

2001-10-18 Thread Manuel Hendel

On Mon, Aug 06, 2001 at 07:08:43PM -0400, Kyle Knack wrote:
 If you're using multiple Maildirs, such as with procmail, you also may
 want to do 'cat mbox|formail -i|procmail' after you have updated your

This is not working for me. If I execute the same as shown above, I
just get the formail help page.

 .procmailrc to filter to the new Maildirs.  This is how I did mine, and
 it worked fine.  It also retains your mbox completely intact just in
 case something goes wrong ;)
 
 Kyle
 
 * Nelson D. Guerrero [EMAIL PROTECTED] [010806 16:19]:
 Date: Mon, 6 Aug 2001 16:15:01 -0400
 From: Nelson D. Guerrero [EMAIL PROTECTED]
 To: Mutt Users [EMAIL PROTECTED]
 Subject: Re: Converting from mbox - Maildir/
 User-Agent: Mutt/1.3.20i
 
 * On Mon Aug 06, Jean-Sebastien Morisset wrote in [mutt-users]: 
 - I've been using mutt v1.2.5 in mbox mode for a while now (500MB for
 - ~/Mail), but for compatibility reasons, I have to start using Maildir.
 - Does anyone know how I can convert all my mbox directories and files to
 - the Maildir format? I have quite a few directories, sub-directories, etc.
 - 
 - Thanks,
 - js.
 - -- 
 - Jean-Sebastien Morisset, Sr. UNIX Administrator [EMAIL PROTECTED]
 - Personal Homepage http://jsmoriss.mvlan.net/; UNIX, Internet, 
 - Homebrewing, Cigars, PCS, PalmOS, CP2020 and other Fun Stuff...
 - This is Linux Country. On a quiet night you can hear Windows NT reboot!
 -
 
 I made this change a couple of weeks ago using: 
 
 http://www.qmail.org/mbox2maildir
 
 
 
 --
 Nelson D. Guerrero
 
 
 -- 
 Kyle Knack
 ([EMAIL PROTECTED])



Re: .mail_aliases

2001-10-18 Thread David T-G

Hi, all --

William, before I forget I should note that you should send messages to
[EMAIL PROTECTED] instead of @gbnet; while mutt.org is hosted at gbnet
and the address sometimes leaks through, it's not the one to use...

...and then William Park said...
% On Tue, Oct 16, 2001 at 04:08:35PM -0600, Dave Price wrote:
%  #! /bin/bash
%  /usr/bin/perl -i -p -e 's/\r//g' $1
% 
% Sorry to cut in the middle of thread... but if you're running Linux,
% then read up on 'fromdos' and 'todos'.

Or Sun's unix2dos and dosx2unix :-)


% 
% -- 
% William Park, Open Geometry Consulting, [EMAIL PROTECTED]
% 8 CPU cluster, Linux (Slackware), Python, LaTeX, Vim, Mutt, Tin


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


 PGP signature


Re: .mail_aliases

2001-10-18 Thread David T-G

Will --

...and then Will Yardley said...
% Jerome De Greef wrote:
% 
%  Did you try removing the trailing ^M (dos CR). In vim you can use
%  :%s/$\r//g to remove them but I think it only work with vim 6.x
% 
% this is ONE thing that i use pico for - opening a file in pico and

Bah.


% saving it will remove the CRs (make sure to use '-w' so lines don't
% wrap).  i would assume that nano would also do this for those of you
% consumed by your hate of UW.

No comment :-)

In vim:

  vim filename
  :set fileformat=unix
  :wq

Ta-daa!  Even easier than the :%s magic available in any vi or clone.


% 
% w
% 
% -- 
% GPG Public Key:
% http://infinitejazz.net/will/pgp/


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


 PGP signature


Re: 1.3.23 libiconv/HP-UX 10.20 question

2001-10-18 Thread Lutz Jaenicke

On Thu, Oct 18, 2001 at 01:35:23PM +0200, Thomas Roessler wrote:
 On 2001-10-18 13:16:37 +0200, Lutz Jaenicke wrote:
 
 Ah. That works. So we have
  LANG=C.iso89951  charset=iso-8895-1
  LANG not set charset=roman8
 
 Mh.  I don't understand why you are seeing the numerical 
 representation with LANG=C.iso88591...
 
 Please make sure that the following match:
 
 - The character set of the screen font you use.
 - The character set in the LANG and LC_CTYPE environment variables.
 - Mutt's charset variable.
 - The characters your keyboard sends through the terminal to mutt.
 
 Once that's the case, everything should work nicely.

Hmm. I have just recompiled mutt with --enable-locales-fix (as proposed in
http://www.math.fu-berlin.de/~guckes/mutt/#faqs) and it seems to
work now...

Best regards,
Lutz
-- 
Lutz Jaenicke [EMAIL PROTECTED]
BTU Cottbus   http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus  Fax. +49 355 69-4153

 PGP signature


Re: IMAP subfolder update flag

2001-10-18 Thread David T-G

Rob, et al --

...and then Rob 'Feztaa' Park said...
% On Tue, Oct 16, 2001 at 08:37:47PM -0400, Justin R. Miller (dis)graced my inbox with:
%   I'm not sure how feasable this is in an IMAP environment, but I was
%   having a similar problem with my local mail folders... What I did to
...
%   anything else had at least one new message.
%  
%  Just adding the subfolders to your mailboxes list works fine -- I used
%  Mutt with IMAP for months after sorting server-side with procmail.
% 
% That doesn't work for local mbox folders, though :)

Why not?


% 
% If you leave a folder with new messages, mutt will 'forget' that there
% are new messages in it -- very annoying.

No, no, no...  You're confusing your definition of new with mutt's
definition of new again.  Until Steven says he means something else,
we'll assume that he's doing it our way :-)


% 
% -- 
% Rob 'Feztaa' Park
% [EMAIL PROTECTED]
% --
% vuja de:
%   The feeling that you've *never*, *ever* been in this situation before.


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


 PGP signature


Re: [OT] gpg multiple keyrings

2001-10-18 Thread David T-G

Ailbhe --

...and then Ailbhe Leamy said...
% OK, I have seen a bunch of people say that they use multiple keyrings.
% This strikes me as an excellent idea. I, however, am a newbie to gpg
% and an idiot to boot, and so I have two points of failure.
% 
% 1) how to get mutt to file keys in the correct keyring?

I think that folder-hooks resetting the gpg receive command will do the
trick.  This is on my list, but I haven't done it; I will report to the
list when I have.


% 2) how to move keys from the wrong keyring to the right one?

See my recent script attachment; it's quite hard-coded and was meant to
be a knock-off, but it's proven quite useful (which helps explain why
your #1 has not been tackled already).


% 
% Ailbhe
% 
% -- 
% Homepage: http://ailbhe.ossifrage.net/


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


 PGP signature


Re: .mail_aliases

2001-10-18 Thread Thomas E. Dickey

On Thu, 18 Oct 2001, David T-G wrote:

 In vim:

   vim filename
   :set fileformat=unix
   :wq

vile filename
:set-u
:wq


 Ta-daa!  Even easier than the :%s magic available in any vi or clone.

-- 
T.E.Dickey [EMAIL PROTECTED]
http://invisible-island.net
ftp://invisible-island.net




Re: Temporarily deactivate auto_view

2001-10-18 Thread darren chamberlain

Volker Moell [EMAIL PROTECTED] said something to this effect on 10/18/2001:
 Rob 'Feztaa' Park wrote:
  Also, what is the _effective_ difference between sourcing a file, and
  writing some kind of mutt-script to toggle a bunch of options? I don't
  actually see one :)
 
 I think: way better clearness.

Are you saying that scripting is clearer than multiple files?  If
you are, I think I disagree.

 When debugging your mutt configuration you have to go through
 a lot of files in the worst case - I don't really like this.

When debugging, though, you shouldn't be debugging the entire
muttrc (at least not at first); you should be testing/debugging
specific parts of it, to minimize unintentional interactions, and
then integrate the new changes into the working setup.

 In bash  friends.  you have the possibility to source lot's of files,
 too.  But do you split off your ~/.bashrc into a dozen or more pieces?
 I don't.

$ ls -loF ~/.bash*
-rw---1 darren   4865 Sep 19 12:29 .bashrc
-rw---1 darren 30 Sep 13 14:07 .bash_logout
-rw---1 darren 30 Sep 13 14:07 .bash_profile
drwx--1 darren512 Feb 16  2001 .bash/
-rw---1 darren   1444 Oct 12 08:03 .bash/functions
-rw---1 darren   6542 Mar 21  2001 .bash/history
-rw---1 darren409 Jun 15  2000 .bash/path
-rw---1 darren409 Jun 15  2000 .bash/prompt
-rw---1 darren409 Jun 15  2000 .bash/ssh

All of these do what you would think they do.

Similarly:

$ ls -loF ~/.mutt*
-rw---   1 darren  1273 Oct  1 16:17 aliases
drwx--   2 darren   512 Sep 13 15:13 bin/
-rw---   1 darren  1954 Oct 17 09:01 colors
-rw---   1 darren 35523 Oct 18 10:05 fortunes
-rw---   1 darren   933 Oct  9 14:52 lists
-rw---   1 darren   526 Sep 20 10:08 mailcap
-rw---   1 darren  4989 Oct 18 10:03 muttrc
-rw---   1 darren  1487 Oct  9 14:55 scores
-rw---   1 darren   595 Sep 13 15:41 trash
-rw---   1 darren  1221 Oct  3 12:22 vimrc

These also all do what you would expect.  If the problem is with
scoring, or coloring, for example, I know exactly which files to
fiddle with and resource.  Breaking these things up greatly
simplifies debugging and trying out new things.

 When asking friends for help on some mutt questions, I would
 rather send them my muttrc instead of a huge tarball.

Small files are also easier to share with other people; I don't
have to remove all my work-specific aliases, for example, if I
want to post some of my config to a mailing list or put it on the
Net.

Just my thoughts.

(darren)

-- 
It's not that I'm afraid to die, I just don't want to be there when
it happens.
-- Woody Allen



my_hdr From: problems

2001-10-18 Thread Drew Raines

I fear this is something obvious, but I've tried everything I can think
of in both 1.2.5 and 1.3.22.1.

I can't get my_hdr From: to display anything other than

   Drew Raines [EMAIL PROTECTED]

Everything else works:

   my_hdr Organization:
   my_hdr X-Some-Other-Header:

..just not the From: one.  I even created a near-blank .muttrc, the only
contents being a completely different header:

   my_hdr From: [EMAIL PROTECTED] (Not Even My Name)

and it still displayed the former.

What am I missing?

-- 
Drew



Re: my_hdr From: problems

2001-10-18 Thread darren chamberlain

Drew Raines [EMAIL PROTECTED] said something to this effect on 10/18/2001:
 I fear this is something obvious, but I've tried everything I can think
 of in both 1.2.5 and 1.3.22.1.
 
 I can't get my_hdr From: to display anything other than
 
Drew Raines [EMAIL PROTECTED]
 
 Everything else works:
 
my_hdr Organization:
my_hdr X-Some-Other-Header:
 
 ..just not the From: one.  I even created a near-blank .muttrc, the only
 contents being a completely different header:
 
my_hdr From: [EMAIL PROTECTED] (Not Even My Name)
 
 and it still displayed the former.
 
 What am I missing?

I think you have to do:

  my_hdr From [EMAIL PROTECTED] (Not Even My Name)

not From:.

(darren)

-- 
In general, things are not what people want them to be. They just are
what they are. That's a general property of things, and that's causing
lots of trouble for people in all kinds of contexts.
-- Bob Dylan



Re: my_hdr From: problems

2001-10-18 Thread Not Even My Name

On Thu, Oct 18, 2001 at 11:32:53AM -0500, Drew Raines wrote:
 
 I can't get my_hdr From: to display anything other than
 
Drew Raines [EMAIL PROTECTED]
 
my_hdr From: [EMAIL PROTECTED] (Not Even My Name)
 
my_hdr From: Not Even My Name [EMAIL PROTECTED]

-- 
(T.) Michael Sanders internet: [EMAIL PROTECTED]
Physics Department   URL: http://www-personal.umich.edu/~sanders
University of Michigan   phone: 734/936-0799
Ann Arbor, MI 48109-1120 FAX: 734/764-6843



Re: my_hdr From: problems

2001-10-18 Thread Drew Raines

* darren chamberlain [EMAIL PROTECTED]:

 I think you have to do:
 
   my_hdr From [EMAIL PROTECTED] (Not Even My Name)
 
 not From:.

Tells me it's an invalid header field if I do that.

-- 
Drew



Re: my_hdr From: problems

2001-10-18 Thread Drew Raines

* Not Even My Name [EMAIL PROTECTED]:

 my_hdr From: Not Even My Name [EMAIL PROTECTED]

But why can't I use the other style?  Elkins uses it in the 1.2.5
documentation every time he mentions an alias or my_hdr.

Technically I should be able to put whatever I want, no?  It shouldn't even
have to include an email address...

-- 
Drew



mbox problem

2001-10-18 Thread Manuel Hendel

Hallo,

I'm using the maildir mailbox format since today. I'm also using
procmail to filter my mails in different folders. Now I want that the
read mails of some folders go in one mbox and some others in another
mbox. I tried mbox-hook and folder-hook. But it didn't work. Has
anybody an idea how this could work?

Thanks,
Manuel



maildir and compressed folders

2001-10-18 Thread Manuel Hendel

Is it possible to use the compressed folders patch with maildir. What
happens than. Does every mail gets compressed, or how does this work
with maildir?

Thanks,
Manuel



Re: maildir and compressed folders

2001-10-18 Thread David Champion

On 2001.10.18, in [EMAIL PROTECTED],
Manuel Hendel [EMAIL PROTECTED] wrote:
 Is it possible to use the compressed folders patch with maildir. What
 happens than. Does every mail gets compressed, or how does this work
 with maildir?

This patch really isn't particular to compression; it creates hooks
for commands to execute before opening and after closing a folder. The
default hooks are for compression of an mbox file, but it seems you
could reset them as a tar+gz command instead, and store your maildir as
a compressed tarball. (You could also compress each message within, but
I'd personally favor the tarball.) It's just a matter of writing the
correct open/close hooks.

One of these days I'm going to get around to using it for encrypting
certain folders.

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



Re: maildir and compressed folders

2001-10-18 Thread David T-G

Manuel --

...and then Manuel Hendel said...
% Is it possible to use the compressed folders patch with maildir. What
% happens than. Does every mail gets compressed, or how does this work
% with maildir?

The way the compressed folder is recognized is through hooks.  For an
mbox folder doing compression, I have

  # compressed folders
  open-hook \\.gz$ gzip -cd %f  %t
  open-hook \\.z$ gzip -cd %f  %t
  close-hook \\.gz$ gzip -c %t  %f
  close-hook \\.z$ gzip -c %t  %f
  append-hook \\.gz$ gzip -c %t  %f
  append-hook \\.z$ gzip -c %t  %f

in my muttrc file.  As you can see, mutt knows what to do with a *.gz or
*.z file based on the open- and close- and append- hooks.

You should be able to define your hooks any way you wish for your
maildir.  I'd imagine you'd probably use tar with gzip to bundle and
compress the whole thing something like

  open-hook \\.tar.gz$ cd /tmp ; tar xpfz %f
  close-hook \\.tar\\.gz$ cd /tmp ; tar cpfz %f %t

(though this is untested and I certainly don't know how mutt will handle
the temp dir and the file names and the real location path just for
starters) to tell mutt how to open a .tar.gz box (go to the temp dir
and extract from the actual file) and then close it later (go to the
temp dir and tar up the real file with what's in the temp file).

In theory, you should be able to open and/or close and/or append any sort
of mailbox this way; one idea that has crossed my mind is a encrypted
mail folder (tar.pgp) but I haven't played with it and it requires an
unencrypted temp file anyway...

% 
% Thanks,
% Manuel


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!


 PGP signature


mbox question

2001-10-18 Thread Norm Matloff


I'm a big fan of mutt, and have a small Web tutorial on it, at

   http://heather.cs.ucdavis.edu/~matloff/mutt.html 

In my tutorial, which I wrote several years ago, I say:

   If  you  wish  to not have your messages moved from your original
   mail file, then include something like this:

  set mbox=/var/mail/matloff
   
   depending on where your original mail file is.

In the current version of mutt, is this still the best way to avoid
having marked-as-read messges moved to a separate mbox file?  I've
looked at the documentation and it *appears* to me that the answer is
yes, but I'd like to make sure.

I am not a subscriber to the mutt mailing list, so please reply to me at
[EMAIL PROTECTED]  Thanks very much.

Norm Matloff




Re: maildir and compressed folders

2001-10-18 Thread Dan Boger

On Thu, Oct 18, 2001 at 03:11:26PM -0400, David T-G wrote:
 In theory, you should be able to open and/or close and/or append any sort
 of mailbox this way; one idea that has crossed my mind is a encrypted
 mail folder (tar.pgp) but I haven't played with it and it requires an
 unencrypted temp file anyway...

nod... I used to do that for a while - the folders would get unencrypted
while you were reading them, but if someone got hold of your machine,
they wouldn't be able to access any (closed) folders...

the only problem was in appending msgs to mailboxes, since it had to
unencrypt/reencrypt, instead of just appending, like you can do with
gzip...

-- 
Dan Boger
[EMAIL PROTECTED]

 PGP signature


Re: mbox problem

2001-10-18 Thread Vineet Kumar

* Manuel Hendel ([EMAIL PROTECTED]) [011018 11:50]:
 Hallo,
 
 I'm using the maildir mailbox format since today. I'm also using
 procmail to filter my mails in different folders. Now I want that the
 read mails of some folders go in one mbox and some others in another
 mbox. I tried mbox-hook and folder-hook. But it didn't work. Has
 anybody an idea how this could work?

You just need mbox-hook. This is exactly what it's there for. From TFM:

  3.10.  Using Multiple spool mailboxes

  Usage: mbox-hook [!]pattern mailbox

  This command is used to move read messages from a specified mailbox to
  a different mailbox automatically when you quit or change folders.
  pattern is a regular expression specifying the mailbox to treat as a
  ``spool'' mailbox and mailbox specifies where mail should be saved
  when read.

  Unlike some of the other hook commands, only the first matching
  pattern is used (it is not possible to save read mail in more than a
  single mailbox).

Maybe you could show us the mbox-hook command you tried and we can help
figure out why it didn't seem to be working.

good times,

-- 
Vineet   http://www.anti-dmca.org
Unauthorized use of this .sig may constitute violation of US law.
echo Qba\'g gernq ba zr\! |tr 'a-zA-Z' 'n-za-mN-ZA-M'

 PGP signature


Re: mbox question

2001-10-18 Thread Suresh Ramasubramanian

Norm Matloff mutt [18/10/01 11:54 -0700]:
 I'm a big fan of mutt, and have a small Web tutorial on it, at
http://heather.cs.ucdavis.edu/~matloff/mutt.html 
 In my tutorial, which I wrote several years ago, I say:
If  you  wish  to not have your messages moved from your original
mail file, then include something like this:
   set mbox=/var/mail/matloff

set move=no

 I am not a subscriber to the mutt mailing list, so please reply to me at
 [EMAIL PROTECTED]  Thanks very much.

BTW, your howtos are the first thing I point newbies at.  They are excellent.

--srs




Re: mbox problem

2001-10-18 Thread Manuel Hendel

On Thu, Oct 18, 2001 at 03:13:36PM -0400, David T-G wrote:
 Manuel --
 
 ...and then Manuel Hendel said...
 % Hallo,
 
 Hello again!
 
 
 % 
 % I'm using the maildir mailbox format since today. I'm also using
 % procmail to filter my mails in different folders. Now I want that the
 
 Good!
 
 
 % read mails of some folders go in one mbox and some others in another
 % mbox. I tried mbox-hook and folder-hook. But it didn't work. Has
 % anybody an idea how this could work?
 
 I, for one, don't know that I really understand your question...  Can you
 provide some examples of what you'd like to have happen and what really
 happens as well as the relevant portion(s) of your .muttrc file?
 
I got the following mailboxes:

set folder=~/Mail

~/Mail/mailinglists/mutt# for mutt mailinglist
~/Mail/mailinglists/postfix # for postfix mailinglist
~/Mail/maildir  # for privat mails

~/Mail/archiv/  # a folder to archive mails

I need the following mbox-hooks:

mbox-hook mailinglists/mutt archiv/mutt
mbox-hook mailinglists/postfix archiv/postfix
mbox-hook maildir archiv/maildir


I hope this is what you mean.



Re: Converting from mbox - Maildir/

2001-10-18 Thread Manuel Hendel

On Thu, Oct 18, 2001 at 03:31:34PM +0200, Manuel Hendel wrote:
 On Mon, Aug 06, 2001 at 07:08:43PM -0400, Kyle Knack wrote:
  If you're using multiple Maildirs, such as with procmail, you also may
  want to do 'cat mbox|formail -i|procmail' after you have updated your
 
 This is not working for me. If I execute the same as shown above, I
 just get the formail help page.

I used 'cat mbox| formail -s procmail', this works.
 
  .procmailrc to filter to the new Maildirs.  This is how I did mine, and
  it worked fine.  It also retains your mbox completely intact just in
  case something goes wrong ;)
  
  Kyle
  
  * Nelson D. Guerrero [EMAIL PROTECTED] [010806 16:19]:
  Date: Mon, 6 Aug 2001 16:15:01 -0400
  From: Nelson D. Guerrero [EMAIL PROTECTED]
  To: Mutt Users [EMAIL PROTECTED]
  Subject: Re: Converting from mbox - Maildir/
  User-Agent: Mutt/1.3.20i
  
  * On Mon Aug 06, Jean-Sebastien Morisset wrote in [mutt-users]: 
  - I've been using mutt v1.2.5 in mbox mode for a while now (500MB for
  - ~/Mail), but for compatibility reasons, I have to start using Maildir.
  - Does anyone know how I can convert all my mbox directories and files to
  - the Maildir format? I have quite a few directories, sub-directories, etc.
  - 
  - Thanks,
  - js.
  - -- 
  - Jean-Sebastien Morisset, Sr. UNIX Administrator [EMAIL PROTECTED]
  - Personal Homepage http://jsmoriss.mvlan.net/; UNIX, Internet, 
  - Homebrewing, Cigars, PCS, PalmOS, CP2020 and other Fun Stuff...
  - This is Linux Country. On a quiet night you can hear Windows NT reboot!
  -
  
  I made this change a couple of weeks ago using: 
  
  http://www.qmail.org/mbox2maildir
  
  
  
  --
  Nelson D. Guerrero
  
  
  -- 
  Kyle Knack
  ([EMAIL PROTECTED])



Error opeining terminal:

2001-10-18 Thread Dan


I have been trying to install mutt with no success.
Running hp-ux 10.20 on 9000/725
My default terminal is 'hpterm' but I have
tried vt100 and xterm.
In all cases the mutt returns an error
'Error opening terminal: '
Any ideas on what to try.

Thanks,

Dan




Re: mbox problem

2001-10-18 Thread Vineet Kumar

* Manuel Hendel ([EMAIL PROTECTED]) [011018 12:52]:
 I got the following mailboxes:
 
 set folder=~/Mail
 
 ~/Mail/mailinglists/mutt# for mutt mailinglist
 ~/Mail/mailinglists/postfix # for postfix mailinglist
 ~/Mail/maildir  # for privat mails
 
 ~/Mail/archiv/  # a folder to archive mails
 
 I need the following mbox-hooks:
 

change these

 mbox-hook mailinglists/mutt archiv/mutt
 mbox-hook mailinglists/postfix archiv/postfix
 mbox-hook maildir archiv/maildir

to these:

mbox-hook mailinglists/mutt =archiv/mutt
mbox-hook mailinglists/postfix =archiv/postfix
mbox-hook maildir =archiv/maildir

the '=' sign is expanded to $folder. otherwise the directories are
relative the current working directory, which could be anything.

good times,

-- 
Vineet   http://www.anti-dmca.org
Unauthorized use of this .sig may constitute violation of US law.
echo Qba\'g gernq ba zr\! |tr 'a-zA-Z' 'n-za-mN-ZA-M'

 PGP signature


Re: Temporarily deactivate auto_view

2001-10-18 Thread Rob 'Feztaa' Park

On Thu, Oct 18, 2001 at 09:28:51AM +0200, Volker Moell (dis)graced my inbox with:
 Rob 'Feztaa' Park wrote:
  Also, what is the _effective_ difference between sourcing a file, and
  writing some kind of mutt-script to toggle a bunch of options? I don't
  actually see one :)
 
 I think: way better clearness.

Well, you could write comments in your .muttrc that explain what the
sourced files do.

 See for example the following situation: Using different identities via
 
macro index   F11:source ~/.mutt/private.rc\n
macro index   F12:source ~/.mutt/business.rc\n

 (I don't like folder-hooks for that).  Because I need another default
 send-hook in each of my identities, I have to put all my send-hooks into
 both of these .rc files (together with the unhook send-hook at the
 beginning of these .rc files).  Some of these hooks are the same, and I
 didn't want to edit two files parallel, so I make another one
 general-hooks.rc which is sourced in the identity .rc's. And so on an so
 on...
 
 Sometimes I'm just wondering, if I have set or unset some feature.  To
 have a single muttrc (IMHO) would be more comfortable to have an
 overview to all.  When debugging your mutt configuration you have to
 go through a lot of files in the worst case - I don't really like this.
 When asking friends for help on some mutt questions, I would rather send
 them my muttrc instead of a huge tarball.
 
 In bash  friends.  you have the possibility to source lot's of files,
 too.  But do you split off your ~/.bashrc into a dozen or more pieces?
 I don't.

You don't _have_ to split up your .muttrc. It's just a feature, and it
has it's uses. Personally my .muttrc is only split into three pieces:
One for all the general options and such that are loaded with mutt, one
with my aliases, and one with some scripts that need to be run often (a
script for generating some headers, etc).

 When supporting scripting options (variables, if), (at least) I would
 write my muttrc a little bit better readable, and better debuggable.

I suppose so. You say potato, I say potahto :)

  Mutt is perfect the way it is, IMNSHO :)
 
 I don't think it's perfect.  It's just good. :-)

Well, it's supposed to suck less than the other mail clients, right? :)

 And I really don't want to start another fame war (I think there were a
 lot about it) - this should only be my very-IMHO-answer of your question.

Ack, flame wars not good. I don't want a flame war, this is a friendly
discussion :)

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
Please take note:

 PGP signature


Re: Error opeining terminal:

2001-10-18 Thread Thomas Dickey

On Thu, Oct 18, 2001 at 01:05:20PM -0700, Dan wrote:
 
 I have been trying to install mutt with no success.
 Running hp-ux 10.20 on 9000/725
 My default terminal is 'hpterm' but I have
 tried vt100 and xterm.
 In all cases the mutt returns an error
 'Error opening terminal: '
 Any ideas on what to try.

you didn't tell what screen library you're using (HP curses, HP color-curses,
ncurses or slang).  Generally HPUX uses terminfo under curses - chattr can
show what shared libraries are used.  I'd do a strings of mutt and the
related libraries (if it wasn't apparent), looking for terminfo or termcap.

-- 
Thomas E. Dickey [EMAIL PROTECTED]
http://invisible-island.net
ftp://invisible-island.net



Re: IMAP subfolder update flag

2001-10-18 Thread Rob 'Feztaa' Park

On Thu, Oct 18, 2001 at 10:58:00AM -0400, David T-G (dis)graced my inbox with:
 %  Just adding the subfolders to your mailboxes list works fine -- I used
 %  Mutt with IMAP for months after sorting server-side with procmail.
 % 
 % That doesn't work for local mbox folders, though :)
 
 Why not?

Whoops, perhaps I was not clear. Procmail works fine, what I meant was,
simply defining an mbox with the mailbox command doesn't work, because
when you leave a folder with new mail, mutt forgets about it. And I feel
that mutt not telling me I have new mail when I do have new mail is a
problem :P

 % If you leave a folder with new messages, mutt will 'forget' that there
 % are new messages in it -- very annoying.
 
 No, no, no...  You're confusing your definition of new with mutt's
 definition of new again.  Until Steven says he means something else,
 we'll assume that he's doing it our way :-)

I know very well that mutt and I disagree on what is new mail and what
isn't. I also happen to know that I'm right, mutt is wrong, and I can
trick mutt into agreeing with me. :D

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
Any given program, when running, is obsolete.

 PGP signature


Re: my_hdr From: problems

2001-10-18 Thread Rob 'Feztaa' Park

On Thu, Oct 18, 2001 at 12:47:20PM -0500, Drew Raines (dis)graced my inbox with:
 * Not Even My Name [EMAIL PROTECTED]:
 
  my_hdr From: Not Even My Name [EMAIL PROTECTED]
 
 But why can't I use the other style?  Elkins uses it in the 1.2.5
 documentation every time he mentions an alias or my_hdr.
 
 Technically I should be able to put whatever I want, no?  It shouldn't even
 have to include an email address...
 
 -- 
 Drew

Actually, there is a variable that you use to set your From: header. Let
me see if I can dig it up...

set from=Rob 'Feztaa' Park [EMAIL PROTECTED]

:D

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
Don't you wish you had more energy... or less ambition?



Re: mbox problem

2001-10-18 Thread Rob 'Feztaa' Park

On Thu, Oct 18, 2001 at 12:35:38PM -0700, Vineet Kumar (dis)graced my inbox with:
 * Manuel Hendel ([EMAIL PROTECTED]) [011018 11:50]:
  Hallo,
  
  I'm using the maildir mailbox format since today. I'm also using
  procmail to filter my mails in different folders. Now I want that the
  read mails of some folders go in one mbox and some others in another
  mbox. I tried mbox-hook and folder-hook. But it didn't work. Has
  anybody an idea how this could work?
 
 You just need mbox-hook. This is exactly what it's there for. From TFM:
 
   3.10.  Using Multiple spool mailboxes
 
   Usage: mbox-hook [!]pattern mailbox
 
   This command is used to move read messages from a specified mailbox to
   a different mailbox automatically when you quit or change folders.
   pattern is a regular expression specifying the mailbox to treat as a
   ``spool'' mailbox and mailbox specifies where mail should be saved
   when read.
 
   Unlike some of the other hook commands, only the first matching
   pattern is used (it is not possible to save read mail in more than a
   single mailbox).
 
 Maybe you could show us the mbox-hook command you tried and we can help
 figure out why it didn't seem to be working.

I think the problem is that he's trying to use mbox-hooks for maildir
folders, and I'm not sure that that works. they are _mbox_-hooks, after
all :)

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
If you sow your wild oats, hope for a crop failure.

 PGP signature


conditional options in .muttrc

2001-10-18 Thread Michael P. Soulier

Hey people. 

I'm mounting the same home directory on several *nix boxes at work, and
there are a few options in my .muttrc that I'd like to be set depending on my
platform. I can take the output of a uname -s in a script and control most
options that way, but is there a built-in way for conditional options in my
.muttrc?

Thanks,

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED], GnuPG pub key: 5BC8BE08
Pretty soon, massive bloat is the industry standard and everyone is using
huge, buggy programs not even their developers can love.
-Eric S. Raymond, The Art of Unix Programming

 PGP signature


Re: Tag Multiple Attachments?

2001-10-18 Thread John P. Verel

That's what I do.  All that happens is the cursor moves to the next file
name.

The manual notes that typing upper case A allows for tagging and
attaching multiple messages (not files) and that works for me.  The
manual makes no mention of tagging files...only messages.

So, no luck here so far.
On 10/17/01, 05:43:40PM -0700, Igor Pruchanskiy wrote:
 On Wed 17 Oct 2001, John P. Verel wrote:
  Hi.  I sometimes want to attach multiple files from the same directory.
  I've tried to tag while in the attachment menu, but no luck.  Couldn't
  find anything in the on-line help.  The ? indicated t for tag in the
  attachment menu.  What am I missing.
 
 just hit t to tag an attachment, just like you tag messages
 
 igor
 
 -- 
 Uptime:  45 days, 17:57

-- 
John P. Verel
Norwalk, Connecticut



Re: Tag Multiple Attachments?

2001-10-18 Thread MuttER

On Thu, Oct 18, 2001 at 10:20:41PM -0400, John P. Verel wrote:
 That's what I do.  All that happens is the cursor moves to the next file
 name.
 
 The manual notes that typing upper case A allows for tagging and
 attaching multiple messages (not files) and that works for me.  The
 manual makes no mention of tagging files...only messages.
 
 So, no luck here so far.
 On 10/17/01, 05:43:40PM -0700, Igor Pruchanskiy wrote:
  On Wed 17 Oct 2001, John P. Verel wrote:
   Hi.  I sometimes want to attach multiple files from the same directory.
   I've tried to tag while in the attachment menu, but no luck.  Couldn't
   find anything in the on-line help.  The ? indicated t for tag in the
   attachment menu.  What am I missing.
  
  just hit t to tag an attachment, just like you tag messages
  
 
---end quoted text---

Works for me, don't even need 'upper case A'.  Lower case works fine, can
tag 't' individual, also 'T' by pattern.  MD 8+,  Linux 2.4.3-20mdk  mutt 1.3.23i
-- 
Pat Shanahan   Registered Linux User #207535
Registered at: http://counter.li.org



Re: Tag Multiple Attachments?

2001-10-18 Thread Shawn D. McPeek


Perhaps your t is bound to something other than tag-entry.  Perhaps
you're hitting q instead of Enter after tagging.  When you tag files,
it should place a * next to the listed permissions.  Does it at least do
that?  If not, your t is probably wrong.  If so, then just hit enter after
tagging everything and you should be good to go.

Shawn

Previously, John P. Verel wrote:
% That's what I do.  All that happens is the cursor moves to the next file
% name.
% 
% The manual notes that typing upper case A allows for tagging and
% attaching multiple messages (not files) and that works for me.  The
% manual makes no mention of tagging files...only messages.
% 
% So, no luck here so far.
% On 10/17/01, 05:43:40PM -0700, Igor Pruchanskiy wrote:
%  On Wed 17 Oct 2001, John P. Verel wrote:
%   Hi.  I sometimes want to attach multiple files from the same directory.
%   I've tried to tag while in the attachment menu, but no luck.  Couldn't
%   find anything in the on-line help.  The ? indicated t for tag in the
%   attachment menu.  What am I missing.
%  
%  just hit t to tag an attachment, just like you tag messages



Re: Tag Multiple Attachments?

2001-10-18 Thread John P. Verel

Well, I just tried something, with interesting result.  I went to the
attach menu and pressed t twice.  No * showed up next to the files when
I typed t.  BUTwhen I went back to the compose menu, the tagged
files showed up in the attachments section.  So... the problem is
that the * is not showing up in the attachment menu.  I'll have a look
at the menu in the morning to see about this.  But if anyone has a
suggestion on changing the way the attachment screen is laid out, I'd
love to hear it!

Thanks.

John
On 10/18/01, 08:31:43PM -0700, Shawn D. McPeek wrote:
 
 Perhaps your t is bound to something other than tag-entry.  Perhaps
 you're hitting q instead of Enter after tagging.  When you tag files,
 it should place a * next to the listed permissions.  Does it at least do
 that?  If not, your t is probably wrong.  If so, then just hit enter after
 tagging everything and you should be good to go.
 
 Shawn
 
 Previously, John P. Verel wrote:
 % That's what I do.  All that happens is the cursor moves to the next file
 % name.
 % 
 % The manual notes that typing upper case A allows for tagging and
 % attaching multiple messages (not files) and that works for me.  The
 % manual makes no mention of tagging files...only messages.
 % 
 % So, no luck here so far.
 % On 10/17/01, 05:43:40PM -0700, Igor Pruchanskiy wrote:
 %  On Wed 17 Oct 2001, John P. Verel wrote:
 %   Hi.  I sometimes want to attach multiple files from the same directory.
 %   I've tried to tag while in the attachment menu, but no luck.  Couldn't
 %   find anything in the on-line help.  The ? indicated t for tag in the
 %   attachment menu.  What am I missing.
 %  
 %  just hit t to tag an attachment, just like you tag messages

-- 
John P. Verel
Norwalk, Connecticut



Re: conditional options in .muttrc

2001-10-18 Thread David T-G

Michael --

...and then Michael P. Soulier said...
% Hey people. 
% 
% I'm mounting the same home directory on several *nix boxes at work, and
% there are a few options in my .muttrc that I'd like to be set depending on my
% platform. I can take the output of a uname -s in a script and control most
% options that way, but is there a built-in way for conditional options in my
% .muttrc?

Not really -- a mutt scripting language has been discussed many times
before, and may actually come to fruition one day -- but you can
reference shell environment variables in your muttrc file.  At the very
least you could have your main muttrc include a

  source $HOME/.mutt/muttrc-$MACHNAME

where you set MACHNAME in your .profile or .login; you might even be able
to directly use

  source $HOME/.mutt/muttrc-`uname -n`

and skip the env var (but then run the uname command every time you read
your muttrc; you may be obsessive enough, as am I, to want to avoid that
extra few microseconds ;-)


% 
% Thanks,

HTH  HAND


% 
% Mike
% 
% -- 
% Michael P. Soulier [EMAIL PROTECTED], GnuPG pub key: 5BC8BE08
% Pretty soon, massive bloat is the industry standard and everyone is using
% huge, buggy programs not even their developers can love.
% -Eric S. Raymond, The Art of Unix Programming




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


 PGP signature


Re: IMAP subfolder update flag

2001-10-18 Thread David T-G

Rob --

...and then Rob 'Feztaa' Park said...
% On Thu, Oct 18, 2001 at 10:58:00AM -0400, David T-G (dis)graced my inbox with:
%  %  Just adding the subfolders to your mailboxes list works fine -- I used
%  %  Mutt with IMAP for months after sorting server-side with procmail.
%  % 
%  % That doesn't work for local mbox folders, though :)
%  
%  Why not?
% 
% Whoops, perhaps I was not clear. Procmail works fine, what I meant was,
% simply defining an mbox with the mailbox command doesn't work, because

Ah.


% when you leave a folder with new mail, mutt forgets about it. And I feel

Ahem...


% that mutt not telling me I have new mail when I do have new mail is a
% problem :P

If that were really the case, I'd agree :-)


% 
%  % If you leave a folder with new messages, mutt will 'forget' that there
%  % are new messages in it -- very annoying.
%  
%  No, no, no...  You're confusing your definition of new with mutt's
%  definition of new again.  Until Steven says he means something else,
%  we'll assume that he's doing it our way :-)
% 
% I know very well that mutt and I disagree on what is new mail and what
% isn't. I also happen to know that I'm right, mutt is wrong, and I can
% trick mutt into agreeing with me. :D

*snort*  You mean you know that mutt is right but you abuse its forgiving
capabilities to make it give you what you want even if it's outside of
the design spec ;-)


% 
% -- 
% Rob 'Feztaa' Park
% [EMAIL PROTECTED]
% --
% Any given program, when running, is obsolete.

Ain't that the truth!


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


 PGP signature


Re: mbox problem

2001-10-18 Thread Manuel Hendel

On Thu, Oct 18, 2001 at 03:07:42PM -0700, Vineet Kumar wrote:
 * Manuel Hendel ([EMAIL PROTECTED]) [011018 12:52]:
  I got the following mailboxes:
  
  set folder=~/Mail
  
  ~/Mail/mailinglists/mutt# for mutt mailinglist
  ~/Mail/mailinglists/postfix # for postfix mailinglist
  ~/Mail/maildir  # for privat mails
  
  ~/Mail/archiv/  # a folder to archive mails
  
  I need the following mbox-hooks:
  
 
 change these
 
  mbox-hook mailinglists/mutt archiv/mutt
  mbox-hook mailinglists/postfix archiv/postfix
  mbox-hook maildir archiv/maildir
 
 to these:
 
 mbox-hook mailinglists/mutt =archiv/mutt
 mbox-hook mailinglists/postfix =archiv/postfix
 mbox-hook maildir =archiv/maildir
 
 the '=' sign is expanded to $folder. otherwise the directories are
 relative the current working directory, which could be anything.
 
 good times,
 
I tried it this way, but mutt said ~/Mail/archiv/mutt is not a
mailbox. Where's the problem. I can't get it.
I also tried another way, using folder-hooks, this works for
maildir, but not for mailinglists/mutt, mutt doesn't even say
anything.

Manuel