change-folder macro

2001-03-23 Thread Kirill Miazine

Hello,

There's one type of macro I can't get working:
Pressing Ctrl-q should bring me to the qmail folder (=qmail) and Ctrl-m should bring 
me to the mutt folder (=mutt).

Thanks

-- 
Kirill



Re: change-folder macro

2001-03-23 Thread Biju Chacko

On Fri, Mar 23, 2001 at 09:53:39AM +0100, Kirill Miazine wrote:
 There's one type of macro I can't get working: Pressing Ctrl-q should bring me
 to the qmail folder (=qmail) and Ctrl-m should bring me to the mutt folder
 (=mutt).

did you try:

macro index \cq "c=qmail\n" "Change to QMail folder"
macro index \cm "c=mutt\n" "Change to Mutt folder"

bind for pager, etc if required.

BTW, I haven't actually tried this -- so normal disclaimers apply! ;-)

Biju


-- 
-
Biju Chacko| [EMAIL PROTECTED] (work)
Exocore Consulting | [EMAIL PROTECTED] (play)
Bangalore, India   | http://www.exocore.com
-



Re: change-folder macro

2001-03-23 Thread Dave Pearson

On Fri, Mar 23, 2001 at 09:53:39AM +0100, Kirill Miazine wrote:
 Hello,
 
 There's one type of macro I can't get working:
 Pressing Ctrl-q should bring me to the qmail folder (=qmail) and Ctrl-m
 should bring me to the mutt folder (=mutt).

What did you try and how didn't it work?

-- 
Dave Pearson:  | mutt.octet.filter - autoview octet-streams
http://www.davep.org/  | mutt.vcard.filter - autoview simple vcards
Mutt:  | muttrc2html   - muttrc - HTML utility
http://www.davep.org/mutt/ | muttrc.sl - Jed muttrc mode



Re: change-folder macro

2001-03-23 Thread Kirill Miazine

On Fri, Mar 23, 2001 at 02:47:25PM +0530, Biju Chacko wrote:
 did you try:
 
 macro index \cq "c=qmail\n" "Change to QMail folder"
 macro index \cm "c=mutt\n" "Change to Mutt folder"

yes I did (before posting to the mailing list) and it did't work, the bindings do show 
up in the help menu


 
 bind for pager, etc if required.
 
 BTW, I haven't actually tried this -- so normal disclaimers apply! ;-)

Thanks anyway!

 
 Biju
 
 
 -- 
 -
 Biju Chacko| [EMAIL PROTECTED] (work)
 Exocore Consulting | [EMAIL PROTECTED] (play)
 Bangalore, India   | http://www.exocore.com
 -
-- 
Kirill



Re: change-folder macro

2001-03-23 Thread Kirill Miazine

On Fri, Mar 23, 2001 at 09:16:23AM +, Dave Pearson wrote:
 
 What did you try and how didn't it work?

macro index \Cq "c=qmailenter" and nothing happened when I pressed C-q

 
 -- 
 Dave Pearson:  | mutt.octet.filter - autoview octet-streams
 http://www.davep.org/  | mutt.vcard.filter - autoview simple vcards
 Mutt:  | muttrc2html   - muttrc - HTML utility
 http://www.davep.org/mutt/ | muttrc.sl - Jed muttrc mode
-- 
Kirill



Re: change-folder macro

2001-03-23 Thread Aaron Schrab

Please wrap your text at less than 80 characters per line.

At 09:53 +0100 23 Mar 2001, Kirill Miazine [EMAIL PROTECTED] wrote:
 There's one type of macro I can't get working: Pressing Ctrl-q should
 bring me to the qmail folder (=qmail) and Ctrl-m should bring me to
 the mutt folder (=mutt).

In most cases you can't bind things to those characters.  Ctrl-M is a
line-feed and Ctrl-q is often used as the terminal start character.  In
both cases the keys are caught by the terminal driver and are never seen
by mutt (at least not in that form).

-- 
Aaron Schrab [EMAIL PROTECTED]  http://www.execpc.com/~aarons/
 "But what we need to know is, do people want nasally-insertable computers?"



Re: change-folder macro

2001-03-23 Thread Kirill Miazine

On Fri, Mar 23, 2001 at 03:44:00AM -0600, Aaron Schrab wrote:
 Please wrap your text at less than 80 characters per line.
 
 In most cases you can't bind things to those characters.  Ctrl-M is a
 line-feed and Ctrl-q is often used as the terminal start character.  In

Stupid me, forgot about ^M.

 both cases the keys are caught by the terminal driver and are never seen
 by mutt (at least not in that form).
 
 -- 
 Aaron Schrab [EMAIL PROTECTED]  http://www.execpc.com/~aarons/
  "But what we need to know is, do people want nasally-insertable computers?"
