Re: Viewing application/msword thingies.

2000-10-25 Thread Peter Jaques

On 25 Oct 00, 12:01AM, Morten Liebach wrote:
   application/msword; catdoc -s iso8859-1 %s|less; cupiousoutput

try spelling it "copiousoutput";)

peter


 PGP signature


Re: Automate Bcc to myself?

2000-10-25 Thread Peter Jaques

try this in your .muttrc :
my_hdr Bcc: [EMAIL PROTECTED]

peter

On 25 Oct 00,  2:37AM, Glyn Millington wrote:
 Is it possible to set up Mutt to send a blind copy to myself each time I
 send out an email?  Can anyone tell me how, or point me to the right place
 to find out?

-- 
 Peter Jaques [EMAIL PROTECTED]   http://cs.oberlin.edu/~pjaques
   klezmerbalkanturkish clarinet; free foodshelter; books to prisoners
 pgp: email me with subject "get pgp key", or finger [EMAIL PROTECTED]


 PGP signature


Re: Automate Bcc to myself?

2000-10-25 Thread Myrddin

On Wed, Oct 25, 2000 at 02:37:19AM +0100, Glyn Millington wrote:
 Hi!
 
 Is it possible to set up Mutt to send a blind copy to myself each time I
 send out an email?  Can anyone tell me how, or point me to the right place
 to find out?

In your .muttrc:

  set copy


- Myrddin
--
 ICQ: 22404528   Why Vegan?   http://www.firstmagic.com/vegan
--



Pattern parsing bug

2000-10-25 Thread Vincent Lefevre

(a|b) is a valid regular expression. So, I expect the pattern ~t(a|b) to
work. But I get the following error: ( ) or \( \) imbalance.

I use Mutt 1.2.5i (2000-07-28).

-- 
Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / PolKA research team at LORIA



Re: How can I use mutt on disconnected laptops?

2000-10-25 Thread Christian Ordig

I think IMAP would probably be the best solution for this setup.

But another thing comes to my mind: what about (mis)using CVS for this
task?

-- 
Christian Ordig | Homepage: http://thor.prohosting.com/~chrordig/ 
Germany |eMail: Christian Ordig [EMAIL PROTECTED]

 PGP signature


Re: Pattern parsing bug

2000-10-25 Thread Bruce DeVisser

On Wed, Oct 25, 2000 at 01:44:38PM +0200, Vincent Lefevre wrote:
 (a|b) is a valid regular expression. So, I expect the
 pattern ~t(a|b) to work. But I get the following error: (
 ) or \( \) imbalance.

No bug. Try:
~t "(a|b)"

-- 
- Bruce



Re: Automate Bcc to myself?

2000-10-25 Thread Jeff Howie

On Wed, Oct 25, 2000 at 02:37:19AM +0100, Glyn Millington wrote:
 Hi!
 
 Is it possible to set up Mutt to send a blind copy to myself each time I
 send out an email?  Can anyone tell me how, or point me to the right place
 to find out?

Place in your ~/.muttrc:

my_hdr Bcc: Glyn Millington [EMAIL PROTECTED]

Works wonders for me!
thks.jeff



Re: Pattern parsing bug

2000-10-25 Thread Vincent Lefevre

On Wed, Oct 25, 2000 at 08:45:01 -0400, Bruce DeVisser wrote:
 No bug. Try:
 ~t "(a|b)"

OK, so the manual should mention this. It is only said:

  Where EXPR, USER, ID, and SUBJECT are ``regular expressions''.

And in a send-hook, I have to quote the double-quotes. Is it OK?

-- 
Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / PolKA research team at LORIA



Re: Pattern parsing bug

2000-10-25 Thread Vincent Lefevre

On Wed, Oct 25, 2000 at 08:45:01 -0400, Bruce DeVisser wrote:
 No bug. Try:
 ~t "(a|b)"

I forgot to ask: shouldn't Mutt be modified so that brackets act
as quotes in a pattern? It would be more intuitive, IMHO.

-- 
Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / PolKA research team at LORIA



keeping mail in postponed

2000-10-25 Thread Eric Smith

