Re: :repeat command

2001-09-20 Thread Gary Johnson

On Wed, Sep 19, 2001 at 10:59:31PM -0500, David wrote:

 I would like a command that could repeat the last command...  So If I
 had just hit 's' to save a message to another mailbox, I could hit '.',
 and save another message to that same mailbox. (think vi) 

For that particular case, you can save to the previously-saved-to folder
with

s.

Gary

-- 
Gary Johnson   | Agilent Technologies
[EMAIL PROTECTED]   | Spokane, Washington, USA
http://www.spocom.com/users/gjohnson/mutt/ |



Re: X-GPG headers [was: GnuPG and accented characters]

2001-09-20 Thread René Clerc

On Wed, Sep 19, 2001 at 06:59:11AM -0400, David T-G wrote:

[... some very long config line ;) ...]

| % This is because of GnuPG: when Mutt asks gpg for a key, and in case
| % gpg doesn't have it, it downloads the key from a server, and passes
| % it back to Mutt. So the retrieving is transparent to Mutt...
| 
| Right.  I think it likely, though, that you have a default value for
| pgp_getkeys_command and are using that.

Nopz. Just deleted your key (sorry), added

set pgp_getkeys_command=

to my ~/.muttrc and it did download your key again ;). So IMHO if you
have set a good keyserver in your ~/.gnupg/options file, you don't
need the pgp_getkeys_command...

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



Re: .signature-related blues

2001-09-20 Thread René Clerc

On Wed, Sep 19, 2001 at 10:39:20AM -0400, Miguel Farah F. wrote:
| I believe there was a vim command or option that trimmed the signature
| off when editing/quoting the message.  Might want to search the
| archives.  

At http://www.math.ohio-state.edu/~lahvak/software/files/dotvimrc
you can find a few keymappings concerning quoted text and sigs.

I use them myself too ;)

| I think that this should be a mail-client feature, considering it does
| the rest of the preformatting (i.e. inserting quotes and the
| attribution, etcetera) too.

I think it's handy _not_ to have it in the mail-client, because
sometimes you don't want the sig to be cut off. Probably in the case
one sends you random quotes at the end of his sig, and you want to
reply on a quote ;)

(taken from How to link two different subjects ;-)

| Mutt will let you use the output of a program as a signature, so you
| could either whip up or otherwise find a program to do this.  I'm almost
| sure I've seen it mentioned before.  
| 
| Cool. I'll see that.

I use the following:

set signature=~/.mutt/signature|

And the script signature looks like:

#!/bin/bash

cat /home/rene/.signature
echo 
/usr/games/fortune -a -s -n 200

HTH,

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

Fortune sides with him who dares.
-Virgil, Aeneid



Re: spaces in attachments -- or modifying the attachment name ?

2001-09-20 Thread J?rn Seaman

Hi,

On Wed, Sep 19, 2001 at 08:32:18AM +0200, Johannes Zellner wrote:
 Hi,
 
[...]
 1) what if the file name contains spaces ?
I tried quotin the file name, but tat didn't help

Try masquerading the space with an backslash.
If the backslash is not interpreted by mutt, it should work.

Jörn
-- 
EMC Technology Center Paderborn, Zuken GmbH * Vattmannstr. 3 * D-33100 Paderborn * 
Germany
Dipl.-Phy. Jörn Seaman  * Software Engineer
 
mailto:[EMAIL PROTECTED]* Fon: +49-5251-150-625 * Fax: 
+49-5251-150-700
gpgkey-ID: 1BE6FD25   * Fingerprint: 83D7 81B2 52C0 3BE1 58EB 5096 8B98 C8A2 1BE6 
FD25

 PGP signature


Re: Address Book for Vim?

2001-09-20 Thread Cliff Sarginson

On Wed, Sep 19, 2001 at 10:20:14PM -0700, Ryan Allen wrote:
 the application abook (thanks Andre), was exactly what I was looking
 for.  It works seamlessly with mutt and vim, and I had it working in a
 matter of minutes.  I also produced a script in under an hour that
 queried my contacts database and created a .abook.addressbook file.
 
 This is an awesome program, simple and powerful querying capabilites.  It
 can be found at:
 
 abook.sourceforge.net
 
 Thanks!  
 
 -- Ryan

Yes it is a cute program (can a program be cute ?)
But I wish it had a facility to edit an entry (if you
make a spilling mistake)..rather than have to type it in
again...

-- 
Regards
Cliff





Re: Address Book for Vim?

2001-09-20 Thread Will Yardley

