folder-hook pattern matching

2000-12-17 Thread Eugene Lee

I'm trying to set up a folder-hook that matches all mailboxes I read
beginning with a specific character.  However, the ^ metacharacter does
not appear to work at all for some reason.  Here's an example that
should work but does not:

folder-hook ^b 'save-hook . =bobby'

Putting single quotes or quotation marks around the pattern has no
effect.  I must be missing something simple, yet I can't figure it out.
Any tips would be appreciated.

Mutt 1.2i (2000-05-09)
Copyright (C) 1996-2000 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: Linux 2.2.18pre20 [using slang 10202]
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  -USE_SETGID  -USE_DOTLOCK  +USE_FCNTL  -USE_FLOCK
+USE_IMAP  +USE_GSS  -USE_SSL  +USE_POP  +HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  +ENABLE_NLS
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/spool/mail"
SHAREDIR="/etc"
SYSCONFDIR="/etc"
-ISPELL


-- 
Eugene Lee
[EMAIL PROTECTED]



Re: PGP Setup 2.6.2 & 6.5.8

2000-12-17 Thread Rod Pike

On Sun, Dec 10, 2000 at 12:08:07AM -0200, Rod Pike wrote:
> On Thu, Dec 07, 2000 at 06:48:11PM +0100, Martin wrote:
> > On Wednesday, December 06, 2000 (CS:3.49.341) 22:54:19 [PM] (-0200)
> > Rod Pike [[EMAIL PROTECTED]] wrote...
> >  
> > > What version of pgp are you using?  I don't get a list of keys.  
> > 
> > AISB im not using pgp at all. gpg works fine for me!
> > 
> Sorry I thought we were comparing apples :)
> 
> > > I create a mail and use the "p" commmand to give me the encryption menu.
> > > Then I enter "e" for encrypt and "y" to send.  Then I get "Enter keyID
> > > for [EMAIL PROTECTED]:".  If I hit enter, mutt just keeps asking
> > > the same question.  If I enter the keyID given for the destination
> > > address ( using the output from pgp -kv ) I get the same response.  It
> > > doesn't seem to be able to find the key.  Do I need to set some
> > > variables in order for mutt to find my public ring?
> > 
> > So you can decrypt messages. How about signing or verifing signed messages?
> > Did you try to sign and encrypt a message? (pressing first S, then E in the
> > pgp menu)
> 
> After first doing a "p" "s" and then "p" "e", I get the same response
> when I send the message.
> 
> > 
> > from pgp6.rc
> > -
> > # read in the public key ring
> > set pgp_list_pubring_command="pgpring -5 %r"
> > -
> > 
> > First you should check if this command really lists your public key ring. If
> > it does, its a mutt problem. Probably pgp6 changed the format of the output
> > so mutt cant parse it anymore.
> > If that command doesnt list the public key ring you should look at your pgp 
> > manual to find the right command and insert it there (with the %r)
> 
> pgpring -5 gives the following colon delimited output.  I only have one
> key in my keyring so this is the total output.
> 
> fread: Success
> pub:n:1023:17:C8EA6B35BAEF3EBE:1997-10-09My Buddy <[EMAIL PROTECTED]>:
> fread: Success
> 
> I'm not sure if its in the right format or not.  What appears to be the
> keyID looks a little formidble.  I wonder why there isn't a -6 option
> for pgpring?
> 
> Can anybody me if mutt should be able to correctly parse the above
> string?
> 
> > 
> > (ever though about using gpg instead;))
> 
> Yes, I've started to play around with it but I'd like to get PGP working
> first.  I currently use Outlook for sending encrypted mails using PGP
> and I'd like to stick to PGP for the time being until I'm more
> comfortable with GPG.

Gave up trying to get PGP6 to work with mutt on my RH6.2 installation.
No luck figuring out what the problem or solution is.  I've switched to
GnuPG and so far thing seem to be working except for(I'll start
another thread)
-- 
Rod Pike
rodneyp @ utanet.at



