Re: send-hook question

1999-08-06 Thread Christian Schult

Salvatore Greco wrote:

> I am having a syntax hassle with my send-hooks after and upgrade.
> 
> Below is a snippet of some of my send-hooks
> 
> -- [send-hooks from .muttrc]
> 
> send-hook '~A' 'set signature=~/.signature; my_hdr From: Salvatore Greco 
><[EMAIL PROTECTED]>; my_hdr Reply-To: [EMAIL PROTECTED]'

I'd suggest using . instead of ~A. The dot specifies a default when
no other pattern matches. ~A means "all mail" and later patterns
will not match.

> send-hook '~t abuse\@lagnet\.org\.za$' 'set signature=~/.sig.lagnet.abuse; my_hdr 
>From: LagNet Abuse Team <[EMAIL PROTECTED]>; my_hdr Reply-To: [EMAIL PROTECTED]'



christian

-- 
No courtesy copy (CC:), please. I'm reading here!



Changing mailbox (tab-tab-tab-oops)

1999-08-06 Thread torben fjerdingstad

Note: You will need qmail maildirs and a mailboxes line in .muttrc
to understand my questions below.

I get a list of all my (qmail) maildirs by pressing 'c' and
then three tabs. Now, the cursor is at the number 1 maildir
(the one at the top).

First question:
How do I sort the listing to the same order as they are
in .muttrc, in the mailboxes line?

Second question:
Now, for every maildir where there is new mail, the is an
'N' flag.
Therefore, I would expect that pressing tab again, would
make the cursor jump to the next maildir line which has
new mail. It doesnt. Instead I get a directory listing
one level down in the maildir at the cursor, which
I find pretty useless:

->  1   drwxr-xr-x 147 unitfj   users   24576 Aug 06 12:35 ../
2   drwx--  2 unitfj   users  105472 Aug 06 12:19 cur/
3   drwx--  2 unitfj   users   21504 Aug 06 12:24 new/
4   drwx--  2 unitfj   users1024 Aug 06 12:24 tmp/

How do I, instead, make the 4th. tab move the cursor to the next
maildir with has new mail?

Third question:
What is the use of the listing I get at the 2nd tab press?

P.S. I have 23 maildirs.

-- 
Med venlig hilsen / Regards 
Netdriftgruppen / Network Management Group
UNI-C  

Tlf./Phone   +45 35 87 89 41Mail:  UNI-C
Fax. +45 35 87 89 90   Bygning 304
E-mail: [EMAIL PROTECTED]   DK-2800 Lyngby



tag-reply and In-Reply-To:

1999-08-06 Thread David Thorburn-Gundlach

Hi, folks --

I would think that tagging multiple messages and replying would
put multiple message-id in the In-Reply-To: field for proper
threading, but it seems (as I see with edit-hdrs) that only the first
one (perhaps as sorted in my index) is referenced.  On the other hand,
I thought that I had previously seen multiple references, so I think
that it can be done (how's that for conclusive proof? :-)


What's the real scoop?  TIA

:-D
-- 
David Thorburn-Gundlach * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED] Helping out at Pfizer
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
"Why2k?  Well, I didn't think at the time that I could charge any more!"
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: tag-reply and In-Reply-To:

1999-08-06 Thread Wolfgang W. Baumann

Referring to David Thorburn-Gundlach <[EMAIL PROTECTED]> on Aug 06, 1999:

| I would think that tagging multiple messages and replying would
| put multiple message-id in the In-Reply-To: field for proper
| threading, but it seems (as I see with edit-hdrs) that only the first
| one (perhaps as sorted in my index) is referenced.  On the other hand,
| I thought that I had previously seen multiple references, so I think
| that it can be done (how's that for conclusive proof? :-)

I can only commnet on the last sentence:
you get multiple references when you reply to a reply [to a
reply [to a reply ... ]]

Have A Nice Day,
Wolfgang (not good at regex's)
-- 
Wolfgang W. Baumann  / CFD Consultant @ ZIB Berlin  /  mailto:[EMAIL PROTECTED]



Re: removing a color entry

1999-08-06 Thread Vincent Lefevre

On Thu, Aug 05, 1999 at 22:59:35 +0200, Stefan Troeger wrote:
> What a about something like
> 
> folder-hook .  ""
> folder-hook the_folder "color body white black regexp"
> 
> ?

This doesn't work.

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - PhD student in Computer Science
Web:  or  - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, Faits divers insolites, etc.



Re: tag-reply and In-Reply-To:

1999-08-06 Thread Aaron Schrab

At 06:54 -0400 06 Aug 1999, David Thorburn-Gundlach <[EMAIL PROTECTED]> wrote:
> I would think that tagging multiple messages and replying would
> put multiple message-id in the In-Reply-To: field for proper
> threading, but it seems (as I see with edit-hdrs) that only the first
> one (perhaps as sorted in my index) is referenced.  On the other hand,
> I thought that I had previously seen multiple references, so I think
> that it can be done (how's that for conclusive proof? :-)

While mutt doesn't put multiple Message-IDs in the In-Reply-To header,
it does include the IDs of all the tagged messages in the References
header.  Putting them all in the In-Reply-To header would be of
questionable value, since there isn't really a good method of looking at
it header and determinig which <> enclosed bits are Message-IDs and
which are email addresses.  About the best that can be easily done is to
assume that the first one is a Message-ID and it's very rare to have any
others.

-- 
Aaron Schrab [EMAIL PROTECTED]  http://www.execpc.com/~aarons/
 He's not dead, he's electroencephalographically challenged. 

 PGP signature


Re: removing a color entry

1999-08-06 Thread Stefan Troeger

Hi,

On Fri, Aug 06, 1999 at 15:18 +0200, Vincent Lefevre wrote:

> > What a about something like
> > 
> > folder-hook .  ""
> > folder-hook the_folder "color body white black regexp"
> 
> This doesn't work.

Why not? I just tried this

folder-hook .  "color body blue white  ."
folder-hook Inbox  "color body white black ."

It worked.

Ciao,
Stefan



editing a message

1999-08-06 Thread erik

hi,

here is another easy question.  I want to edit a message i have saved
in a mail box (for example a joke or some kind of forward).  I want to
get rid of all of the extra headers and such.  I use the 'e' key, but
it brings up my editor and wants to resend the message.  I just want
to edit the bosy - and possibly the subject line and then save it back
to my mailbox to send later  or just keep.  Is there a way to do this?

TIA,

-e

-- 
erik <[EMAIL PROTECTED]>

"Can I pour you a beer, Mr. Peterson?"
"A little early isn't it, Woody?"
"For a beer?"
"No, for stupid questions."
 --A scene from the hit show "Cheers"



Re: removing a color entry

1999-08-06 Thread Vincent Lefevre

On Fri, Aug 06, 1999 at 16:49:21 +0200, Stefan Troeger wrote:
> folder-hook .  "color body blue white  ."
> folder-hook Inbox  "color body white black ."
> 
> It worked.

No. Quoted text is no longer colored.

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - PhD student in Computer Science
Web:  or  - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, Faits divers insolites, etc.



reply-to-sender ?

1999-08-06 Thread E Forrest Carpenter

Caveat: This may be in the FAQ/Manual and I overlooked it.

Situation: A particular mailing list sets a Reply-To: of the list address,
so that replies are pointed back to the list.  If I set reply_to=ask-yes,
then I can either reply to the list, or to the sender at my discretion.
However, 99% of the time I'd like to reply to the list, and so having
the prompt each time is (mildly) annoying.

Question: Is there a "reply-to-sender" (un)bound command I can use to
force mutt to ignore the reply-to if I set reply_to=yes?

TIA.

- Forrest

-- 
  Forrest Carpenter
  "And remember kids: place firecracker in[EMAIL PROTECTED]
 open area.  Light fuse.  Run away."  http://spite.com/



Re: editing a message

1999-08-06 Thread Mikko Hänninen

erik <[EMAIL PROTECTED]> wrote on Fri, 06 Aug 1999:
> I use the 'e' key, but
> it brings up my editor and wants to resend the message.  I just want
> to edit the bosy - and possibly the subject line and then save it back
> to my mailbox to send later  or just keep.  Is there a way to do this?

Select "w" (write message) from the post-editing menu.  After that you
need to quit without sending.  Incidentally, if you want to edit the
headers, you can use "E" (edit with headers).

(Note that these are the keybindings for me, they might be different for
you...)


HTH,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
My *other* account has an interesting signature quote.



Re: reply-to-sender ?

1999-08-06 Thread Lars Hecking

E Forrest Carpenter writes:
> Caveat: This may be in the FAQ/Manual and I overlooked it.
> 
> Situation: A particular mailing list sets a Reply-To: of the list address,
> so that replies are pointed back to the list.  If I set reply_to=ask-yes,
> then I can either reply to the list, or to the sender at my discretion.
> However, 99% of the time I'd like to reply to the list, and so having
> the prompt each time is (mildly) annoying.
> 
> Question: Is there a "reply-to-sender" (un)bound command I can use to
> force mutt to ignore the reply-to if I set reply_to=yes?
 
 If you tell mutt which mailing lists you reveive mail from (see
 ``lists'' command), you can use the list-reply function, which
 is bound to L bei default.



Re: send-hook question

1999-08-06 Thread David DeSimone

Christian Schult <[EMAIL PROTECTED]> wrote:
>
> > send-hook '~A' '[...]'
> 
> I'd suggest using .  instead of ~A.  The dot specifies a default when
> no other pattern matches.  ~A means "all mail" and later patterns will
> not match.

Where did you get this information?  As far as I'm aware, '.' and '~A'
are treated identically by Mutt.  Furthermore, Mutt does not stop
matching on the first pattern-match, but runs ALL send-hooks that match. 
Indeed, this is fundamental to getting default-behavior send-hooks to
work!

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
Convex Division  |PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



Re: reply-to-sender ?

1999-08-06 Thread David DeSimone

E Forrest Carpenter <[EMAIL PROTECTED]> wrote:
>
> Situation:  A particular mailing list sets a Reply-To:  of the list
> address, so that replies are pointed back to the list.

You can tell Mutt about the mailing list using the 'lists' command, and
'set ignore_list_reply_to', so that Mutt will ignore the Reply-To if it
points to a mailing list address.  That means your 'r' key will always
reply back to the sender, and your 'L' key will always reply back to the
list.  If you get in the habit of using 'L' when you're reading a
mailing list, you'll always do the right thing.  :)

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
Convex Division  |PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



Re: reply-to-sender ?

1999-08-06 Thread E Forrest Carpenter

> > > Situation:  A particular mailing list sets a Reply-To:  of the list
> > > address, so that replies are pointed back to the list.
> > 
> > You can tell Mutt about the mailing list using the 'lists' command, and
> > 'set ignore_list_reply_to', so that Mutt will ignore the Reply-To if it
> > points to a mailing list address.  That means your 'r' key will always
> > reply back to the sender, and your 'L' key will always reply back to the
> > list.  If you get in the habit of using 'L' when you're reading a
> > mailing list, you'll always do the right thing.  :)
> 
> Thanks, that clears up for me the reason that 'lists' was suggested in
> the first place.  Now I just have to figure out how to make mutt display
> the sender in the index, and not "To 'mutt-users'".  Back to the manual.

...which I just found in the manual, replacing the %L part of 
index_format with %F.  Thanks for all the help!

-- 
  Forrest Carpenter
  "And remember kids: place firecracker in[EMAIL PROTECTED]
 open area.  Light fuse.  Run away."  http://spite.com/



Re: reply-to-sender ?

1999-08-06 Thread E Forrest Carpenter

> > Caveat: This may be in the FAQ/Manual and I overlooked it.
> > 
> > Situation: A particular mailing list sets a Reply-To: of the list address,
> > so that replies are pointed back to the list.  If I set reply_to=ask-yes,
> > then I can either reply to the list, or to the sender at my discretion.
> > However, 99% of the time I'd like to reply to the list, and so having
> > the prompt each time is (mildly) annoying.
> > 
> > Question: Is there a "reply-to-sender" (un)bound command I can use to
> > force mutt to ignore the reply-to if I set reply_to=yes?
>  
>  If you tell mutt which mailing lists you reveive mail from (see
>  ``lists'' command), you can use the list-reply function, which
>  is bound to L bei default.

True, however, since procmail filters my mail into mailboxes per list,
having a mailbox full of "To 'mutt-users'" rather than a list of the
folks sending the messages isn't helpful, it's redundant.  Also, I'm
looking for a way to reply to the sender, not the list; list-reply
has nothing to do with that.

As a note, I tried putting the lists line in my .muttrc, and then
both 'r' (reply, which used the Reply-To: header) and 'L' (which 
replied to the list) did precisely the same thing.  Neither of which
is what I'm looking for.

I think I'm seeking a feature that doesn't exist.  But perhaps someone
on the development side wants to hack it in to a future version?

- Forrest

-- 
  Forrest Carpenter
  "And remember kids: place firecracker in[EMAIL PROTECTED]
 open area.  Light fuse.  Run away."  http://spite.com/



Re: reply-to-sender ?

1999-08-06 Thread E Forrest Carpenter

> > Situation:  A particular mailing list sets a Reply-To:  of the list
> > address, so that replies are pointed back to the list.
> 
> You can tell Mutt about the mailing list using the 'lists' command, and
> 'set ignore_list_reply_to', so that Mutt will ignore the Reply-To if it
> points to a mailing list address.  That means your 'r' key will always
> reply back to the sender, and your 'L' key will always reply back to the
> list.  If you get in the habit of using 'L' when you're reading a
> mailing list, you'll always do the right thing.  :)

Thanks, that clears up for me the reason that 'lists' was suggested in
the first place.  Now I just have to figure out how to make mutt display
the sender in the index, and not "To 'mutt-users'".  Back to the manual.

Thanks again.

- Forrest



Re: jSig

1999-08-06 Thread Thomas Roessler

On 1999-08-04 20:43:06 -0700, Azeem Shahjahan Jiva wrote:

> Java for a little random sig thing!  Wow talk about over kill!  Try
> this...

Would you please announce this to freshmeat, too?

SCNR, tlr



forward email as attachment?

1999-08-06 Thread Robert Chien

Hi,

Sometimes I need to forward one or more emails to another
worker as attachment(s). How do I do that in mutt?

If I save it to a file, then attach that file, it sort of
works but takes a lot of time, esp. if I'm attaching 3+
emails. Would be nice if I can presss , and choose files
or emails to attach. This is my wish list item.

Any suggestions?

-- 
Robert Chien



Re: forward email as attachment?

1999-08-06 Thread Aaron Schrab

At 14:50 -0700 06 Aug 1999, Robert Chien <[EMAIL PROTECTED]> wrote:
> emails. Would be nice if I can presss , and choose files
> or emails to attach. This is my wish list item.

Well, you can already choose files to attach with 'a'.  Would you settle
for using 'A' (the default binding for the attach-message function) to
attach messages?

-- 
Aaron Schrab [EMAIL PROTECTED]  http://www.execpc.com/~aarons/
 Profanity is the one language all programmers know best.



Re: forward email as attachment?

1999-08-06 Thread Rob Reid

At  5:50 PM EDT on August  6 Robert Chien sent off:
> Sometimes I need to forward one or more emails to another
> worker as attachment(s). How do I do that in mutt?

Tag the messages you want to forward then ";f" (tag-forward) will put
them all in your editor for sending.  If you want them as separate
attachments, set mime_forward first.

-- 
"It is wonderful to be here in the great state of Chicago."
  - Former U.S. Vice-President Dan Quayle
Robert I. Reid <[EMAIL PROTECTED]> http://astro.utoronto.ca/~reid/
PGP Key: http://astro.utoronto.ca/~reid/pgp.html



Re: forward email as attachment?

1999-08-06 Thread Gero Treuner

Hi!

On Fri, Aug 06, 1999 at 02:50:11PM -0700, Robert Chien wrote:
> If I save it to a file, then attach that file, it sort of
> works but takes a lot of time, esp. if I'm attaching 3+
> emails. Would be nice if I can presss , and choose files
> or emails to attach. This is my wish list item.

Almost your wish, just add the shift key to press "A".
It's in the online help as well as in the manual.


Gero



Re: forward email as attachment?

1999-08-06 Thread Jeremy Blosser

Robert Chien [[EMAIL PROTECTED]] wrote:
> Sometimes I need to forward one or more emails to another
> worker as attachment(s). How do I do that in mutt?
> 
> If I save it to a file, then attach that file, it sort of
> works but takes a lot of time, esp. if I'm attaching 3+
> emails. Would be nice if I can presss , and choose files
> or emails to attach. This is my wish list item.

attach-message, by default bound to 'A', will let you do just this from
the compose menu.

-- 
Jeremy Blosser   |   [EMAIL PROTECTED]   |   http://jblosser.firinn.org/
-+-+--
"Would you fight to the death, for that which you love?
   In a cause surely hopeless ...for that which you love?"
 -- D. McKiernan, _Dragondoom_

 PGP signature


Re: forward email as attachment? (possible bug found!)

1999-08-06 Thread Robert Chien

On Sat, Aug 07, 1999 at 12:00:12AM +0200, Gero Treuner wrote:
> Hi!
> 
> On Fri, Aug 06, 1999 at 02:50:11PM -0700, Robert Chien wrote:
> > If I save it to a file, then attach that file, it sort of
> > works but takes a lot of time, esp. if I'm attaching 3+
> > emails. Would be nice if I can presss , and choose files
> > or emails to attach. This is my wish list item.
> 
> Almost your wish, just add the shift key to press "A".
> It's in the online help as well as in the manual.

You guys are awesome! I did looked at help, but searched for the wrong
keyword "forward" and of course didn't see the "A" option.

However, now I've found an interesting "bug": if I type "A", it asks
for "Open mailbox to attach message from ('?' for list):". But it won't
open my IMAP inbox. If I enter {imapserver}inbox, it returns an error:

{thestork}inbox: No such file or directory (errno = 2)

Normal folders work just fine. Can other IMAP users verify this please?

-- 
Robert

Mutt 0.96.3i (1999-06-03)
Copyright (C) 1996-9 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: SunOS 5.8
Compile options:
-DOMAIN
-HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  +USE_FCNTL  -USE_FLOCK
+USE_IMAP  -USE_POP  +HAVE_REGCOMP  -USE_GNU_REGEX  +HAVE_COLOR  -BUFFY_SIZE 
-EXACT_ADDRESS  +ENABLE_NLS
SENDMAIL="/usr/lib/sendmail"
MAILPATH="/var/mail"
SHAREDIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
-ISPELL
To contact the developers, please mail to <[EMAIL PROTECTED]>.



urlview and launching with lynx

1999-08-06 Thread Brian E. Lavender

>From what I saw with urlview it is now separate from mutt, but I was
hoping someone out there is using it with mutt and can answer this
question.

I just installed urlview on my system and I am wondering what to put
in my
~/.urlview
file so it will use lynx to open http files.
I tried the following, but no go.
lynx -remote 'openURL(%s)'

brian
-- 
Brian Lavender
http://www.brie.com/brian/