-- 
Kirill



Re: change-folder macro

2001-03-23 Thread Dave Pearson

On Fri, Mar 23, 2001 at 10:19:25AM +0100, Kirill Miazine wrote:
 On Fri, Mar 23, 2001 at 09:16:23AM +, Dave Pearson wrote:
  
  What did you try and how didn't it work?
 
 macro index \Cq "c=qmailenter" and nothing happened when I pressed C-q

C-q is probably been caught by your terminal and never makes it to mutt.

-- 
Dave Pearson:  | mutt.octet.filter - autoview octet-streams
http://www.davep.org/  | mutt.vcard.filter - autoview simple vcards
Mutt:  | muttrc2html   - muttrc - HTML utility
http://www.davep.org/mutt/ | muttrc.sl - Jed muttrc mode



Re: change-folder macro

2001-03-23 Thread Kirill Miazine

I use escq, escm etc end they are working find. Thanks for help


On Fri, Mar 23, 2001 at 10:28:12AM +, Dave Pearson wrote:
 On Fri, Mar 23, 2001 at 10:19:25AM +0100, Kirill Miazine wrote:
  On Fri, Mar 23, 2001 at 09:16:23AM +, Dave Pearson wrote:
   
   What did you try and how didn't it work?
  
  macro index \Cq "c=qmailenter" and nothing happened when I pressed C-q
 
 C-q is probably been caught by your terminal and never makes it to mutt.
 
 -- 
 Dave Pearson:  | mutt.octet.filter - autoview octet-streams
 http://www.davep.org/  | mutt.vcard.filter - autoview simple vcards
 Mutt:  | muttrc2html   - muttrc - HTML utility
 http://www.davep.org/mutt/ | muttrc.sl - Jed muttrc mode
-- 
Kirill



Re: Mutt: Reading POP3 mail and moving the messages to folders based on To: and Cc: headers, before the messages are read.

2001-03-23 Thread malcolm.boekhoff

On 2001-03-22 09:50:40, Enoch Wu wrote:
 
 Greetings,
 
 Will someone test the following for me.  Thanks in advance!
 
 # If tagged, then save message with hooks applied. Must predefine
 # save-hooks.
 # One macro does all the mail "redirect".
 macro index "\cy" "tag-pattern~C *\n:push tag-prefixsave-message\n\n"

You are a swearword/ genius. Thankyou!

For the benefit of anyone else looking at this thread, don't forget the space between 
"push" and "tag-prefix".

 
 Hope it helps.
 
 -ew
  
  I hear you -- but I haven't solved the " no files tagged, so do nothing"
  issue. Like I said above -- DON'T use the macros that you don't need for
  the time being, until we come up with a "slicker than snot on a
  door-knob" solution. ;,) Again -- color-code the "groups" of messages in
  your /etc/muttrc file, then use the appropriate macro. Later...
  --
  -duke
  Calgary, Alberta, Canada
  
  
  



Sending mail with attachment from a shell script

2001-03-23 Thread Cristian Gheorghe

Hello,

I am trying to use mutt in order to be able to send e-mail notifications
in regards to the nightly source code builds that I am doing. Something
to the extent of "Build Failed", see attached file.

I can see how to attach a file, specify the address, subject, etc. It's
just that if I want to do this from the command line without going
inside the interface I can not.

mutt -y [EMAIL PROTECTED] -s "Build Failed" -a ./build.log

To: [EMAIL PROTECTED]

Is there any way I can do this from a script without having to go inside
the actual interface?


Thanks,

Cristian




Message-ID re-writing

2001-03-23 Thread Jim Breton

Hello, using Mutt-1.2.5 here.

I'm re-writing my Message-ID headers using qmail-queue, but while
experimenting with that header for the benefit of a sendmail-using
friend, I came across this phenomenon.

If I use my_hdr to add a Message-ID header to the stuff I am sending,
Mutt will _still_ put its own into the headers and I will end up with
two of them in the outgoing message.  However, if I use the "E" command
before sending the message.. and manually add my own Message-ID header,
Mutt will _not_ generate the extra header and it works as I would like
it to.

Anyone know why my_hdr doesn't work as I expected it to here?

Please copy me on replies, not currently subscribed.  Thanks!



Re: Sending mail with attachment from a shell script

2001-03-23 Thread Lars Hecking

Cristian Gheorghe writes:
 Hello,
 
 I am trying to use mutt in order to be able to send e-mail notifications
 in regards to the nightly source code builds that I am doing. Something
 to the extent of "Build Failed", see attached file.
 
 I can see how to attach a file, specify the address, subject, etc. It's
 just that if I want to do this from the command line without going
 inside the interface I can not.
 
 mutt -y [EMAIL PROTECTED] -s "Build Failed" -a ./build.log
 
 -y is for interactive use.

 mutt  -s "Build Failed" -a ./build.log [EMAIL PROTECTED] /dev/null