I like to use the postponed folder to send mail with a number of
attachments to different recipients.  Each time I bring the mail from
the postponed folder I would change the Salutation and possibly the
message.

Problem is, the mail once sent does not stay in the postponed foldr -
I could Fcc it in put I want the message to be copied lesewhere as
well for archive purposes.  A possible soution is to Fcc into two
folders - but how?  Else there may be another solution?

thanx
-- 
Eric Smith
Fruitcom.com 



Re: Searching in multiple mailboxes

2000-10-25 Thread Jack McKinney

Big Brother tells me that Mark Weinem wrote:
 On Mon, 23 Oct 2000, Benjamin Korvemaker wrote:
 
  See "grepm" and "grepmail"
 
 But are there no tools for Maildirs?

cd Maildir;
find . -type f | xargs fgrep -l searchstring

--
"Restore your inalienable human rights.   Jack McKinney
 Vote Libertarian.  http://www.lp.org http://www.lorentz.com
 http://www.harrybrowne2000.org   [EMAIL PROTECTED]
  1024D/D68F2C07 4096g/38AEF076

 PGP signature


GPG _and_ PGP?

2000-10-25 Thread Jack McKinney

 I have a number of contacts that are unable or unwilling to upgrade
to GPG or PGP  2.6.*.  This means that they must use RSA and IDEA.  While
GPG now speaks RSA, and can be patched to support IDEA (though I have yet
to get this to work, as I haven't had the time to get all of the source
patched manually), a simpler solution would be for mutt to handle GPG and
PGP.  I have some thoughts...

 Since mutt simply calls the strings in the config file, there is no
reason why they could not be replaced with smart scripts.  Has anyone
done this?
 What I am looking for is a script replacement that will check both
key rings when verify signatures or decrypting files and return the
correct results.  It would be nice if the script would also process
inline signatures (though mutt would need to be patched for this).
 For encrypting, it would be nice if it could search both keyrings
for the key and encrypt it with the appropriate version.

 Since some of this can't be done with scripting (mutt doesn't call
the verify function if it does not see an detached sig, so an inline
attached sig is ignored, as is inline encryption.  Even though I have
revoked my PGP keys, I still get encrypted email from people using 2.6.*,
and mutt just ignores it...

--
"Restore your inalienable human rights.   Jack McKinney
 Vote Libertarian.  http://www.lp.org http://www.lorentz.com
 http://www.harrybrowne2000.org   [EMAIL PROTECTED]
  1024D/D68F2C07 4096g/38AEF076

 PGP signature


Re: search through lot of folders

2000-10-25 Thread Mikko Hänninen

Peter Pilsl [EMAIL PROTECTED] wrote on Sat, 21 Oct 2000:
 All my mails sit on a an imapserver, stored in many different folders, 

 Now I want to search through all subfolders in OLD.Inbox for all mails I 
 got from user x or contains kezord y. Prefereable would like to get the result 
listed like a standard folder.
 Is this possible ?

No, it's not possible with Mutt.  You could create an external script
and run that from within Mutt, if you were using regular folders.  But
I don't know of any way to search on IMAP folders using a script.


Regards,
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 /
Stop reading here.



Wish-list

2000-10-25 Thread Anthony Liu


It would be great if Mutt support filtered view, for example, one can
select only to display new messages, or subject, author that match a regex
so that unmatched mails will stay hidden.






Re: Wish-list

2000-10-25 Thread Lars Hecking

Anthony Liu writes:
 
 It would be great if Mutt support filtered view, for example, one can
 select only to display new messages, or subject, author that match a regex
 so that unmatched mails will stay hidden.

 Have you ever bothered reading the manual?




Re: Is there a Pine-to-Mutt FAQ?

2000-10-25 Thread Kai Blin

* Eugene Lee [EMAIL PROTECTED] [23/10/00, 13:47:56]:
 
 
 I can understand people that would prefer a low-powered
 editor like Pico versus something more sophisticated like Vi or Emacs
 because the former is just easier to use and configure, while the latter
 requires semi-programmers to be useful.