How to encrypt messages that can be "easily" decrypted by Outlook/PGP?

2000-12-17 Thread Rod Pike

Are there ways of configuring mutt and GnuPG to easily encrypt messages
that can be easily decrypted by colleagues using Outlook/PGP?

-- 
Rod Pike
rodneyp @ utanet.at



Re: How to encrypt messages that can be "easily" decrypted by Outlook/PGP?

2000-12-17 Thread Nils Vogels

Hi Rod Pike !

On Sun 17 Dec 2000 (17:23), you muttered on the list:

> Are there ways of configuring mutt and GnuPG to easily encrypt messages
> that can be easily decrypted by colleagues using Outlook/PGP?
> 

Yes. Use cleartext signing and http://www.pgpi.com 's Outlook PGP plugin.

-- 
GUI
What your computer becomes after spilling your coffee on it.
(pronounced 'gooey')


 PGP signature


"You may not delete the only attachment."

2000-12-17 Thread Darxus

How can I make mutt allow me to "...delete the only attachment" ?

In cases where a message body is truly not necessary, like emailing a list
server where the commands go in the subject, it really frustrates me that
I can't delete the extra stuff, which would be simple if it weren't for
this restriction.  

A lot of times when I'm emailing files to people, I put the description in
the subject, and delete the message body (which I can do since there's
still another attachment - the file).

-- 
http://www.ChaosReigns.com

 PGP signature


Re: "You may not delete the only attachment."

2000-12-17 Thread Suresh Ramasubramanian

At 01:13 PM 12/17/00 -0500, [EMAIL PROTECTED] wrote:

>In cases where a message body is truly not necessary, like emailing a list
>server where the commands go in the subject, it really frustrates me that
>I can't delete the extra stuff, which would be simple if it weren't for
>this restriction.

Leave the message body blank, willya?  That should solve the 
problem.  Also, put something like "set abort_unmodified=ask-no" in your 
.muttrc


Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI




Re: "You may not delete the only attachment."

2000-12-17 Thread Darxus

On 12/17, Suresh Ramasubramanian wrote:
> Leave the message body blank, willya?  That should solve the 
> problem.  

Then I have a 0 byte attachment that I *still* can't delete, which is just
more annoying.

> Also, put something like "set abort_unmodified=ask-no" in your 
> .muttrc

Didn't help.

-- 
http://www.ChaosReigns.com



Re: "You may not delete the only attachment."

2000-12-17 Thread Suresh Ramasubramanian

At 01:30 PM 12/17/00 -0500, [EMAIL PROTECTED] wrote:


>Then I have a 0 byte attachment that I *still* can't delete, which is just
>more annoying.

as it is zero bytes, what is the problem? a waste of bandwidth? ;)


Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI




Re: "You may not delete the only attachment."

2000-12-17 Thread Darxus

On 12/18, Suresh Ramasubramanian wrote:
> as it is zero bytes, what is the problem? a waste of bandwidth? ;)

Severe annoyance.  And it takes me longer to delete the existing lines in
the message body (signature) than it does to hit "D" to delete that
unnecessary attachement.

I guess what you're saying is that to get my desired behaviore, I'm going
to need to patch mutt ?  

-- 
http://www.ChaosReigns.com



Re: auto expire

2000-12-17 Thread Mikko Hänninen

Larry Fletcher <[EMAIL PROTECTED]> wrote on Sat, 09 Dec 2000:
> mutt -f =mutt -e 'set delete;push D~r>2wq'
> 
> This is the error message:
> 
> No recipients specified.
> run-parts: /etc/cron.test/muttxpr exited with return code 1

I think the issue here is that Mutt won't run in the background like
you expect here, when it's invoked from cron.  The reason is that there
is no tty available, so in that case Mutt will only run in the automatic
mail sending mode.