Re: Sending mail with attachment from a shell script

2001-03-23 Thread Thomas Roessler

On 2001-03-22 19:12:31 -0500, Cristian Gheorghe wrote:

 I can see how to attach a file, specify the address, subject, etc. It's
 just that if I want to do this from the command line without going
 inside the interface I can not.
 
 mutt -y [EMAIL PROTECTED] -s "Build Failed" -a ./build.log
 
 To: [EMAIL PROTECTED]
 
 Is there any way I can do this from a script without having to go inside
 the actual interface?

Yes.  Just give mutt the message's body on stdin, and don't use -y.
That is, do something like this:

mutt -s "build failed" [EMAIL PROTECTED]  ./build.log
mutt -s "build failed" [EMAIL PROTECTED] -a build.log  body.txt

HTH.
-- 
Thomas Roessler [EMAIL PROTECTED]



Re: Message-ID re-writing

2001-03-23 Thread Thomas Roessler

On 2001-03-23 06:16:39 +, Jim Breton wrote:

 I'm re-writing my Message-ID headers using qmail-queue,

Why are you doing such things?  You'll ruin the possibility to get
proper threading with message copies mutt may write to folders while
sending.

 If I use my_hdr to add a Message-ID header to the stuff I am
 sending, Mutt will _still_ put its own into the headers and I
 will end up with two of them in the outgoing message.  However,
 if I use the "E" command before sending the message.. and
 manually add my own Message-ID header, Mutt will _not_ generate
 the extra header and it works as I would like it to.

 Anyone know why my_hdr doesn't work as I expected it to here?

I suppose it's a bug.  I'll look at it.  (But don't expect a fix for
the stable branch.)

-- 
Thomas Roessler [EMAIL PROTECTED]



Re: Mutt: Reading POP3 mail and moving the messages to folders based on To: and Cc: headers, before the messages are read.

2001-03-23 Thread Duke Normandin

On Thu, Mar 22, 2001 at 09:50:40AM -0800, Enoch Wu wrote:
 
 Greetings,
 
 Will someone test the following for me.  Thanks in advance!
 
 # If tagged, then save message with hooks applied. Must predefine
 # save-hooks.
 # One macro does all the mail "redirect".
 macro index "\cy" "tag-pattern~C *\n:push tag-prefixsave-message\n\n"
 
 Hope it helps.
 
 -ew
  
  I hear you -- but I haven't solved the " no files tagged, so do nothing"
  issue. Like I said above -- DON'T use the macros that you don't need for
  the time being, until we come up with a "slicker than snot on a
  door-knob" solution. ;,) Again -- color-code the "groups" of messages in
  your /etc/muttrc file, then use the appropriate macro. Later...

It didn't work for me as *I* expected! ;( The macro tagged the entire
$spoolfile in the "main" index, and turned around and saved the whole
thing to only one of my pre-defined IN.x mailboxes. Here's how I've
defined my "save-hook"s:

save-hook "(~C freebsd-question@) | (~C questions@)" +IN.freebsd
save-hook "~t .BAMA.UA.EDU" +IN.mercury
save-hook "~C @mutt.org" +IN.mutt
save-hook "(~C @cygwin)|(~C cygwin@)" +IN.cygwin
save-hook "~C php-db" +IN.php-db

Do they look like yours? Is the macro working for you? Later...
-- 
-duke
Calgary, Alberta, Canada





Re: Sending mail with attachment from a shell script

2001-03-23 Thread teo

Hi Cristian!
On Thu, 22 Mar 2001, Cristian Gheorghe wrote:

 Hello,
 
 I am trying to use mutt in order to be able to send e-mail notifications
 in regards to the nightly source code builds that I am doing. Something
 to the extent of "Build Failed", see attached file.
 
 I can see how to attach a file, specify the address, subject, etc. It's
 just that if I want to do this from the command line without going
 inside the interface I can not.
 
 mutt -y [EMAIL PROTECTED] -s "Build Failed" -a ./build.log
 
 To: [EMAIL PROTECTED]
 
 Is there any way I can do this from a script without having to go inside
 the actual interface?
 
I am using somethin like echo "message body" | mutt -x -a attach.file -s "eh,
subject" [EMAIL PROTECTED]

I dunno if -x is what you want, neither if it's required in the firt place :)
just figured that it works so I use it.

gl

-- teodor



Re: Message-ID re-writing

2001-03-23 Thread Jim Breton

On Fri, Mar 23, 2001 at 12:59:52PM +0100, Thomas Roessler wrote:
  I'm re-writing my Message-ID headers using qmail-queue,
 
 Why are you doing such things?  You'll ruin the possibility to get
 proper threading with message copies mutt may write to folders while
 sending.