You can use pico with mutt :) I'm using joe to edit my mails because it's
quick, fast and can be tuned to be high powered, but by default, it's easier
than emacs or vi.

Cheers,
Kai

-- 
Kai Blin Webmasterof  http://www.uni-tuebingen.de/uni/thm/molgen/
Univ. of Tuebingen  Inst. of   Human   Genetics  fon +49-7071-2974890
Wilhelmstrasse 27   Dept. of Molecular Genetics  fax +49-7071-295233
D-72074 Tuebingen   Do molecular biologists wear designer genes?



Re: Wish-list

2000-10-25 Thread Mikko Hänninen

Anthony Liu [EMAIL PROTECTED] wrote on Wed, 25 Oct 2000:
 It would be great if Mutt support filtered view, for example, one can
 select only to display new messages, or subject, author that match a regex
 so that unmatched mails will stay hidden.

Yes, I think that would be great too.

Try pressing the "l" key sometime when in the index. :-)


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 /
"If you're not impossible to tolerate, you're not trying hard enough."



Re: Searching in multiple mailboxes

2000-10-25 Thread Mark Weinem

On Wed, 25 Oct 2000, Suresh Ramasubramanian wrote:

 I believe grepmail does maildirs rather well.

man grepmail:

"[...] Mailboxes must be traditional, UNIX /bin/mail mailbox
format [...]"

Ciao,
Mark




Re: Searching in multiple mailboxes

2000-10-25 Thread Mark Weinem

On Wed, 25 Oct 2000, Jack McKinney wrote:

 cd Maildir;
 find . -type f | xargs fgrep -l searchstring

Wow, what a comfortable search tool ;-)

Ciao,
Mark


 PGP signature


Re: Searching in multiple mailboxes

2000-10-25 Thread Rich Lafferty

On Wed, Oct 25, 2000 at 07:46:33PM +0200, Mark Weinem ([EMAIL PROTECTED]) 
wrote:
 On Wed, 25 Oct 2000, Suresh Ramasubramanian wrote:
 
  I believe grepmail does maildirs rather well.
 
 man grepmail:
 
 "[...] Mailboxes must be traditional, UNIX /bin/mail mailbox
 format [...]"

Maybe I'm confused as to what maildir-format comprises, but wouldn't
one search maildirs with plain old 'grep'? 

  -Rich

-- 
-- Rich Lafferty ---
 Sysadmin/Programmer, Instructional and Information Technology Services
   Concordia University, Montreal, QC (514) 848-7625
- [EMAIL PROTECTED] --



Re: Searching in multiple mailboxes

2000-10-25 Thread Jack McKinney

Big Brother tells me that Mark Weinem wrote:
 On Wed, 25 Oct 2000, Jack McKinney wrote:
 
  cd Maildir;
  find . -type f | xargs fgrep -l searchstring
 
 Wow, what a comfortable search tool ;-)

For those who remember reading news this way, I thought you'd appreciate
it.  Sometimes simple solutions are best.  If one is using zsh, one could
try this:

mutt -f (cat $(find . -type f | xargs fgrep -l searchstring)).  This might
not work due to the missing 'From ' line, but that can always be added:

mutt -f (for i in $(find . -type f | xargs fgrep -l searchstring) ; do ; grep '^From: 
' $i | head -1 | sed s/From:/From/ ; cat $i ; echo ; done)

If one is using a lesser shell, something like this might work:

for i in `find . -type f | xargs fgrep -l searchstring` ; do mutt -f $i ; done

None of these are tested, BTW.

I have been meaning to patch the mailindex package I posted about earlier
to process maildirs (it would be a lot easier to write than the way it is
currently written, which has to parse mailboxes).

--
"Restore your inalienable human rights.   Jack McKinney
 Vote Libertarian.  http://www.lp.org http://www.lorentz.com
 http://www.harrybrowne2000.org   [EMAIL PROTECTED]
  1024D/D68F2C07 4096g/38AEF076

 PGP signature


Re: Wish-list

2000-10-25 Thread Michael Tatge

Anthony Liu muttered:
 
 It would be great if Mutt support filtered view, for example, one can
 select only to display new messages, or subject, author that match a regex
 so that unmatched mails will stay hidden.

This is exactly what limit provides! :-)