Cliff Sarginson wrote:
 Yes it is a cute program (can a program be cute ?) But I wish it had
 a facility to edit an entry (if you make a spilling mistake)..rather
 than have to type it in again...

yes!!! that is one of my main annoyances with it as well. it would be
nice if it supported standard emacs line editor bindings as well (or
better yet, allowed programmable ones).

i assume you mean 'spelling mistake' not 'spilling mistake' or was
that on purpose? :

w
 
-- 
Sintax error in config file! (line 378)
aborted!

GPG Public Key:
http://infinitejazz.net/will/pgp/



Re: Address Book for Vim?

2001-09-20 Thread René Clerc

On Wed, Sep 19, 2001 at 10:20:14PM -0700, Ryan Allen wrote:

| This is an awesome program, simple and powerful querying capabilites.  It
| can be found at:
| 
| abook.sourceforge.net

Are there some things I don't see? I've just installed it, imported my
aliases, but don't see the added value of this program. It has some
extra features that mutt doesn't have, but the fact that I can't add
an address from within mutt is a bummer.

So, I don't see the added value. Please convince me with some
arguments, so I can tell if I'm overlooking something...

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

It's illegal in Wilbur, Washington, to ride an ugly horse.



Re: going immediately to the folder list

2001-09-20 Thread David

On Wed, 19 Sep 2001, Johannes Zellner wrote:
 
 is it possible to go immediatly to the folder list, if hitting 'c' ?
 

try loading mutt with 'mutt -y'


-- 
Don't tell me I'm burning the candle at both ends -- tell me where to
get more wax!!
-
David Clarke [EMAIL PROTECTED] | David Clarke s3353950
GPG Fingerprint :  869B 53DD 5E80 E1F0 93F6  9871 0508 0296 5957 F723



Re: spaces in attachments -- or modifying the attachment name ?

2001-09-20 Thread Jörn Seaman

Hi,

On Wed, Sep 19, 2001 at 08:32:18AM +0200, Johannes Zellner wrote:
 Hi,
 
[...]
 1) what if the file name contains spaces ?
I tried quotin the file name, but tat didn't help

Try masquerading the space with an backslash.
If the backslash is not interpreted by mutt, it should work.

Jörn
-- 
EMC Technology Center Paderborn, Zuken GmbH * Vattmannstr. 3 * D-33100 Paderborn * 
Germany
Dipl.-Phy. Jörn Seaman  * Software Engineer
 
mailto:[EMAIL PROTECTED]* Fon: +49-5251-150-625 * Fax: 
+49-5251-150-700
gpgkey-ID: 1BE6FD25   * Fingerprint: 83D7 81B2 52C0 3BE1 58EB 5096 8B98 C8A2 1BE6 
FD25

 PGP signature


Re: rot13 capability?

2001-09-20 Thread David T-G

Piet, et al --

...and then Piet Delport said...
% On Wed, 19 Sep 2001 at 15:09:32 -0400, David T-G wrote:
%  ...and then David Champion said...
% [snip]
%  % Guess someone just can't make up their minds. I wonder whether it's
%  % Sun or a standards agency. I wish I still had other platforms
%  
%  Yeah.
% 
% Well, FreeBSD has the following to say under tr(1):
[snip]

Oooh; details!  Thanks so much; that's helpful and kind of brings things
together.


% (hope the URL gets through intact) ]

It did; thanks.


% 
% So, under the POSIX standard at least (and *BSD, in this case), the One
% True Way is:
% 
% tr A-Za-z N-ZA-Mn-za-m
% 
% Does that work under Solaris?

I'm sure it does under 2.6 and 8, and almost sure for 2.x* for 2x6, if
it's quoted; I'm not sure about the naked version exactly as you have it.


% 
%  % Well, the lesson is that tr usage varies wildly among platforms,
%  % just like expr, but we already knew that. :)
% 
% That's what POSIX tries to remedy. :)

Yep :_)


% 
%  % So maybe it's best just to have your .mailcap call that rot13 shell
%  % script, and adapt the script to cope with unames appropriately. Or
%  % use perl.
%  
%  sh is portable (see other drifted-off-topic thread :-) but with this
%  much garbage rolled in I think I will, indeed, go for perl.
% 
% Heavens man, have you no concern for efficiency? :-) If the POSIX

But perl is *fun*!


% version doesn't work under Solaris, i'd rather go for:
% 
% tr ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz \
%NOPQRSTUVWXYZABCDEFGHIJKLMnopqrstuvwxyzabcdefghijklm
% 
% Much more lightweight, and should work practically anywhere, even if
% it involves a bit of extra typing.