Actually, you're right.

But that's because my "implementation" is broken, and I should have
realized that.  However, if I were to write the Message-ID *before*
creating the message (which is what I'm trying to do with my friend's
configuration using my_hdr), this shouldn't be a problem.

FYI, the reason I'm doing such things :) is because I don't particularly
like the Message-IDs that Mutt writes.

Call me silly, but the second half of the ID -- since it uses an
incrementing letter (A.. B.. C.. and so on) makes it easy for someone to
tell how many messages you have sent in between the first one he sees,
and the next one (assuming you haven't started a new instance of Mutt in
the meantime, but the pid is right there too so that can be determined).


  Anyone know why my_hdr doesn't work as I expected it to here?
 
 I suppose it's a bug.  I'll look at it.

Thanks.


 (But don't expect a fix for the stable branch.)

I don't.



Re: Mutt: Reading POP3 mail and moving the messages to folders based on To: and Cc: headers, before the messages are read.

2001-03-23 Thread Enoch Wu

On Fri, Mar 23, 2001 at 06:10:40AM -0700, Duke Normandin wrote:
 On Thu, Mar 22, 2001 at 09:50:40AM -0800, Enoch Wu wrote:
  
  Greetings,
  
  Will someone test the following for me.  Thanks in advance!
  
  # If tagged, then save message with hooks applied. Must predefine
  # save-hooks.
  # One macro does all the mail "redirect".
  macro index "\cy" "tag-pattern~C *\n:push tag-prefixsave-message\n\n"
  
  Hope it helps.
  
  -ew
   
   I hear you -- but I haven't solved the " no files tagged, so do nothing"
   issue. Like I said above -- DON'T use the macros that you don't need for
   the time being, until we come up with a "slicker than snot on a
   door-knob" solution. ;,) Again -- color-code the "groups" of messages in
   your /etc/muttrc file, then use the appropriate macro. Later...
 
 It didn't work for me as *I* expected! ;( The macro tagged the entire
 $spoolfile in the "main" index, and turned around and saved the whole
 thing to only one of my pre-defined IN.x mailboxes. Here's how I've
 defined my "save-hook"s:
 
 save-hook "(~C freebsd-question@) | (~C questions@)" +IN.freebsd
 save-hook "~t .BAMA.UA.EDU" +IN.mercury
 save-hook "~C @mutt.org" +IN.mutt
 save-hook "(~C @cygwin)|(~C cygwin@)" +IN.cygwin
 save-hook "~C php-db" +IN.php-db
 
 Do they look like yours? Is the macro working for you? Later...
 -- 
 -duke
 Calgary, Alberta, Canada
 

I use multiple macros to get the filtering to work. Below my save-hooks
commands, I added the following:

macro index "\ef" "\ez\cy\ex\ey" "Move mails to mailboxes"
macro index "\cy" "tag-pattern~C mutt-users@\n:push tag-prefixsave-message\n\n$"
macro index "\ex" "tag-pattern~C cygwin-digest-h\n:push 
tag-prefixsave-message\n\n$"
macro index "\ey" "tag-pattern~C cygwin-apps@\n:push tag-prefixsave-message\n\n$"
macro index "\ez" "tag-pattern~C cygwin@\n:push tag-prefixsave-message\n\n$"
macro index "\ew" "tag-pattern~C enochw@ | ~C ewu@ | ~f support@\n:push 
tag-prefixsave-message\n\n$"

Hope that helps.
ew
 



Re: Sending mail with attachment from a shell script

2001-03-23 Thread Cristian Gheorghe

Thank you so much, it actually works.


Regards,

Cristian


Thomas Roessler wrote:

 On 2001-03-22 19:12:31 -0500, Cristian Gheorghe wrote:

  I can see how to attach a file, specify the address, subject, etc. It's
  just that if I want to do this from the command line without going
  inside the interface I can not.
 
  mutt -y [EMAIL PROTECTED] -s "Build Failed" -a ./build.log
 
  To: [EMAIL PROTECTED]
 
  Is there any way I can do this from a script without having to go inside
  the actual interface?

 Yes.  Just give mutt the message's body on stdin, and don't use -y.
 That is, do something like this:

 mutt -s "build failed" [EMAIL PROTECTED]  ./build.log
 mutt -s "build failed" [EMAIL PROTECTED] -a build.log  body.txt

 HTH.
 --
 Thomas Roessler [EMAIL PROTECTED]




Re: Message-ID re-writing

2001-03-23 Thread Jerome De Greef

* Jim Breton ([EMAIL PROTECTED]) wrote:
 On Fri, Mar 23, 2001 at 12:59:52PM +0100, Thomas Roessler wrote:
   I'm re-writing my Message-ID headers using qmail-queue,
  
  Why are you doing such things?  You'll ruin the possibility to get
  proper threading with message copies mutt may write to folders while
  sending.
 
 Actually, you're right.
 
 But that's because my "implementation" is broken, and I should have
 realized that.  However, if I were to write the Message-ID *before*
 creating the message (which is what I'm trying to do with my friend's
 configuration using my_hdr), this shouldn't be a problem.
 
 FYI, the reason I'm doing such things :) is because I don't particularly
 like the Message-IDs that Mutt writes.

RFC 822:
[...]
This identifier is intended to be machine readable and not necessarily
meaningful to humans.
[...]

That says it all ;)

 
 Call me silly, but the second half of the ID -- since it uses an
 incrementing letter (A.. B.. C.. and so on) makes it easy for someone to
 tell how many messages you have sent in between the first one he sees,
 and the next one (assuming you haven't started a new instance of Mutt in
 the meantime, but the pid is right there too so that can be determined).
 
 
   Anyone know why my_hdr doesn't work as I expected it to here?
  
  I suppose it's a bug.  I'll look at it.
 
 Thanks.
 
 
  (But don't expect a fix for the stable branch.)
 
 I don't.
 

-- 
+---+
| Jerome De Greef | [EMAIL PROTECTED] |   [EMAIL PROTECTED]|
+-+[EMAIL PROTECTED]|  [EMAIL PROTECTED]  |
  +-+



Re: Message-ID re-writing

2001-03-23 Thread Jim Breton

On Fri, Mar 23, 2001 at 05:44:12PM +0100, Jerome De Greef wrote:
 RFC 822:
 [...]
 This identifier is intended to be machine readable and not necessarily
 meaningful to humans.
 [...]
 
 That says it all ;)