HTH,

Michael
-- 
"Text processing has made it possible to right-justify any idea, even
one which cannot be justified on any other grounds."
-- J. Finnegan, USC.

PGP-Key: http://www.stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: Mutt 1.0.1i

2000-10-25 Thread Martin Schweizer

Hello Suresh


 Martin Schweizer proclaimed on mutt-users that:

  I've FreeBSD4.0 and Mutt 1.0.1i. It runs ok but I've some questions:
  - when I start Mutt the following error occurs: "repetion-operator
operand
  invalid"

 Try recompiling it.

I did it. Always the same!

What is going wrong?

Thanks.
Martin




Re: Mutt 1.0.1i

2000-10-25 Thread Timothy Legant

On Tue, Oct 24, 2000 at 09:36:38PM +0200, Martin Schweizer wrote:
 Hello
 I've FreeBSD4.0 and Mutt 1.0.1i. It runs ok but I've some questions:
 - when I start Mutt the following error occurs: "repetion-operator operand
 invalid"

This sounds like one of your regular expressions is malformed (in
.muttrc). Examine them, especially where a repitition operator, like '+'
or '*', is used.

 - when I send mails the following error occurs: "/home/info/Mail/sent: No
 such file or directory (errno=2)" . I know there are some variables to set
 but which and how?
 What's going wrong?

Check your 'set record=' setting in .muttrc. Mutt stores copies of
outgoing mail there. If the file (or directory) doesn't exist or points
to somewhere Mutt doesn't have permission to write you might see this
error.

Also, if you use '+' or '=' as a shortcut to your mail directory
(example: set record=+sent), make sure that the 'set folder=' command
comes /before/ the 'set record=' command.

 Thanks in advance.
 
 -Martin

HTH,

Tim
-- 
Tim Legant
[EMAIL PROTECTED]



Re: macros and attachments

2000-10-25 Thread Mark Weinem

On Tue, 24 Oct 2000, Byrial Jensen wrote:

 macro compose f2 "attach-file/home/mark/templates/mimeenter"

 macro compose f3 "attach-file/home/mark/templates/completecomplete"

cool, they work :-)

Thank You,
Mark Weinem





Re: attachment macro

2000-10-25 Thread Mark Weinem

On Wed, 25 Oct 2000, Mikko Hänninen wrote:

 Attach a file:
 
   macro compose f2 'attach-file/path/to/fileenter'

yes, this works.


 Open up a directory:
 
   macro compose f2 'attach-file/path/to/dir/complete'

This way you get the directory attached! Adding  a second
complete is necessary:

  macro compose f2 'attach-file/path/to/dir/completecomplete' 


Thanks,
Mark




Re: Viewing application/msword thingies.

2000-10-25 Thread Eric Smith

According to Morten Liebach on Wed, Oct 25, 2000 at 12:01:04AM +0200:
| Hi!
| 
|  I'm getting a lot af mail with *.doc files attached, and I'd like to
| use catdoc to show them in mutt, how do I do that?
| 
| I have the line:
| 
|   application/msword; catdoc -s iso8859-1 %s|less; cupiousoutput

I use:
application/msword;   /usr/local/bin/mswordview %s -o - --nocredits| \ 
/usr/local/bin/html2ascii|sed 's/\\[.*.gif\\]//';copiousoutput