Regards,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  // [EMAIL PROTECTED] // http://www.wizzu.com/
// The Corrs list maintainer  //  net.freak//  DALnet IRC operator/
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs/
"Do you believe in afterlife?"  "I'd settle for a life in this one."



Re: How to change top help bar?

2000-12-17 Thread Mikko Hänninen

Petr Hlustik <[EMAIL PROTECTED]> wrote on Sun, 10 Dec 2000:
> Is it possible to change the help bar at the top of mutt screen?

As far as I know, it's not.  You can either make the help line visible
or invisible, but that's where the customization features end.

I asssume it would be quite trivial to make the help line to just
display any text that the user wants, with the help of a Mutt variable.
Nobody's just needed that yet, so it's not been done...


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  // [EMAIL PROTECTED] // http://www.wizzu.com/
// The Corrs list maintainer  //  net.freak//  DALnet IRC operator/
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs/
"Unix: because reboots are for hardware upgrades!"



Procmail recipe to fetch gpg keys?

2000-12-17 Thread Lance Simmons

A day or two ago, someone on this list mentioned setting up a procmail
recipe to have gpg get keys automatically. Does anyone have an example
of such a recipe?

-- 
  .~.
  /v\   Lance Simmons
 // \\  [EMAIL PROTECTED]
/(   )\
__^_^
Condense soup, not books!



Re: How to encrypt messages that can be "easily" decrypted by Outlook/PGP?

2000-12-17 Thread Rod Pike

On Sun, Dec 17, 2000 at 06:47:48PM +0100, Nils Vogels wrote:
> Hi Rod Pike !
> 
> On Sun 17 Dec 2000 (17:23), you muttered on the list:
> 
> > Are there ways of configuring mutt and GnuPG to easily encrypt messages
> > that can be easily decrypted by colleagues using Outlook/PGP?
> > 
> 
> Yes. Use cleartext signing and http://www.pgpi.com 's Outlook PGP plugin.

How does one clearsign an email after composing it?  It doesn't seem to
be a part of the PGP menu.

-- 
Rod Pike
rodneyp @ utanet.at



Re: How to encrypt messages that can be "easily" decrypted by Outlook/PGP?

2000-12-17 Thread Nils Vogels

Hi Rod Pike !

On Sun 17 Dec 2000 (23:32), you muttered on the list:

> On Sun, Dec 17, 2000 at 06:47:48PM +0100, Nils Vogels wrote:
> > Hi Rod Pike !
> > 
> > On Sun 17 Dec 2000 (17:23), you muttered on the list:
> > 
> > > Are there ways of configuring mutt and GnuPG to easily encrypt messages
> > > that can be easily decrypted by colleagues using Outlook/PGP?
> > > 
> > 
> > Yes. Use cleartext signing and http://www.pgpi.com 's Outlook PGP plugin.
> 
> How does one clearsign an email after composing it?  It doesn't seem to
> be a part of the PGP menu.
> 
Indeed, it isnt part of he PGP menu .. the exact settings to make in your
GPG and muttrc are in the archive .. someone posted it about a week ago :)

Grtz,

Nils.

 PGP signature


Re: folder-hook pattern matching

2000-12-17 Thread Eugene Lee

On Sun, Dec 17, 2000 at 04:02:37AM -0800, Eugene Lee wrote:
: 
: I'm trying to set up a folder-hook that matches all mailboxes I read
: beginning with a specific character.  However, the ^ metacharacter does
: not appear to work at all for some reason.  Here's an example that
: should work but does not:
: 
:   folder-hook ^b 'save-hook . =bobby'

Figured it out, with a bit of a tip from David Champion (thanks dude!) :

folder-hook =^b 'save-hook . =bobby'

Of course this reminds me that the pattern either matches the entire
absolute filesystem pathname or any piece of the absolute pathname.
There's no shortcut to match a relative pathname.  For example, the
above working folder-hook works for this path:

/home/eugene/Mail/bob

but does not work for this path:

/home/eugene/Mail/info/bills