Only once, though, so typing isn't the problem.  No, this is guaranteed
to work everywhere.


% 
% Also, as for getting mutt to actually use the filter, i'm surprised no
% one has pointed at $display_filter yet.

Um, what's that?  Off to read the man pages...


% 
% Instead of resorting to hacks involving .mailcap and (horrors :-) editing
% the message's content type[1], you can just do something like:
% 
% macro pager ( enter-commandset display_filter=\nenter-commandmacro pager \\ca 
)\ndisplay-toggle-weeddisplay-toggle-weed
% macro pager ) enter-commandset display_filter=rot13\nenter-commandmacro pager 
\\ca (\ndisplay-toggle-weeddisplay-toggle-weed
% macro pager \ca   )   Toggle ROT13 decoding
% 
% (Pity there's no way to force mutt to re-parse the message... i'm using
% a double display-toggle-weed to simulate one.)

Nice trick.


% 
% Just replace `rot13' with your chosen filter command and you're set;  no
% extra config required, and no risk of munging actual messages.

Excellent!  I'll change \ca to \cx (an old rn man :-) and be set, it
seems.


% 
% 
% [1] What happens if the message you're rot'ing is something besides
% text/plain, like text/html f'rinstance?  The given macro will just
% nuke the content-type from orbit, leaving you looking at HTML
% source.

I had worried about that myself, but figured I'd limit this functionality
to text-only messages and be happy I had it at all :-)  I also haven't
yet read Vineet's method for multipart mails but figured that it might
take care of that concern...


% 
% -- 
% Piet Delport [EMAIL PROTECTED]
% Today's subliminal thought is:


:-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: does %F index_format option in verson 1.0.1i not work right?

2001-09-20 Thread David T-G

Ben --

...and then Ben Johnson said...
% I am using Mutt 1.0.1i (2000-01-18) and I have my index_format set list
% this...
% 
% set index_format=%4C %Z %{%b %d} %-15.15F (%4l) %s
% 
% the %F option does not seem to work correctly because email address
% From from me shows up as being from Ben Johnson. All other
% installations of mutt I have ever used set this column to
% To recipient when the message is from me.

That's the classic $alternates problem.  I, personally, haven't seen
anything else that causes it.


% 
% I am using the same config file I use on all other working systems so I
% think it must me a problem with this specific version of mutt.  Is that
% right?  Is there an easy way to fix it?

I used 1.0* before moving to 1.2 (no time spent inthe 1.1 tree) and I
never saw this.

I know that you use the same config file(s) everywhere, but ... :-)
On that machine, in that mutt, type

  :set ?alternates

to see how your $alternates are set.  Look for the email address in
question to make sure it's in there.  Perhaps even set $alternates to be
just that address and see if %F changes for you.


% 
% Thanks very much in advance for any help!

HTH  HAND


% 
% - Ben


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


imap problem

2001-09-20 Thread mahipal.rao

Hi

Recently  I started using mutt. Now i love using mutt
But i am facing problem with imap
when ever i use mutt -f{imap.server}mbox and send mails,
its not sending the mails. and there are no error msgs. and I dont
have write permissions on imap server.
Its pain to read mails in mutt and compose mails in netscape-mail
I want every thing in mutt.


Here is my .muttrc
set imap_user=mahipal.rao
set imap_pass=
#set user=mahipal.rao
#set [EMAIL PROTECTED]
my_hdr From: mahipal.rao [EMAIL PROTECTED]
my_hdr Reply-To: mahipal.rao [EMAIL PROTECTED]
set realname=mahipal.rao
set envelope_from=yes
set force_name=yes
#set imap_checkinterval=5
set beep
set beep_new
set edit_headers
set attribution=* %n (%a) wrote:
set charset=iso-8859-1
set date_format=!%a %b %d, %Y at %I:%M:%S%p %Z
set default_hook=~f %s | ~t %s
set editor=vim '+/^$'
set sort=threads
set arrow_cursor
#set useragent
#set tmpdir=/home/mahipal.rao/temp
color normal default default
color header yellow black Subject:
color header brightcyan black .
color body brightyellow black [_a-z\.\$A-Z0-9-]+@[a-zA-Z0-9\./\-]+
color body yellow black (http|ftp)://[_a-zA-Z0-9\./~\-]+
color quoted green black
color signature brightblue black
color attachment yellow black
color tree red black
color indicator black cyan



--
P.Mahipal Rao
EXABAND (India) PRIVATE LIMITED,
24,shantiniketan,
East Marredpally,
Secunderabad-26

**

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed.
Mail recipients and senders are bound by the EXABAND (INDIA) PRIVATE LIMITED'S
Non-Disclosure Policy.
If you have not signed the Non-Disclosure Policy or if you feel you have
received this mail in error, please notify [EMAIL PROTECTED]

***






macro help (was Re: rot13 capability?)

2001-09-20 Thread David T-G

Piet, et al --

...and then Piet Delport said...
% 
...
% Instead of resorting to hacks involving .mailcap and (horrors :-) editing
% the message's content type[1], you can just do something like:
% 
% macro pager ( enter-commandset display_filter=\nenter-commandmacro pager \\ca 
)\ndisplay-toggle-weeddisplay-toggle-weed
% macro pager ) enter-commandset display_filter=rot13\nenter-commandmacro pager 
\\ca (\ndisplay-toggle-weeddisplay-toggle-weed
% macro pager \ca   )   Toggle ROT13 decoding
% 
% (Pity there's no way to force mutt to re-parse the message... i'm using
% a double display-toggle-weed to simulate one.)

Hokay, so I've given this a try and it works -- once.  I can \cx to
rotate and \cx to unrotate but then it stops.  My muttrc has

  macro pager ,@r13on enter-commandset 
display_filter=$HOME/local/bin/rot13\nenter-commandmacro pager \\cx 
,@r13off\ndisplay-toggle-weeddisplay-toggle-weed
  macro pager ,@r13off enter-commandset display_filter=\nenter-commandmacro 
pager\\cx ,@r13on\ndisplay-toggle-weeddisplay-toggle-weed
  macro pager \cx ,@r13on   Toggle ROT13 decoding

(yes, with the path hardcoded for the moment) and when I first start mutt
my pager help shows

  Help for pager -- (42%)
  ...
  ^X  M ,@r13on  Toggle ROT13 decoding
  ...
  ,@r13offmacro  enter-commandset display_filter=\nenter-co
  +  mmandmacro pager\cx ,@r13on\ndisplay-toggle
  +  -weeddisplay-toggle-weed
  ,@r13on macro  enter-commandset display_filter=/home/david
  +  tg/local/bin/rot13\nenter-commandmacro page
  +  r \cx ,@r13off\ndisplay-toggle-weeddisplay
  +  -toggle-weed

and then after a \cX my pager help shows

  Help for pager -- (41%)
  ...
  ^X  macro  ,@r13off
  ...
  ,@r13offmacro  enter-commandset display_filter=\nenter-co
  +  mmandmacro pager\cx ,@r13on\ndisplay-toggle
  +  -weeddisplay-toggle-weed
  ,@r13on macro  enter-commandset display_filter=/home/david
  +  tg/local/bin/rot13\nenter-commandmacro page
  +  r \cx ,@r13off\ndisplay-toggle-weeddisplay
  +  -toggle-weed

but the tricky part is that after another \cX my pager help still shows

  Help for pager -- (41%)
  ...
  ^X  macro  ,@r13off
  ...
  ,@r13offmacro  enter-commandset display_filter=\nenter-co
  +  mmandmacro pager\cx ,@r13on\ndisplay-toggle
  +  -weeddisplay-toggle-weed
  ,@r13on macro  enter-commandset display_filter=/home/david
  +  tg/local/bin/rot13\nenter-commandmacro page
  +  r \cx ,@r13off\ndisplay-toggle-weeddisplay
  +  -toggle-weed

and so I can never get back to rot13 mode unless I manually define \cX to
be ,@r13on again.  Can you see why ,@r13off isn't properly resetting \cX?
And why should the columns differ (example one to examples two and three)
and \cX lose its description?

Meanwhile, I think I may have hit on a limit in macro name length; this
didn't work with ,@rot13off so I had to shorten it a bit.  I haven't
looked yet other than briefly at the manual, which didn't mention one,
but does anyone know of a name length limit?


Thanks again, and in advance.

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


what makes mutt recognize mbox files?

2001-09-20 Thread Erika Pacholleck

Using 1.2.5i on linux.
I downlaoded some mail archives, normally this works fine, just
put them into my archive folder, fire mutt on it and voila.

Now however this does not work, mutts index keeps black (no it
is not black text on black bg ;) ) although the status lines
already indicates the correct size, but no messages counted.

The headers contain these lines
From xxx
Date: bbb
From: xx
Subject: aaa

I thought, this should be enough but apparently it is not. And
also vim does not recognize this file as a mail file.

I tried already to add some other headers to see whether I can
get this working somehow before running it through any processing
but no chance. So I would appreciate if someone has an idea what
to keep my eyes on. Thanks.
-- 
Erika Pacholleck [EMAIL PROTECTED]
mutters: insert vowels of last name



Re: what makes mutt recognize mbox files?

2001-09-20 Thread David T-G

Erika --

...and then Erika Pacholleck said...
% Using 1.2.5i on linux.
% I downlaoded some mail archives, normally this works fine, just
% put them into my archive folder, fire mutt on it and voila.
% 
% Now however this does not work, mutts index keeps black (no it
% is not black text on black bg ;) ) although the status lines

*smile*


% already indicates the correct size, but no messages counted.
% 
% The headers contain these lines
% From xxx
% Date: bbb
% From: xx
% Subject: aaa
% 
% I thought, this should be enough but apparently it is not. And
% also vim does not recognize this file as a mail file.

You don't by chance have any garbage or empty lines at the very beginning
of the file, to you?

What does file(1) tell you?


% 
% I tried already to add some other headers to see whether I can
% get this working somehow before running it through any processing
% but no chance. So I would appreciate if someone has an idea what
% to keep my eyes on. Thanks.

HTH  HAND


% -- 
% Erika Pacholleck [EMAIL PROTECTED]
% mutters: insert vowels of last name


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

2001-09-20 Thread David T-G

Mahipal --

...and then mahipal.rao said...
% Hi

Hello!


% 
% Recently  I started using mutt. Now i love using mutt
% But i am facing problem with imap
% when ever i use mutt -f{imap.server}mbox and send mails,
% its not sending the mails. and there are no error msgs. and I dont
% have write permissions on imap server.
% Its pain to read mails in mutt and compose mails in netscape-mail
% I want every thing in mutt.

You need to set up $sendmail so that mutt can talk to a local mail
transport program.  If you don't want to mess with sendmail or qmail or
another full-featured mail program, there are lots of very lightweight
ones around.

mutt does not talk SMTP directly as some other MUAs do.

Check the archives for ssmtp for an example, or wait for Suresh to reply
with pointers ;-)


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


Re: imap problem

2001-09-20 Thread Suresh Ramasubramanian

David T-G mutt [20/09/01 08:35 -0400]:
 mutt does not talk SMTP directly as some other MUAs do.
 Check the archives for ssmtp for an example, or wait for Suresh to reply
 with pointers ;-)

You rang?  http://www.hserus.net/sendmail.html
Mahipal: If you face any hassles in this call me at 3736553 (yeah, I'm in
Hyderabad)

-suresh




Re: macro help (was Re: rot13 capability?)

2001-09-20 Thread David T-G

Hi, all --

...and then David T-G said...
% 
% Hokay, so I've given this a try and it works -- once.  I can \cx to
% rotate and \cx to unrotate but then it stops.  My muttrc has
% 
%   macro pager ,@r13on enter-commandset 
display_filter=$HOME/local/bin/rot13\nenter-commandmacro pager \\cx 
,@r13off\ndisplay-toggle-weeddisplay-toggle-weed
%   macro pager ,@r13off enter-commandset display_filter=\nenter-commandmacro 
pager\\cx ,@r13on\ndisplay-toggle-weeddisplay-toggle-weed
%   macro pager \cx ,@r13on   Toggle ROT13 decoding

Thanks to Ulf for catching my absent space in the off macro; it should be

  ... enter-commandmacro pager \\cx ...

instead of 

  ... enter-commandmacro pager\\cx ...

as I originally had it.


Hey, rot13 is cool.  Now for a rot13 filter in vim :-)

:-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: what makes mutt recognize mbox files?

2001-09-20 Thread darren chamberlain

Erika Pacholleck [EMAIL PROTECTED] said something to this effect on 09/20/2001:
 Now however this does not work, mutts index keeps black (no it
 is not black text on black bg ;) ) although the status lines
 already indicates the correct size, but no messages counted.

mbox files are separated by \nFrom  (basically).

 The headers contain these lines
 From xxx
 Date: bbb
 From: xx
 Subject: aaa

Those lines that begin with  From  should be From .

 I thought, this should be enough but apparently it is not. And
 also vim does not recognize this file as a mail file.

If you are using vim, open the file and do: 

:%s/^From /From /

That should make vim recognize it as a mail file.

 I tried already to add some other headers to see whether I can
 get this working somehow before running it through any processing
 but no chance. So I would appreciate if someone has an idea what
 to keep my eyes on. Thanks.

Good luck.

(darren)

-- 
(1) Everything depends.
(2) Nothing is always.
(3) Everything is sometimes.



Another PGP-GnuPG problem...

2001-09-20 Thread Jean-Sebastien Morisset

Hi folks! :-)

When I was using PGP, I used to be able to re-read encrypted messages I
had sent - not so since I changed to GnuPG. I guess it doesn't include my
key in the encryption by default. What's the prefered way of configuring
this with mutt?

Thanks,
js.
-- 
Jean-Sebastien Morisset, Sr. UNIX Administrator [EMAIL PROTECTED]
Personal Homepage http://jsmoriss.mvlan.net/
This is Linux Country. On a quiet night you can hear Windows NT reboot!
 please pgp encrypt all correspondence 

 PGP signature


Re: Another PGP-GnuPG problem...

2001-09-20 Thread Dan Boger

On Thu, Sep 20, 2001 at 10:25:06AM -0400, Jean-Sebastien Morisset wrote:
 Hi folks! :-)
 
 When I was using PGP, I used to be able to re-read encrypted messages I
 had sent - not so since I changed to GnuPG. I guess it doesn't include my
 key in the encryption by default. What's the prefered way of configuring
 this with mutt?

check your .muttrc - I have this:

set pgp_encrypt_sign_command=pgpewrap gpg --passphrase-fd 0 -v --batch
-o - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r DC18C098
%r -- %f

notice that it mentiones there my keyid (DC18C098), it encrypts both to
my key and to the recipient (%r I think)...

HTH

:)

-- 
Dan Boger
Linux MVP
brainbench.com


 PGP signature


Re: macro help (was Re: rot13 capability?)

2001-09-20 Thread Byrial Jensen

On Thu, Sep 20, 2001 at 09:21:52 -0400, David T-G wrote:
 Hi, all --
 
 ...and then David T-G said...
 % 
 % Hokay, so I've given this a try and it works -- once.  I can \cx to
 % rotate and \cx to unrotate but then it stops.  My muttrc has
 % 
 %   macro pager ,@r13on enter-commandset 
display_filter=$HOME/local/bin/rot13\nenter-commandmacro pager \\cx 
,@r13off\ndisplay-toggle-weeddisplay-toggle-weed
 %   macro pager ,@r13off enter-commandset display_filter=\nenter-commandmacro 
pager\\cx ,@r13on\ndisplay-toggle-weeddisplay-toggle-weed
 %   macro pager \cx ,@r13on   Toggle ROT13 decoding

You can do it a little shorter as several commands can be entered at
the same command line. \nenter-command can be replaced by ; in
the on and the off macros.



Re: what makes mutt recognize mbox files?

2001-09-20 Thread Byrial Jensen

On Thu, Sep 20, 2001 at 16:19:56 +0200, Erika Pacholleck wrote:
 Using 1.2.5i on linux.
 I downlaoded some mail archives, normally this works fine, just
 put them into my archive folder, fire mutt on it and voila.
 
 Now however this does not work, mutts index keeps black (no it
 is not black text on black bg ;) ) although the status lines
 already indicates the correct size, but no messages counted.
 
 The headers contain these lines
 From xxx
 Date: bbb
 From: xx
 Subject: aaa
 
 I thought, this should be enough but apparently it is not. And
 also vim does not recognize this file as a mail file.

The problem is that the From_ line is not recognized. I found this
comment in the source file from.c which describes valid syntax:

/*
 * A valid message separator looks like:
 *
 * From [ return-path ] weekday month day time [ timezone ] year
 */



Re: Address Book for Vim?

2001-09-20 Thread Cliff Sarginson

On Thu, Sep 20, 2001 at 11:31:59AM +0200, René Clerc wrote:
 On Wed, Sep 19, 2001 at 10:20:14PM -0700, Ryan Allen wrote:
 
 | This is an awesome program, simple and powerful querying capabilites.  It
 | can be found at:
 | 
 | abook.sourceforge.net
 
 Are there some things I don't see? I've just installed it, imported my
 aliases, but don't see the added value of this program. It has some
 extra features that mutt doesn't have, but the fact that I can't add
 an address from within mutt is a bummer.

From my mutt startup files...
 
macro pager A |~/Procmail/mail2abook.py\n

mail2abook should be in the abook directory somewhere..

It doesn't win a prize for speed though...

-- 
Regards
Cliff





Deleting Mails

2001-09-20 Thread Sanjay Acharya

Hi 

After I have marked my mails as d for deleting can I delete all the mails at 
that instant without having to logg of Mutt and explicitly being asked for deletion?


-- 
Sanjay Acharya

Senior Software Developer
Plexus Technologies Inc.
http://www.plexustech.net



Re: Deleting Mails

2001-09-20 Thread Ralf Hildebrandt

On Thu, Sep 20, 2001 at 10:42:23AM -0700, Sanjay Acharya wrote:
 Hi 
 
   After I have marked my mails as d for deleting can I delete
 all the mails at that instant without having to logg of Mutt and
 explicitly being asked for deletion? 

Press $

-- 
[EMAIL PROTECTED]   innominate AG
+49.(0)30.308806-62  fax: -77 networking people
Every Software sucks. But Perl can suck in more ways than other
languages and much fewer lines of code.





Re: Deleting Mails

2001-09-20 Thread Ryan Cook

On Thu, Sep 20, 2001 at 10:42:23AM -0700, Sanjay Acharya wrote:
 Date: Thu, 20 Sep 2001 10:42:23 -0700
 From: Sanjay Acharya [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Deleting Mails
 Message-ID: [EMAIL PROTECTED]
 User-Agent: Mutt/1.2.5i
 
 Hi 
 
   After I have marked my mails as d for deleting can I delete
 all the mails at that instant without having to logg of Mutt and
 explicitly being asked for deletion? 

Sanjay,

Just do a synch, which is bound to '$' by default.  You'll
still be prompted...but I'm sure you can turn that prompt off
as well.  I've just never looked into it b/c I like the
prompt. 

/rc



Re: Deleting Mails

2001-09-20 Thread Hall Stevenson

 After I have marked my mails as d for deleting can I
 delete all the mails at that instant without having to
 logg of Mutt and explicitly being asked for deletion?

'sync' your mailbox. On my setup, and this binding is the
default, '$' does it.

Hall




Re: Deleting Mails

2001-09-20 Thread Alexander Wasmuth

Sanjay Acharya schrieb:

   After I have marked my mails as d for deleting can I delete
   all the mails at that instant without having to logg of Mutt
   and explicitly being asked for deletion?

$   sync-mailboxsave changes to mailbox

should do this.


Alex



Re: mail from specific addresses into seperate mailboxes?

2001-09-20 Thread David Rock

On Thu, Sep 20, 2001 at 12:34:53AM +0200, Andreas Ntaflos wrote:
 
 How do I config Mutt to have a mailbox file for lets 
 say each of the mailing lists I am subscribed to?
 A filter if you want, that puts mail from a specific
 address into a specific mailbox. 
 Or how do I set up Mutt to have a seperate mailbox
 for a second e-mail address?

Here are a couple other mutt-specific things you can add in your muttrc
file to help sorting out mail. Procmail gets you only halfway there. It
will place mail in separate folders, but you still need to manage the
separate folders in Mutt.

The following items are from my muttrc file. Each item can be found in
the mutt manual ;-)

#parameter settings
set folder=~/Mail
set record=~/Mail/sent-mail
set mbox=~/Mail/inbox

#lists
subscribe mutt-announce  # These tell mutt that you are subscibed
subscribe mutt-users # to these mailing lists

# mailboxes
mailboxes !  # These associate folders as mailboxes.
mailboxes =mutt-spool# The folder name corresponds to the 
 # destination that procmail is sending to.

#spool hooks for default read messages
mbox-hook mutt-spool=mutt  # This sets the folder mutt
   # to be the destination of
   # the read mail when you leave
   # the spool folder.

-- 
David Rock
[EMAIL PROTECTED]

 PGP signature


Re: Another PGP-GnuPG problem...

2001-09-20 Thread David Rock

On Thu, Sep 20, 2001 at 10:30:43AM -0400, Dan Boger wrote:
 On Thu, Sep 20, 2001 at 10:25:06AM -0400, Jean-Sebastien Morisset wrote:
  Hi folks! :-)
  
  When I was using PGP, I used to be able to re-read encrypted messages I
  had sent - not so since I changed to GnuPG. I guess it doesn't include my
  key in the encryption by default. What's the prefered way of configuring
  this with mutt?

I use this in my ~/.gnupg/options file:

encrypt-to key

-- 
David Rock
[EMAIL PROTECTED]



Re: macro help (was Re: rot13 capability?)

2001-09-20 Thread Piet Delport


--7AUc2qLy4jB3hD7Z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, 20 Sep 2001 at 08:21:14 -0400, David T-G wrote:
[...]
 My muttrc has
=20
   macro pager ,@r13on enter-commandset display_filter=3D$HOME/local/bi=
n/rot13\nenter-commandmacro pager \\cx ,@r13off\ndisplay-toggle-weeddi=
splay-toggle-weed
   macro pager ,@r13off enter-commandset display_filter=3D\nenter-comm=
andmacro pager\\cx ,@r13on\ndisplay-toggle-weeddisplay-toggle-weed
   macro pager \cx ,@r13on   Toggle ROT13 decoding
[...]
 And why should the columns differ (example one to examples two and
 three) and \cX lose its description?

Oops, missed that.  The description is lost every time Ctrl-x is
re-defined from within the other macros.  Either add it there, or drop
it altogether, i think.  (Docs?  We don' need no steenkin' docs! :-)

--=20
Piet Delport [EMAIL PROTECTED]
Today's subliminal thought is:

--7AUc2qLy4jB3hD7Z
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (FreeBSD)

iD8DBQE7qkwZzRUP82sZFCcRArMPAJ9/h+xzhC6Tc7uLujWyz8gZmK0SLQCgh6mZ
Ldq3zSyhNtGx2Er8eoJ2t5k=
=tGpy
-END PGP SIGNATURE-

--7AUc2qLy4jB3hD7Z--



Re: what makes mutt recognize mbox files?

2001-09-20 Thread Piet Delport


--xgyAXRrhYN0wYx8y
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, 20 Sep 2001 at 10:03:53 -0400, darren chamberlain wrote:
 Erika Pacholleck [EMAIL PROTECTED] said something to this effect on 09/2=
0/2001:
  Now however this does not work, mutts index keeps black (no it is
  not black text on black bg ;) ) although the status lines already
  indicates the correct size, but no messages counted.
=20
 mbox files are separated by \nFrom  (basically).
=20
  The headers contain these lines
  From xxx
  Date: bbb
  From: xx
  Subject: aaa
=20
 Those lines that begin with  From  should be From .

I think it's your local MDA that escaped the `From '. :-)