No, it doesn't.

The problem is that it currently _IS_ meaningful to humans.  If it were
not meaningful to humans, in its current implementation in Mutt, I would
be happy.



compressed folders option

2001-03-23 Thread Chuck Campbell

I just downloaded and installed 1.2.5i with the compressed folder option,
but I haven't (yet) understood the information on using this option.

The manual.txt file gives some open-hook, close-hook, append-hook
examples, but I'm left baffled by reading it all.

Am I supposed to put something like open-hook \\.gz$ "gzip -cd %f  %t"
into my .muttrc?  If so where?  If not, do I need to type all of that
every time I wish to open a gzipped mail folder?

I'm just overwhelmed by all the stuff here and don't understand it yet.

Any help will be appreciated.

(BTW, gpg/pgp comes next :-)


thanks,
-chuck

-- 
ACCEL Services, Inc.| Specialists in Gravity, Magnetics |  1(713)993-0671 ph.
1980 Post Oak Blvd. |   and Integrated Interpretation   |  1(713)960-1157 fax
Suite 2050  |   |
 Houston, TX, 77056 |  Chuck Campbell   | [EMAIL PROTECTED]
|  President  Senior Geoscientist  |

 "Integration means more than having all the maps at the same scale!"



Re: Message-ID re-writing

2001-03-23 Thread Jerome De Greef

* Jim Breton ([EMAIL PROTECTED]) wrote:
 On Fri, Mar 23, 2001 at 05:44:12PM +0100, Jerome De Greef wrote:
  RFC 822:
  [...]
  This identifier is intended to be machine readable and not necessarily
  meaningful to humans.
  [...]
  
  That says it all ;)
 
 No, it doesn't.
 
 The problem is that it currently _IS_ meaningful to humans.  If it were
 not meaningful to humans, in its current implementation in Mutt, I would
 be happy.

And what's your problem with it being readable by humans ?
Personnally I don't display it in mutt which means I don't see/read it
(and therefore it is meaningless ;) ).

Jerome

-- 
+---+
| Jerome De Greef | [EMAIL PROTECTED] |   [EMAIL PROTECTED]|
+-+[EMAIL PROTECTED]|  [EMAIL PROTECTED]  |
  +-+



Re: Message-ID re-writing

2001-03-23 Thread Jerome De Greef

* Jim Breton ([EMAIL PROTECTED]) wrote:
 On Fri, Mar 23, 2001 at 06:13:35PM +0100, Jerome De Greef wrote:
  And what's your problem with it being readable by humans ?
 
 I already explained why, several messages ago in my response to Thomas.