It would be nice to have another mailbox shortcut that would act as a
pseudo directory separator that refers to your current directory.  Too
bad this doesn't work:

folder-hook ./^b 'save-hook . =bobby'


-- 
Eugene Lee
[EMAIL PROTECTED]



Own header

2000-12-17 Thread Gottipati Aravind

Hi,
I need to set my own headers in my e-mail messages, I know how
to do the usual From: Reply-To etc. But my problem now is that I need to
override the default headers like Content-Type: text/plain to whatever I
want. I can do it the usual way using my_hdr, but mutt adds its own
header saying Content-Type: text/plain over my header, so some mailers
end up not recognizing my header.
So, I guess my question would be how do I get mutt to not
generate its default (Content-Type) header.. or make mutt recognize my
header and respect it?
thank you,
Aravind
 



Automatically checking for new mail.

2000-12-17 Thread John Kerbawy

Hi.

I can't figure out how to tell mutt to check for new mail automatically.
I'd like to be able to glance over at my mutt window and see if new mail
has come in without hitting 'Tab.'

Does mutt provide this feature?

__ 
John Kerbawy <[EMAIL PROTECTED]>



Re: Automatically checking for new mail.

2000-12-17 Thread Suresh Ramasubramanian

John Kerbawy proclaimed on mutt-users that: 

> I can't figure out how to tell mutt to check for new mail automatically.
> I'd like to be able to glance over at my mutt window and see if new mail
> has come in without hitting 'Tab.'
> Does mutt provide this feature?
 
 If you have mail arriving in your mailbox continuously put

 set mail_check=10   # how often to poll for new mail

 in your .muttrc (that value is in minutes).  Or just press $ to sync your
 mailbox once in a while if you want to check for new mail before that
 interval.
 
-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
The main problem I have with cats is, they're not dogs.
-- Kevin Cowherd



Re: Procmail recipe to fetch gpg keys?

2000-12-17 Thread Joe Philipps

On Sun, Dec 17, 2000 at 03:11:43PM -0600, Lance Simmons wrote:
>A day or two ago, someone on this list mentioned setting up a procmail
>recipe to have gpg get keys automatically.

That would be I.

>Does anyone have an example
>of such a recipe?

Not yet.  But I'll elaborate a little further with what I know of
recipes, to give people suggestions should they want to take it to
the next level.

I've found that with GPG (at least 1.0.4), it's unnecessary to have a
separate key fetching command, as GPG will do it automatically if you
tell it a keyserver to try either on the command line or in the
options file.  You can probably "hook into" the recipe given in the
FAQ for adding the PGP MIME header for traditional messages.  The c
flag (at the beginning of the recipe) can be used to copy the message
to both gpg and formail.  Or the creative use of a pipeline with
tee(1) and a named FIFO can be crafted.  (mkfifo gpgpipe; tee gpgpipe
| formail ... ; gpg --verify , http://www.philippsfamily.org/Joe/
public PGP/GPG key 0xFA029353 available via http://www.keyserver.net

 PGP signature


Re: Automatically checking for new mail.

2000-12-17 Thread John Kerbawy

On Mon, Dec 18, 2000 at 10:07:52AM +0530, Suresh Ramasubramanian wrote:
> John Kerbawy proclaimed on mutt-users that: 
> 
> > I can't figure out how to tell mutt to check for new mail automatically.
> > I'd like to be able to glance over at my mutt window and see if new mail
> > has come in without hitting 'Tab.'
> > Does mutt provide this feature?
>  
>  If you have mail arriving in your mailbox continuously put
> 
>  set mail_check=10   # how often to poll for new mail
> 
>  in your .muttrc (that value is in minutes).  Or just press $ to sync your
>  mailbox once in a while if you want to check for new mail before that
>  interval.

ah, the value is in minutes. I was using that variable, but I figured it
was seconds for some reason.

Thank you.

__ 
John Kerbawy <[EMAIL PROTECTED]>