They show up naked here.  (I'm using Maildir here, which doesn't require
`From 's in the message body to be escaped.

Erika, those messages should be fine.  Any chance of you posting (or
mailing privately) some full examples (after stripping any
private/sensitive information, of course)?  The problem might be subtler
that the given example conveys.

--=20
Piet Delport [EMAIL PROTECTED]
Today's subliminal thought is:

--xgyAXRrhYN0wYx8y
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (FreeBSD)

iD8DBQE7qk8kzRUP82sZFCcRAh2mAJ0bjomQiOTSE9scSQ9VL+B4x5Or9wCeO54k
UiTGK6iTyN9sjyEgcJ2ntNs=
=tJNj
-END PGP SIGNATURE-

--xgyAXRrhYN0wYx8y--



Re: .signature-related blues

2001-09-20 Thread Piet Delport


--JgQwtEuHJzHdouWu
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, 20 Sep 2001 at 09:38:39 +0200, Ren=E9 Clerc wrote:
 On Wed, Sep 19, 2001 at 10:39:20AM -0400, Miguel Farah F. wrote:
 | I think that this should be a mail-client feature, considering it
 | does the rest of the preformatting (i.e. inserting quotes and the
 | attribution, etcetera) too.
=20
 I think it's handy _not_ to have it in the mail-client, because
 sometimes you don't want the sig to be cut off. Probably in the case
 one sends you random quotes at the end of his sig, and you want to
 reply on a quote ;)

If it's an option, you can turn it off temporarily in the rare cases
that you want to reply to a sig, and keep it on in the vast majority of
cases where you just want the .sig gone.

[...]
 And the script signature looks like:
=20
 #!/bin/bash
=20
 cat /home/rene/.signature
 echo 
 /usr/games/fortune -a -s -n 200

Very OT, but why use #!/bin/bash when #!/bin/sh will do?  Not every
Unix comes with bash in /bin like (most incarnations of) Linux. :-)

--=20
Piet Delport [EMAIL PROTECTED]
Today's subliminal thought is:

--JgQwtEuHJzHdouWu
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (FreeBSD)

iD8DBQE7qlUNzRUP82sZFCcRAm2XAJ9O8BIHbsOU2NU+wH0mCGK6vfzDJwCfSQZz
CwZb/Uk2no9Bpds+y3h4lhM=
=1sn0
-END PGP SIGNATURE-

--JgQwtEuHJzHdouWu--