You know someone counting how many messages you wrote before
replying to him ?
You have strange friends ;)
(hum, I think I don't get the point on this one)

Jerome

-- 
+---+
| Jerome De Greef | [EMAIL PROTECTED] |   [EMAIL PROTECTED]|
+-+[EMAIL PROTECTED]|  [EMAIL PROTECTED]  |
  +-+



Re: compressed folders option

2001-03-23 Thread Jason Helfman

I have this in my muttrc and it works fine


open-hook \\.gz$ "gzip -cd %f  %t"
close-hook \\.gz$ "gzip -c %t  %f"
append-hook \\.gz$ "gzip -c %t  %f"

On Fri, Mar 23, 2001 at 10:56:35AM -0600, Chuck Campbell muttered:
| I just downloaded and installed 1.2.5i with the compressed folder option,
| but I haven't (yet) understood the information on using this option.
| 
| The manual.txt file gives some open-hook, close-hook, append-hook
| examples, but I'm left baffled by reading it all.
| 
| Am I supposed to put something like open-hook \\.gz$ "gzip -cd %f  %t"
| into my .muttrc?  If so where?  If not, do I need to type all of that
| every time I wish to open a gzipped mail folder?
| 
| I'm just overwhelmed by all the stuff here and don't understand it yet.
| 
| Any help will be appreciated.
| 
| (BTW, gpg/pgp comes next :-)
| 
| 
| thanks,
| -chuck
| 
| -- 
| ACCEL Services, Inc.| Specialists in Gravity, Magnetics |  1(713)993-0671 ph.
| 1980 Post Oak Blvd. |   and Integrated Interpretation   |  1(713)960-1157 fax
| Suite 2050  |   |
|  Houston, TX, 77056 |  Chuck Campbell   | [EMAIL PROTECTED]
| |  President  Senior Geoscientist  |
| 
|  "Integration means more than having all the maps at the same scale!"

-- 
/Jason G Helfman

"At any given moment, you may find the ticket to the circus that has always
been in your possession."

Fingerprint: 6A32 3774 E390 33B5 8C96  2AA1 2BF4 BD71 35A1 C149
GnuPG http://www.gnupg.org  Get Private!  1024D/35A1C149



Re: Message-ID re-writing

2001-03-23 Thread Jim Breton

On Fri, Mar 23, 2001 at 06:39:48PM +0100, Jerome De Greef wrote:
 (hum, I think I don't get the point on this one)

I noticed. ;)

The point is, it gives away information that maybe some people don't
want to give away.

Using a randomly-rotated 3- or 4-character string would be far better
than using an incrementing single character.

Regardless of what types of kind of sarcasm about paranoia you can throw
at this, I think there are enough people who would appreciate such an
improvement -- especially one which has no detractors other than folks
who just are not willing to change things.

Many people (besides myself) rewrite Message-IDs for exactly this
reason.  This change would make that no longer necessary.

Do you have people looking at your User-Agent string?  Yes/no?  How do
you know?  Well if you aren't concerned then you can leave the string
in, or take it out; that's why this option exists.  Someone somewhere
didn't like it, and now we have the user_agent option.  Did you
disparage that idea at the time too?  ;)



IMAP and multiple accounts

2001-03-23 Thread Chris Jones

Hi--

I'm converting to mutt from Gnus.  So far, I'm impressed by mutt's
speed.  :)  However, there's something I was doing with Gnus that I
can't figure out with mutt, and I was wondering if somebody could help
me out:

I've got an IMAP account at work, and an IMAP account at home.  When
I'm at work, I'd like mutt to check my (multiple) inboxes at work and
my (multiple) inboxes at home.  When I decide to file a message into
another mailbox, it would be nice if I didn't have to type the entire
name of the server and mailbox; it would be nice if mutt would prompt
me with at least the current server name, and probably the current
IMAP hierarchy name.

Currently, I've got something like this:

set folder="{mail.home.org}"
set spoolfile="{mail.work.com}INBOX"
mailboxes {mail.work.com}INBOX
mailboxes {mail.home.org}INBOX
mailboxes {mail.home.org}INBOX.*

(I'm using cyrus, so all mailboxes are "INBOX" or "INBOX.*".)  But it
only appears to check {mail.home.org}INBOX for new mail; if I'm
reading mail at home, and something comes into the work INBOX, it
doesn't tell me.  And it doesn't appear to check INBOX.* at home,
either.

Everything else that I want to do, I think I can, due to the excellent
flexibility of mutt.

TIA.

Chris

-- 
- [EMAIL PROTECTED]
Chris Jones   Mad scientist at large



mutt site maintenance?

2001-03-23 Thread Ken Weingold

Is it only Jeremy who maintains the mutt site?  The URL to a patch I have linked
from there is dead, and I send him the updated one but haven't heard
from him.

Thanks.


-Ken

-- 
[EMAIL PROTECTED]AIM: ScopusFest



Re: next Mutt release?

2001-03-23 Thread Sven Guckes

* Eugene Lee [EMAIL PROTECTED] [010322 23:39]:
 I'm just curious to ask is there a timetable for Mutt 1.3 to
 go stable and be released (Mutt 1.4 I assume?).  It would be
 neat if Mutt had a modular structure that lets people add
 functionality without having to significantly modify the core.

mutt should become a linux kernel module soon.

Sven



IMAP and multiple accounts

2001-03-23 Thread Chris Jones

Hi--

I'm converting to mutt from Gnus.  So far, I'm impressed by mutt's
speed.  :)  However, there's something I was doing with Gnus that I
can't figure out with mutt, and I was wondering if somebody could help
me out:

I've got an IMAP account at work, and an IMAP account at home.  When
I'm at work, I'd like mutt to check my (multiple) inboxes at work and
my (multiple) inboxes at home.  When I decide to file a message into
another mailbox, it would be nice if I didn't have to type the entire
name of the server and mailbox; it would be nice if mutt would prompt
me with at least the current server name, and probably the current
IMAP hierarchy name.

Currently, I've got something like this:

set folder="{mail.home.org}"
set spoolfile="{mail.work.com}INBOX"
mailboxes {mail.work.com}INBOX
mailboxes {mail.home.org}INBOX
mailboxes {mail.home.org}INBOX.*

(I'm using cyrus, so all mailboxes are "INBOX" or "INBOX.*".)  But it
only appears to check {mail.home.org}INBOX for new mail; if I'm
reading mail at home, and something comes into the work INBOX, it
doesn't tell me.  And it doesn't appear to check INBOX.* at home,
either.

Everything else that I want to do, I think I can, due to the excellent
flexibility of mutt.

TIA.

Chris

-- 
- [EMAIL PROTECTED]
Chris Jones   Mad scientist at large



default and restore color issues

2001-03-23 Thread Daniel Lamblin

Hi, I'm not subscribed or anything but I'd like to ask this about mutt:

I recently built mutt for solaris 8 (I'm a user not root), and with the normal
curses, it refused to display any color.  I attempted to build ncurses but
failed, so I built slang (that an extensible programming language drop in
turns out to be used for its terminal emulation in mutt and aalib must depress
the original authors).  Now I recompiled mutt with slang support, and the
color works fairly well.  However, I'm using an xterm (like) display [actually
aterm] and every bright color is bold, which is annoying.  That wouldn't be a
problem except that every time I quit mutt, the last messages (14 messages
saved, 0 deleted  or mailbox unchanged, whatever) is printed in bold of the
default fg color.  I can only reset this with a ls --color, not a reset.
What can I change in Muttrc to fix this.  I've tried making mono bold be
something specific, and I've played with all of the color commands.
additionally, Muttrc is odd because it doesn't like the `default' color,
claiming that it is not a valid color.  This is mutt-1.2.5i

thanks.

-daniel



Re: Mutt: Reading POP3 mail and moving the messages to folders based on To: and Cc: headers, before the messages are read.

2001-03-23 Thread Duke Normandin

On Fri, Mar 23, 2001 at 08:30:43AM -0800, Enoch Wu wrote:

  It didn't work for me as *I* expected! ;( The macro tagged the entire
  $spoolfile in the "main" index, and turned around and saved the whole
  thing to only one of my pre-defined IN.x mailboxes. Here's how I've
  defined my "save-hook"s:
  
  save-hook "(~C freebsd-question@) | (~C questions@)" +IN.freebsd
  save-hook "~t .BAMA.UA.EDU" +IN.mercury
  save-hook "~C @mutt.org" +IN.mutt
  save-hook "(~C @cygwin)|(~C cygwin@)" +IN.cygwin
  save-hook "~C php-db" +IN.php-db
  
  Do they look like yours? Is the macro working for you? Later...
 
 I use multiple macros to get the filtering to work. Below my save-hooks
 commands, I added the following:

Show me (us) your save-hooks please! I want to compare to what I have
above. Thanks!
-- 
-duke
Calgary, Alberta, Canada





Save-hook inside a folder-hook

2001-03-23 Thread Duke Normandin

I have the following that doesn't work:

folder-hook "IN.mutt" 'save-hook * =mutt'

When I'm reading "IN.mutt" and go to save a message, "IN.mutt" keeps
coming up as the default for that folder. Any ideas? Tia..
-- 
-duke
Calgary, Alberta, Canada





Re: Mutt: Reading POP3 mail and moving the messages to folders based on To: and Cc: headers, before the messages are read.

2001-03-23 Thread Enoch Wu

On Fri, Mar 23, 2001 at 05:47:44PM -0700, Duke Normandin wrote:
 
 Show me (us) your save-hooks please! I want to compare to what I have
 above. Thanks!
 -- 
 -duke
 Calgary, Alberta, Canada
 
Hi,

# Mutt's Mail Filtering
# Filename: portion of .muttrc
# Mutt version 1.2.5i

mailboxes ! +IN.personal +IN.mutt-users +IN.cygwin-digest-help
mailboxes +IN.cygwin-apps +IN.cygwin +IN.everything-else

save-hook  "~C enochw@ | ~C ewu@ | ~f support@" +IN.personal
save-hook  "~C mutt-users@"  +IN.mutt-users
save-hook  "~f cygwin-digest-help@"  +IN.cygwin-digest-help
save-hook  "~C cygwin-apps@"  +IN.cygwin-apps
save-hook  "~C cygwin@"  +IN.cygwin
save-hook  "~h *"  +IN.everything-else  # I'll just delete this one manually - 
possible SPAM.

# If messages are tagged, then save messages using one matching save-hook.
# If no message is tagged, then save the current message using save-hook.
# ESCf transfers messages into their respective mailboxes.
# ESCw transfers personal mails to my personal folder "IN.personal".

macro index "\ef" "\ez\cy\ex\ey" "Move mails to mailboxes"
macro index "\cy" "tag-pattern~C mutt-users@\n:push tag-prefixsave-message\n\n$"
macro index "\ex" "tag-pattern~C cygwin-digest-h\n:push 
tag-prefixsave-message\n\n$"
macro index "\ey" "tag-pattern~C cygwin-apps@\n:push tag-prefixsave-message\n\n$"
macro index "\ez" "tag-pattern~C cygwin@\n:push tag-prefixsave-message\n\n$"
macro index "\ew" "tag-pattern~C enochw@ | ~C ewu@ | ~f support@\n:push 
tag-prefixsave-message\n\n$"

# EOF - mutt example.



spell checking

2001-03-23 Thread Robert Barish

 Hello
I am just getting my feet wet with mutt and trying it out to see if it will be my 
email client of choice.  So far I really like the speed of mutt.  I have a real basic 
question.  How does one incoporate a spell checker with mutt? Does it use ispell.  If 
you can use a spell checker how does one activate it.  Thanks for all help ahead of 
time.

Bob




Re: spell checking

2001-03-23 Thread Wade A. Mosely

Robert Barish wrote:
  Hello
 I am just getting my feet wet with mutt and trying it out to see if it
 will be my email client of choice.  So far I really like the speed of
 mutt.  I have a real basic question.  How does one incoporate a spell
 checker with mutt? Does it use ispell.  If you can use a spell checker
 how does one activate it.  Thanks for all help ahead of time.
 
 Bob
 
 

ispell is invoked with the ispell function.  The default binding for
this is "i" when composing a message.  Note that invocation of ispell is
governed by the $ispell variable, which must be set to the path of
ispell.  (The default is: "/usr/bin/ispell".)

-- Mr. Wade

-- 
Linux: The Choice of the GNU Generation




vim and mutt question

2001-03-23 Thread Viktor Lakics

Hi All,

I have an autocommand for temporary mutt files. I want to move the
cursor down 6 positions automatically when I start a new mail (this
would move the cursor right under the headers (i use edit headers).
But i can't seem to figure out how to do this from a vimrc file...

Any help?

TIA -- Viktor 



Re: vim and mutt question

2001-03-23 Thread Peter Pentchev

On Sat, Mar 24, 2001 at 07:35:12AM +, Viktor Lakics wrote:
 Hi All,
 
 I have an autocommand for temporary mutt files. I want to move the
 cursor down 6 positions automatically when I start a new mail (this
 would move the cursor right under the headers (i use edit headers).   But i can't 
seem to figure out how to do this from a vimrc file...

You could try setting the mutt 'editor' variable to something like

/usr/local/bin/vim +6j

This shall affect editing old messages, too, but it will probably
do what you want.

G'luck,
Peter

-- 
Do you think anybody has ever had *precisely this thought* before?



Re: spell checking

2001-03-23 Thread Ken Weingold

On Fri, Mar 23, 2001, Wade A. Mosely wrote:
 Robert Barish wrote:
   Hello
  I am just getting my feet wet with mutt and trying it out to see if it
  will be my email client of choice.  So far I really like the speed of
  mutt.  I have a real basic question.  How does one incoporate a spell
  checker with mutt? Does it use ispell.  If you can use a spell checker
  how does one activate it.  Thanks for all help ahead of time.
  
  Bob
  
  
 
 ispell is invoked with the ispell function.  The default binding for
 this is "i" when composing a message.  Note that invocation of ispell is
 governed by the $ispell variable, which must be set to the path of
 ispell.  (The default is: "/usr/bin/ispell".)

If ispell is in your path, you shouldn't need to do anything.  Just
hit 'i' in the compose menu.


-Ken

-- 
[EMAIL PROTECTED]AIM: ScopusFest