You will need to install mswordview (which is worth doing).
The `\' indicates an unwanted line break.

HTH
-- 
Eric Smith
Fruitcom.com Amsterdam
Wire phone : +31 20 528 7340
Mobile: +31 6 241 259 16
www.fruitcom.com



How do I put a msg into the msg I'm composing?

2000-10-25 Thread Russell Hoover

A question about mutt forwarded from an elm user:

I'd like to be able to incorporate into the message I'm composing
an arbitrary message from the current folder, whatever it is,
without first having to tag that message and without having to
incorporate it as an attachment.

Secondarily, it would be nice if I could use some standard prefix (like
"=filename") to get "readmsg" to recognize the path to "filename" without
my having to type the whole thing.

There are three different directories (one of which is actually a subtree)
in which I'm likely to look for a message.  I don't insist on having all
three of my directories recognized; one would do just fine.

Thank you!

-- 
 // [EMAIL PROTECTED] //



automatically changing email address...

2000-10-25 Thread Josh Huber

I've got a question for you guys,

I'm using the following rules to differentiate between internal work
email and external email.  I'd like however, to be able to bind a key
(for example, 'M') to mean send but always use my work email address
as the From: header.

# nightshade email (default)
send-hook . my_hdr From: Josh Huber [EMAIL PROTECTED]
send-hook . 'set signature=~/.mutt/sig.nightshade'

# work email (used internally)
send-hook (missioncriticallinux|mclinux|mclx).com my_hdr 'From: Josh Huber 
[EMAIL PROTECTED]'
send-hook (missioncriticallinux|mclinux|mclx).com 'set signature=~/.mutt/sig.work'

That works, but how could I override this (for just one message)?

Another (completely unrelated) question I had was regarding the PGP
support.  I've been using it for a while now, but I'd like to have
some way to select a key for encryption automatically.  Well, it does
already do that, but I still get a list of all the uids listed for the
GPG key.  Selecting any of them works because gpg automatically
selects the right key for encryption, but automatically having this
done would be nice.  I immagine this could be done with a macro, but
is there a cleaner solution?

Thanks,

-- 
Josh Huber   | [EMAIL PROTECTED] |
1024D/6B21489A 61F0 6138 BE7B FEBF A223  E9D1 BFE1 2065 6B21 489A

 PGP signature


Message temporary file.

2000-10-25 Thread Brian Salter-Duke

I am not sure whether I am doing something the right way, but I have
come up against a wall. In the attach menu after saving the message, I
want to modify the message considerably by piping it to a script. The
modifications are such that they can not be done in situ. I have to
create another temporary file. The question is this - how do I replace
the original temporary file in the tmp directory by the new one so I can
then send the new file rather than the original? Is there a variable
that refers to the original file so I can just do:-

mv /tmp/new-file $variable

and overwrite the original message file? I can not find a pointer to
this but I may be missing the obvious of course.

Cheers, Brian.
-- 
Associate Professor Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED]  
Chemistry, School of BECS, SITE, NT University, Darwin, NT 0909, Australia.
Phone 08-89466702. Fax 08-89466847. http://www.smps.ntu.edu.au/
Get PGP2 Key:- http://www.smps.ntu.edu.au/chemistry/duke.key.html



Re: keeping mail in postponed

2000-10-25 Thread Bruce DeVisser

On Wed, Oct 25, 2000 at 04:23:51PM +0200, Eric Smith wrote:
 I like to use the postponed folder to send mail with a
 number of attachments to different recipients.  Each time
 I bring the mail from the postponed folder I would change
 the Salutation and possibly the message.
 
 Problem is, the mail once sent does not stay in the
 postponed foldr - I could Fcc it in put I want the message
 to be copied lesewhere as well for archive purposes.  A
 possible soution is to Fcc into two folders - but how?
 Else there may be another solution?

Both untested:

Instead of recalling postponed message (normally bound to
R), you could change folders to your postponed folder. Then
resend messages to your heart's content.

Or:
Send it normally but add an fcc to your postponed folder so
it rematerialises in that folder.

-- 
- Bruce



numeric keypad not working?

2000-10-25 Thread kiss the sun and walk on air

how do i get my numeric keypad working in mutt? i'm using helix gnome
on a debian woody system, running mutt from inside the gnome
terminal. if I have numlock on i get numbers at the bash prompt, but
not inside of mutt. (mainly to use it for quicker entry of message #'s
in the index view)
thanks.
-pete

-- 
(peter.royal|osi)@pobox.com - http://pobox.com/~osi
"god invented turn signals for a reason"
uin#153025


 PGP signature


Color

2000-10-25 Thread Jason Helfman

I noticed say in an Eterm or Xterm, the color green, is more like a neon
or Matrix like green, whereas in mutt, it is more like a dull green.

Could someone explain this to me..?

-- 
/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