Re: Problem verifying gpg signatures with pgp

2000-02-10 Thread Thomas Roessler

On 2000-02-09 22:29:51 -0500, Jim Breton wrote:

 Actually, I am setting the "pgp_sign_as" variable in my
 .muttrc... which is why I don't see why it wouldn't just pick the
 right algorithm based on that key.

Well, you are right that this would be possible.  But I'm not really
sure it would be worth the effort...

-- 
http://www.guug.de/~roessler/




Re: Mutt S/MIME

2000-02-10 Thread Thomas Roessler

On 2000-02-09 18:15:03 -0500, Adam Sherman wrote:

 Would it be possible to use Mutt with S/MIME cryptography?

It wouldn't be difficult to add support for this to mutt, once you
have a command-line based tool with the cryptographic functionality.

-- 
http://www.guug.de/~roessler/




Re: PGP error messages

2000-02-10 Thread Thomas Roessler

On 2000-02-09 23:05:36 -0500, Chris Woodfield wrote:

 Going through the archives, I found this mail, which mirrors
 exactly the errors I'm getting. I'm running 1.0.1-us.

1.0.1-us doesn't have any PGP support.  However, documentation on it
may have survived.

 THe other thing is that according to said doc/manual.txt, the only options
 for pgp_default_version are pgp2, pgp5, and gpg. I just installed
 6.5.2...am I going to be able to use that, or do I have to roll back to
 5.x?

Get an "i" version of mutt and either use the included pgp6.rc, or
set pgp_default_version to "pgp6".

-- 
http://www.guug.de/~roessler/




home/end keys do not work

2000-02-10 Thread Raju K V

hi,

In all the menus I have home bound to 'first-entry' and end bound to
'last-entry'. But these keys do not work in any menus. All other keys are
working as expected.

I am using gnome-terminal.

$mutt -v
Mutt 1.1.3i (2000-02-08)
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.12-20 [using slang 10202]
Compile options:
-DOMAIN
-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_GPG  
-BUFFY_SIZE 
-EXACT_ADDRESS  +ENABLE_NLS
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/spool/mail"
SHAREDIR="/usr/share/mutt"
SYSCONFDIR="/usr/etc"
ISPELL="/usr/bin/ispell"
_PGPPATH="/usr/bin/gpg"
_PGPGPGPATH="/usr/bin/gpg"
To contact the developers, please mail to [EMAIL PROTECTED].
To report a bug, please use the muttbug utility.

How do I fix this? IIRC, somebody had the same problem in aterm or
eterm(I am not sure). Was it fixed?

Thanks in advance,
Raju


 PGP signature


Re: Content-Type: message/partial ?

2000-02-10 Thread Byrial Jensen

On Thu, Feb 10, 2000 at 00:41:12 +0200, Mikko Hänninen wrote:
 Hello all Mutt gurus,
 
 Just recently I got a message where the content had apparently been
 split into 5 separate parts (messages).
 
 The headers reveal:
 
 Content-Type: message/partial; [...]

The message/partial MIME type is defined in RFC 2046. Mutt doesn't
support it because nobody yet was written code to do it.

 Looking at the contents, it looks like it's actually a message/multipart
 (ie. an email with an attachment) that is split into 5 parts.
 
 Is there any way to display this message with(in) Mutt?  And to reply?

No. I will suggest that you copy the 5 parts in sequence to a new
mbox folder, and then reassemble the original message in an editor
by deleting the overhead from splitting it in parts:

1) Delete "Subject", "Message-ID", "Encrypted", and "MIME-Version"
   headers, and all headers starting with "Content-" from the
   message enclosing the first part.

2) The body of the first message/partial part contains headers
   too. Delete all except "Subject", "Message-ID", "Encrypted",
   and "MIME-Version" headers, and except headers starting with
   "Content-".

3) Join the headers not deleted in 1) and 2). Now you have the
   real headers of the message.

4) Join all of the bodies by deleting all headers lines and the
   blank lines between headers and bodies from the other parts.

-- 
Byrial



Re: Solaris2.6/xterm/color?

2000-02-10 Thread Kurt

I can't get colours with Solaris' xterm either. Starting dtterm instead
of xterm does, however, work fine for me.

Kurt

On Tue, Feb 08, 2000 at 01:58:08PM +0100, Jan Houtsma wrote:
 At work i am at solaris 2.6.
 
 However i can't get mutt to start up inside xterm with colors.



Re: automatic moving messages to different mailboxes

2000-02-10 Thread Jan Ludewig

On Mon, Feb 07, 2000 at 08:35:41PM +1300, Jamie wrote:
 Also, I just realised that this may not be done through mutt, but
 through some other program, so if it is, just tell me the program.
Try procmail. The filters are quite easy to set up though procmail's
regexes are...well...stupid. Furthermore procmail is really slow
even with highly optimized scripts.
So, if you receive a lot of mails (1000/day) you should think about
using your own perl-script. I did it and *cowaboom* my mails were processed
up to 1000% faster ;).

Jan



Re: fetchmail

2000-02-10 Thread Jan Ludewig

On Mon, Feb 07, 2000 at 11:11:45PM +, Edmund GRIMLEY EVANS wrote:
 mike irwin [EMAIL PROTECTED]:
 
  run "fetchmail" at the command prompt, it just hangs up on
  downloading the first message, and i have to kill it or else it just
  tries to keep running. fetchmail logs in to the server okay,
 Ask this in [EMAIL PROTECTED]
 
 Try running fetchmail -v -v to get a detailed log
For a quick hack try to connect via telnet on port 110 to your pop-server
and manually delete the first message (DELE 1). Then try it again.
It won't fix the problem but it might help you to fetch the other mails.

Jan



Re: New mail notification

2000-02-10 Thread xavim

On Wed, Feb 09, 2000 at 02:21:13PM -0600, David DeSimone wrote:
 If you use Maildir folders, Mutt will always be able to easily tell if
 there is new mail.  If this is feasible for you, you should go ahead and
 switch to Maildir format.

Thanks a lot!

I have found a perl script to convert mbox 2 maildir and I
will try to convert my old mail (if you know of any other
conversion tool, please let me know).

Regards,

Xavi



Per mail index_format ???

2000-02-10 Thread Tobias Wagener

Hi,

I want to ask if there is a posibility, to get a per mail "index_format", or
another feature to do the following.

I have a maildir with mails of mine and mail of others. Now I want, if
the mail is from me, the "index" shows the name of the one the Mails goto,
and if the Mail is from someone, I want to see the name of him/her.


Greetings

Tobias Wagener

-- 
--- Tobias Wagener - Silcherstrasse 1 - D-89231 Neu-Ulm 
- Tel.: +49 731 9806456 - eMail: [EMAIL PROTECTED] -



Re: Changing X-Sender header

2000-02-10 Thread Wouter Hanegraaff

On Wed, Feb 09, 2000 at 08:02:40AM -0800, Claus Assmann wrote:
 On Wed, Feb 09, 2000, Lars Hecking wrote:
 
   The Sender: header is written by the MTA (eg. sendmail).
 
 sendmail does not generate a "Sender:" header.
 Which MTA does it?

Postfix, if I set the From: address manually with edit_headers. It's set
to the same value as the From (not From:) header on the first line of a
message

Wouter

-- 
Linux duckman 2.2.14 #1 Wed Jan 5 14:45:16 CET 2000 i586 unknown
 11:42am  up 14 days, 18:21,  0 users,  load average: 0.00, 0.02, 0.00



Re: mail does not reach certain hosts

2000-02-10 Thread Marius Gedminas

On Thu, Feb 10, 2000 at 03:11:36AM -0500, Michael Tatge wrote:
 Hi,
 
 I have a major problem with Mutt 1.0i. Mail to some hosts does not reach its
 destination without me getting an error message. I use sendmail as MTA and
 it seems that sendmail is correctly configured. When I use netscape or kmail
 this does not happen though I also use sendmail as MTA then.
 The thing I can't understand why it's only some hosts that do not receive my
 mail, while with other it's on problem!

It could be caused by a wrong envelope `From '.  If it is set
incorrectly, your error messages from remote SMTP servers will go to the
wrong address.  You can try adding this to your .muttrc:

  set sendmail="/usr/sbin/sendmail -oem -oi [EMAIL PROTECTED]"

However fixing this in sendmail configuration is the Right (and hard)
Way to do it.

I've heard that Return-Path: header has something to do with all this,
but I don't know for sure.

Marius Gedminas
-- 
$ fortune
$3,000,000



Re: Changing X-Sender header

2000-02-10 Thread Lars Hecking

Wouter Hanegraaff writes:
 On Wed, Feb 09, 2000 at 08:02:40AM -0800, Claus Assmann wrote:
  On Wed, Feb 09, 2000, Lars Hecking wrote:
  
The Sender: header is written by the MTA (eg. sendmail).
  
  sendmail does not generate a "Sender:" header.
  Which MTA does it?
 
 Postfix, if I set the From: address manually with edit_headers. It's set
 to the same value as the From (not From:) header on the first line of a
 message

 This is proper RFC 822 behaviour (Sec. 4.4.2), although the RFC doesn't
 say it's the MTA's job to add Sender:.



Re: New mail notification

2000-02-10 Thread Byrial Jensen

On Thu, Feb 10, 2000 at 11:57:35 +0100, [EMAIL PROTECTED] wrote:
 I have found a perl script to convert mbox 2 maildir and I
 will try to convert my old mail (if you know of any other
 conversion tool, please let me know).

I know one called Mutt. :-)

Open the mailbox to be converted, and type the command
":set mbox_type=maildir" so newly created mailboxes will be
maildirs. Then tag all messages with "T." and copy them to a
new maildir mailbox with ";C".

-- 
Byrial



Re: Per mail index_format ???

2000-02-10 Thread Byrial Jensen

On Thu, Feb 10, 2000 at 10:25:15 +0100, Tobias Wagener wrote:
 
 I have a maildir with mails of mine and mail of others. Now I want, if
 the mail is from me, the "index" shows the name of the one the Mails goto,
 and if the Mail is from someone, I want to see the name of him/her.

use %F somewhere in your $index_format configuration variable.

-- 
Byrial



Slightly weird behaviour

2000-02-10 Thread Jamie Love

This is probably just a simple error on my part but...

When I send mail, anywhere and it recieve it back (ie, through a mailing
list, or when I send mail to myself - for testing purposes, I'm not
really that lonely :-), I get, instead of my name, the name of the
address I sent it to. For example, this email will show up as from 
"To [EMAIL PROTECTED]" which is weird.

When I read the message, the From: line has my name/email address there.
I think, for some reason it's reading the To: line. 

Have I missed something from the manual?

Anyone know how to fix this to show my email address?

Cheers

-- 
Jamie 
 -  "Well-timed silence hath more eloquence than speech. "
   - Martin Fraquhar Tupper 



Re: fetchmail

2000-02-10 Thread Thomas Roessler

The problem observed may be due to problems with path MTU discovery,
induced by overly restrictive firewalls.

As a solution, try to play around a bit with mru and mtu parameters.

On 2000-02-10 09:25:07 +0100, Jan Ludewig wrote:
 Date: Thu, 10 Feb 2000 09:25:07 +0100
 From: Jan Ludewig [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: fetchmail
 User-Agent: Mutt/1.1.2i
 
 On Mon, Feb 07, 2000 at 11:11:45PM +, Edmund GRIMLEY EVANS wrote:
  mike irwin [EMAIL PROTECTED]:
  
   run "fetchmail" at the command prompt, it just hangs up on
   downloading the first message, and i have to kill it or else it just
   tries to keep running. fetchmail logs in to the server okay,
  Ask this in [EMAIL PROTECTED]
  
  Try running fetchmail -v -v to get a detailed log
 For a quick hack try to connect via telnet on port 110 to your pop-server
 and manually delete the first message (DELE 1). Then try it again.
 It won't fix the problem but it might help you to fetch the other mails.
 
 Jan
 

-- 
http://www.guug.de/~roessler/




Re: mail does not reach certain hosts

2000-02-10 Thread Frank Derichsweiler

On Thu, Feb 10, 2000 at 12:53:43PM +0200, Marius Gedminas wrote:
 Return-Path: 
[EMAIL PROTECTED]
  ^^^
 Date: Thu, 10 Feb 2000 12:53:43 +0200
 From: Marius Gedminas [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: mail does not reach certain hosts
 Message-ID: [EMAIL PROTECTED]
 
 I've heard that Return-Path: header has something to do with all this,
 but I don't know for sure.
 

qmail uses the Return-Path during the delivery of an email to a
user. It is copied from the envelope sender.

HTH
Frank




Re: Per mail index_format ???

2000-02-10 Thread Mikko Hänninen

Byrial Jensen [EMAIL PROTECTED] wrote on Thu, 10 Feb 2000:
 use %F somewhere in your $index_format configuration variable.

... and make sure your $alternates setting is correct, or %F won't
work right.


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 /
"Veni; Vidi; Vi C++" -- I came, I saw, I programmed



Re: Solaris2.6/xterm/color?

2000-02-10 Thread Chris Green

On Wed, Feb 09, 2000 at 11:33:13PM +0100, [EMAIL PROTECTED] wrote:
 I can't get colours with Solaris' xterm either. Starting dtterm instead
 of xterm does, however, work fine for me.
 
Ah, yes, of course I'd forgotten that not only have I compiled mutt
with S-Lang but I'm running in rxvt rather than xterm.

-- 
Chris Green ([EMAIL PROTECTED])
  Home: [EMAIL PROTECTED]   Work: [EMAIL PROTECTED]
  WWW: http://www.isbd.co.uk/



Re: Slightly weird behaviour

2000-02-10 Thread Marco Götze

On Fri, Feb 11 2000, Jamie Love wrote:
This is probably just a simple error on my part but...

Actually, it's a feature, and a rather nice one too.

Read the manual section on $index_format; you'll be specifically 
interested in the meanings of %L and %F.


Marco



Re: New mail notification

2000-02-10 Thread Petr Hlustik

On Wed, Feb 09, 2000 at 02:21:13PM -0600, David DeSimone wrote:
 [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  Mutt does notify me when I run it (in the new=x, folders with new
  mail).  The problem is that when I change to that folder and leave
  without having read all the new mail, mutt will tell me that I have no
  folders with new mail.
 
 I think this is a limitation of mbox folders.  The only 'easy' way to
 determine if there is new mail, is to check the access time, and reading
 the folder causes that time to be changed.

It may not be the case on all UNIXes. As I posted before, I have used
procmail and mbox folders on SGI/IRIX and mailboxes with new mail were
being detected correctly. I moved to a different server with SunOS (same
.muttrc, same .procmailrc) and new mail detection stopped working. I can do
touch -m on mailboxes before I open mutt but that's the only time new mail
detection works :-(

Regards,
Petr



Re: PGP 6.x and Mutt (Linux)

2000-02-10 Thread Matt Dunford

Here's what I use:

# .muttrc
set pgp_encryptself
set pgp_default_version="pgp6"
set pgp_send_version="pgp6"
set pgp_receive_version="pgp6"
set pgp_key_version="pgp6"

set pgp_timeout=300  # time in seconds to keep the passphrase in memory
set pgp_v6="/path/to/pgp6" # path to pgp6 binary
set pgp_v6_pubring="/path/to/pgp/pubring" # public key ring
set pgp_v6_secring="/path/to/pgp/secring" # secret key ring
# end .muttrc

Also, include the procmail code found at 
http://www.mutt.org/doc/PGP-Notes.txt
so mutt will automactically prompt you for 
your passphrase when a PGP message comes in.

If you're running Linux, I'd suggest using GPG. It's easier to install and
a bit easier to use.  www.gnupg.org

On Thu, 10 Feb 2000, Kent R.Frazier wrote:

: Is anyone using PGP 6.x and Mutt on a Linux OS? If so, would you 
: kindly send me some info on how to setup my .muttrc? I'm new to 
: this and I'm not sure exactly how to set it up. I see references
: to PGP v2, v5 and GPG but no PGP v6.
: 
: Thanks,
: 
: Kent  
: -- 
: Kent R. Frazier [EMAIL PROTECTED]
: 



Re: bug when `unset help'

2000-02-10 Thread Thomas Roessler

On 2000-02-09 15:44:34 -0500, Paul Visscher wrote:

 When help is unset, the top line in the compose menu is blank, but in
 all other menu's, the top line is not blank -- it has what ever is
 appropriate for the menu(If the index menu, there's a message there,
 etc). Is this a bug?

No.

-- 
http://www.guug.de/~roessler/




PGP 6.x and Mutt (Linux)

2000-02-10 Thread Kent R.Frazier

Is anyone using PGP 6.x and Mutt on a Linux OS? If so, would you 
kindly send me some info on how to setup my .muttrc? I'm new to 
this and I'm not sure exactly how to set it up. I see references
to PGP v2, v5 and GPG but no PGP v6.

Thanks,

Kent
-- 
Kent R. Frazier [EMAIL PROTECTED]



Re: save-hook regexp two TLDs

2000-02-10 Thread Mikko Hänninen

Marius Gedminas [EMAIL PROTECTED] wrote on Thu, 10 Feb 2000:
 save-hook "~C 'nanog@(nanog\.org|merit\.edu)'" +nanog
 
 (BTW it's easy to get lost in various ways of quoting.  I'm not sure if
 `\.' shouldn't be replaced to `\\.' in this case.

It probably should; but if you switch the ' and " quotes around ('
outside, " inside) then you'd need only one \ before the dot.

 A couple of my save-hooks look like this: 
 
   save-hook '~C "\\foo@bar"' +foo

Interesting, okay, maybe what I said above isn't correct.  I would think
that having '-quotes means any \'s are unparsed, except if they appear
before a '-quote character.

Incidentally, couldn't you just use ^foo@bar?  I'm not sure but I think
that matches are done separately against the full recipient strings and
also the addresses alone.  At least the above seems to work for me, with
limits.


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 /
A mind is a terrible thing to ... er ... h?



Charset-hook?

2000-02-10 Thread Marius Gedminas

I suggest renaming `charset-hook' to `charset-alias'.  It's not really a
`hook' after all.

Marius Gedminas
-- 
An algorithm must be seen to be believed.
-- D.E. Knuth



Re: Content-Type: message/partial ?

2000-02-10 Thread David DeSimone

Byrial Jensen [EMAIL PROTECTED] wrote:

 I will suggest that you copy the 5 parts in sequence to a new mbox
 folder, and then reassemble the original message in an editor by
 deleting the overhead from splitting it in parts:

This is a cumbersome method, and while it works, if you end up doing
this on a regular basis, it is no fun at all.

The "mpack" tools know how to deal with multipart MIME messages, and
will decode them for you.  This means you would need to pipe each part
as a separate message to "munpack" (set pipe_split, unset pipe_decode,
tag all messages, and pipe them to the command "munpack").

Admittedly, this isn't much fun, either, but it's easier.

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



Re: Slightly weird behaviour

2000-02-10 Thread Byrial Jensen

On Fri, Feb 11, 2000 at 01:20:52 +1300, Jamie Love wrote:
 For example, this email will show up as from 
 "To [EMAIL PROTECTED]" which is weird.
 
 When I read the message, the From: line has my name/email address there.
 I think, for some reason it's reading the To: line. 
 
 Have I missed something from the manual?

Yes, the section about $index_format.

 Anyone know how to fix this to show my email address?

Change %F or %L to %f or %n in $index_format.

-- 
Byrial



Re: bug when `unset help'

2000-02-10 Thread Paul Visscher

Thomas Roessler [EMAIL PROTECTED] said:
  When help is unset, the top line in the compose menu is blank, but in
  all other menu's, the top line is not blank -- it has what ever is
  appropriate for the menu(If the index menu, there's a message there,
  etc). Is this a bug?
 
 No.

May I ask why? It seems to me that there ought to be consistency between
the menu's when help is unset.


--paul



Forwarding email with attachments

2000-02-10 Thread Adam McKenna

I've looked thru the docs and the help, but I can't seem to find a command to
forward a message including attachments.  It doesn't seem possible to me that
mutt wouldn't have this functionality.  Is there a specific option I need to
set in .muttrc to enable this feature?

--Adam



Re: Mutt S/MIME

2000-02-10 Thread Adam Sherman

On Thu, Feb 10, 2000 at 06:57:32AM -0800, Claus Assmann wrote:
 On Thu, Feb 10, 2000, Thomas Roessler wrote:
  On 2000-02-09 18:15:03 -0500, Adam Sherman wrote:
  
   Would it be possible to use Mutt with S/MIME cryptography?
  
  It wouldn't be difficult to add support for this to mutt, once you
  have a command-line based tool with the cryptographic functionality.
 
 openssl has this for some time now, but it's just in the snapshots,
 not yet released.  I tried to verify some signatures and it works
 fine.

This sounds good, I will try to build a list of commands and I'll send
to the list.

Thanks,

A.

-- 
Adam Sherman
[EMAIL PROTECTED]
+1 (613) 223-5746



Forwarding email with attachments

2000-02-10 Thread Adam McKenna

I've looked thru the docs and the help, but I can't seem to find a command to
forward a message including attachments.  It doesn't seem possible to me that
mutt wouldn't have this functionality.  Is there a specific option I need to
set in .muttrc to enable this feature?

--Adam

 PGP signature


Re: save-hook regexp two TLDs

2000-02-10 Thread Marius Gedminas

On Thu, Feb 10, 2000 at 09:48:08AM -0600, freix wrote:
 issue:  One of the mailing lists I'm on has two domains
 merit.edu
 nanog.org
 
 i have 
 
 save-hook "~C nanog@(nanog|merit)\.(edu|org)" +nanog
 
 as the epxression, and when i start mutt it says:
 Error in /home/freix/.muttrc, line 245: Unmatched ( or \(
 source: errors in /home/freix/.muttrc
 
 This is very similar to how i have all my $alternates setup, but this
 one doesn't seem to like it.  Again, same as last issue, if I do it on
 two seperate lines it works no prob, but I'm sure there's a more elegant
 way of doing it.
 
 Anyone feel free to smack me with the hammer of enlightenment.

I see two problems with this hook:
1) it also accepts merit.org and nanog.edu
2) it gets parsed this way: "(~C ...) | (...) | (...)"

I'u use

save-hook "~C 'nanog@(nanog\.org|merit\.edu)'" +nanog
# ^ ^

(BTW it's easy to get lost in various ways of quoting.  I'm not sure if
`\.' shouldn't be replaced to `\\.' in this case.  A couple of my
save-hooks look like this: 

  save-hook '~C "\\foo@bar"' +foo

I've found the need for double backslashes by trial and error.  Perhaps
`[.]' would be a better and more universal solution?)

Marius Gedminas
-- 
I doubt, therefore I might be.



Re: home/end keys do not work

2000-02-10 Thread Stephane Payrard

Some terminal emulators can disable some keys when lauched properly.
with rxvt, "rxvt +sb" eliminates scrollbars and disable associated
accelerators. The associated keys then become avalaible to the
underlying application.  xterm --help claims the same.  I dont' know
about gnome-terminal (NIH syndrom?). but rxvt may well be good enough
for you.

Alternatively you can go deeper and temper with termcap (or terminfo?).



On Thu, Feb 10, 2000 at 02:04:37PM +0530, Raju K V wrote:
 hi,
 
 In all the menus I have home bound to 'first-entry' and end bound to
 'last-entry'. But these keys do not work in any menus. All other keys are
 working as expected.
 
 I am using gnome-terminal.
 

-- 
  Stéphane Payrard
   email   : [EMAIL PROTECTED]
   portable: 06 60 95 82 69
  



Re: Mutt S/MIME

2000-02-10 Thread Adam Sherman

On Thu, Feb 10, 2000 at 02:44:31PM -0500, Adam Sherman wrote:
 On Thu, Feb 10, 2000 at 06:57:32AM -0800, Claus Assmann wrote:
  On Thu, Feb 10, 2000, Thomas Roessler wrote:
   On 2000-02-09 18:15:03 -0500, Adam Sherman wrote:
   
Would it be possible to use Mutt with S/MIME cryptography?
   
   It wouldn't be difficult to add support for this to mutt, once you
   have a command-line based tool with the cryptographic functionality.
  
  openssl has this for some time now, but it's just in the snapshots,
  not yet released.  I tried to verify some signatures and it works
  fine.
 
 This sounds good, I will try to build a list of commands and I'll send
 to the list.

I found the attached document in the docs/apps directory of the
latest OpenSSL SNAPSHOT. It describes the command syntaxe of the smime
openssl command. Also attached is the appropriate rfc (2632).

I'm not a C programmer, and I don't know where to start with regards
to implementing this. Any pointers?

Thanks,

A.

-- 
Adam Sherman
[EMAIL PROTECTED]
+1 (613) 223-5746







Network Working Group   B. Ramsdell, Editor
Request for Comments: 2632Worldtalk
Category: Standards Track June 1999


 S/MIME Version 3 Certificate Handling

Status of this Memo

   This document specifies an Internet standards track protocol for the
   Internet community, and requests discussion and suggestions for
   improvements.  Please refer to the current edition of the "Internet
   Official Protocol Standards" (STD 1) for the standardization state
   and status of this protocol.  Distribution of this memo is unlimited.

Copyright Notice

   Copyright (C) The Internet Society (1999).  All Rights Reserved.

1. Overview

   S/MIME (Secure/Multipurpose Internet Mail Extensions), described in
   [SMIME-MSG], provides a method to send and receive secure MIME
   messages. Before using a public key to provide security services, the
   S/MIME agent MUST certify that the public key is valid. S/MIME agents
   MUST use PKIX certificates to validate public keys as described in
   the Internet X.509 Public Key Infrastructure (PKIX) Certificate and
   CRL Profile [KEYM]. S/MIME agents MUST meet the certificate
   processing requirements documented in this document in addition to
   those stated in [KEYM].

   This specification is compatible with the Cryptographic Message
   Syntax [CMS] in that it uses the data types defined by CMS. It also
   inherits all the varieties of architectures for certificate-based key
   management supported by CMS.

1.1 Definitions

   For the purposes of this memo, the following definitions apply.

   ASN.1: Abstract Syntax Notation One, as defined in ITU-T X.680-689.

   Attribute Certificate (AC): An X.509 AC is a separate structure from
   a subject's public key X.509 Certificate.  A subject may have
   multiple X.509 ACs associated with each of its public key X.509
   Certificates.  Each X.509 AC binds one or more Attributes with one of
   the subject's public key X.509 Certificates.  The X.509 AC syntax is
   defined in [X.509]



RamsdellStandards Track [Page 1]

RFC 2632 S/MIME Version 3 Certificate Handling June 1999


   BER: Basic Encoding Rules for ASN.1, as defined in ITU-T X.690.

   Certificate: A type that binds an entity's distinguished name to a
   public key with a digital signature. This type is defined in the
   Internet X.509 Public Key Infrastructure (PKIX) Certificate and CRL
   Profile [KEYM]. This type also contains the distinguished name of the
   certificate issuer (the signer), an issuer-specific serial number,
   the issuer's signature algorithm identifier, a validity period, and
   extensions also defined in that document.

   Certificate Revocation List (CRL): A type that contains information
   about certificates whose validity an issuer has prematurely revoked.
   The information consists of an issuer name, the time of issue, the
   next scheduled time of issue, a list of certificate serial numbers
   and their associated revocation times, and extensions as defined in
   [KEYM]. The CRL is signed by the issuer. The type intended by this
   specification is the one defined in [KEYM].

   DER: Distinguished Encoding Rules for ASN.1, as defined in ITU-T
   X.690.

   Receiving agent: software that interprets and processes S/MIME CMS
   objects, MIME body parts that contain CMS objects, or both.

   Sending agent: software that creates S/MIME CMS objects, MIME body
   parts that contain CMS objects, or both.

   S/MIME agent: user software that is a receiving agent, a sending
   agent, or both.

1.2 Compatibility with Prior Practice of S/MIME

   S/MIME version 3 agents should attempt to have the greatest
   interoperability possible with S/MIME version 2 agents. S/MIME
   version 2 is described in RFC 2311 through RFC 2315, inclusive.  RFC
   2311 

save-hook regexp two TLDs

2000-02-10 Thread freix

Heya muttsters-

side note it seems every day i find a new facet to mutt, tweaking it
is becomming one of my fave stress relievers =)

issue:  One of the mailing lists I'm on has two domains
merit.edu
nanog.org

i have 

save-hook "~C nanog@(nanog|merit)\.(edu|org)" +nanog

as the epxression, and when i start mutt it says:
Error in /home/freix/.muttrc, line 245: Unmatched ( or \(
source: errors in /home/freix/.muttrc

This is very similar to how i have all my $alternates setup, but this
one doesn't seem to like it.  Again, same as last issue, if I do it on
two seperate lines it works no prob, but I'm sure there's a more elegant
way of doing it.

Anyone feel free to smack me with the hammer of enlightenment.

Thanks for you time!
-derrick
-- 
  .~.  ~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~
  /V\ KeyId  1024D/2AB39B99 
 // \\   20B5 BE61 3E0D 81C2 E065  94FF 8856 90A2 2AB3 9B99
/(   )\   Call me insane one more time and I'll eat your other eye!
 ^`~'^   '~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'~'



Default Description?

2000-02-10 Thread Adam Sherman

Is there any way to set the default MIME description for the main
message part? It normaly just says 'no description', it would be
nice to have something like 'Message Body'.

Thanks,

A.

-- 
Adam Sherman
[EMAIL PROTECTED]
+1 (613) 223-5746



Re: Forwarding email with attachments

2000-02-10 Thread Thomas Roessler

set mime_forward

On 2000-02-10 15:19:11 -0500, Adam McKenna wrote:
 Date: Thu, 10 Feb 2000 15:19:11 -0500
 From: Adam McKenna [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Forwarding email with attachments
 User-Agent: Mutt/1.0.1i
 
 I've looked thru the docs and the help, but I can't seem to find a command to
 forward a message including attachments.  It doesn't seem possible to me that
 mutt wouldn't have this functionality.  Is there a specific option I need to
 set in .muttrc to enable this feature?
 
 --Adam



-- 
http://www.guug.de/~roessler/




Re: GPG Hash Algorithm

2000-02-10 Thread Thomas Roessler

On 2000-02-10 14:38:12 -0500, Adam Sherman wrote:

 P.S. This message should be signed, see if you can verify it.

The "signature" is completely corrupted.

-- 
http://www.guug.de/~roessler/




how to set default save-hook?

2000-02-10 Thread Seraphim Larsen

Hi List,

I have some folder-hooks set up so that when I am reading mail in a
certain folder, and want to save the message, it always saves to a
corresponding folder.

I.e.:

  folder-hook =work/new-action save-hook '~A' =work/log

This works just fine.

But when I switch back to ! (or any other mailbox), the save-hook
still wants to save to =work/log, instead of the usual defaults
based on the sender. Also, when I switch back to !, all of my other
save-hooks are disabled, because they've been overriden. E.g., the
following doesn't work anymore, after I've switched to
=work/new-action and then back to !:

  save-hook '~C mutt-users' =lists/mutt-list


The only thing I can think of, is to re-write all my send hooks as
follows:

  Instead of: save-hook '~C mutt-users' =lists/mutt

  Use this:   folder-hook . save-hook '~C mutt-users' =lists/mutt


But that seems awfully tedious.

Any suggestions? 


Regards,
Seraphim

-- 
__
Seraphim Larsen   [EMAIL PROTECTED]408.433.4260
LSI Logic CorpASIC TechPubs   Milpitas, CA



1.1.3 notes

2000-02-10 Thread Marius Gedminas

While browsing through diff -u manual.sgml-1.1.2 manual.sgml-1.1.3 I
noticed this suspicious line deletion.  Looks like it's accidental.

@@ -3416,7 +3429,6 @@
 
 p
 Specifies the password for your IMAP account.  If unset, Mutt will
-prompt you for your password when you invoke the fetch-mail function.
 bfWarning/bf: you should only use this option when you are on a
 fairly secure machine, because the superuser can read your muttrc even
 if you are the only one who can read the file.

There's a typo: s/dfault_hook/default/hook/ in section `Matching
Messages with Hooks'.

Some tildes are missing in manual.txt (e.g.
  6.3.3.  alias_file

  Type: path
  Default: " /.muttrc"
).

I suppose `~' characters in init.h should be translated to `tilde;'.  I
think changing sgml_fputc in makedoc.c would do the trick (I haven't
tried it -- Mandrake 7.0 does not have sgml-tools for some reason):

--- makedoc.c.orig  Tue Feb  1 20:35:33 2000
+++ makedoc.c   Thu Feb 10 21:03:53 2000
@@ -589,6 +589,7 @@
 case '"': return fputs ("dquot;", out);
 case '[': return fputs ("lsqb;", out);
 case ']': return fputs ("rsqb;", out);
+case '~': return fputs ("tilde;", out);
 default:  return fputc (c, out);
   }
 }

Speaking about makedoc.c -- I get these warnings when compiling mutt:

make[3]: Entering directory `/opt/mutt-1.1.3'
gcc -DSHAREDIR=\"/usr/local/share/mutt\" -DSYSCONFDIR=\"/usr/local/etc\" -DBINDI
R=\"/usr/local/bin\" -DHAVE_CONFIG_H=1 -I.  -I/usr/local/include  -I/usr/include
/ncurses -I./intl  -Wall -pedantic -g -O2 -c makedoc.c
makedoc.c: In function `main':
makedoc.c:112: warning: assignment discards qualifiers from pointer target type
makedoc.c:114: warning: passing arg 2 of `getopt' from incompatible pointer type
makedoc.c: In function `print_confline':
makedoc.c:675: warning: enumeration value `F_NONE' not handled in switch
makedoc.c: In function `print_it':
makedoc.c:960: warning: enumeration value `F_NONE' not handled in switch

I would be nice to get them removed before releasing 1.2, wouldn't it?

There are too many blank lines in manual.txt before some of the tables
(e.g. 6.4.2, 6.4.3).  It's probably a bug/feature of SGML to text
converter.  Can anyone shed some light on this issue?

Marius Gedminas
-- 
Never assume the reader has read the subject line.



Re: Changing X-Sender header

2000-02-10 Thread Wouter Hanegraaff

On Thu, Feb 10, 2000 at 11:02:37AM +0100, Wouter Hanegraaff wrote:
 On Wed, Feb 09, 2000 at 08:02:40AM -0800, Claus Assmann wrote:
  On Wed, Feb 09, 2000, Lars Hecking wrote:
  
The Sender: header is written by the MTA (eg. sendmail).
  
  sendmail does not generate a "Sender:" header.
  Which MTA does it?

I just tested with sendmail, this header is there also when using
sendmail. Isn't the Sender: header added by Mutt somehow, when From:
and the local username differ? No time to look at the source...

Wouter

-- 
Linux duckman 2.2.14 #1 Wed Jan 5 14:45:16 CET 2000 i586 unknown
  2:34pm  up 14 days, 21:14,  0 users,  load average: 0.04, 0.01, 0.00



Re: home/end keys do not work

2000-02-10 Thread Mikko Hänninen

Thomas Roessler [EMAIL PROTECTED] wrote on Thu, 10 Feb 2000:
  How do I fix this? IIRC, somebody had the same problem in aterm
  or eterm(I am not sure). Was it fixed?
 
 Yes, by fixing the respective terminfo entries.

Actually, I didn't fix my terminfo entries.  I'm binding the
functionality I want into the sequences \e[7~ and \e[8~ directly in my
.muttrc.  The original problem I had was that aterm uses \e[1~ and \e[2~
(IIRC) on Linux, which were bound by default as KP_FIND and KP_SELECT,
so they were un-bindable under Mutt.  Re-compiling aterm to *not* use
the LINUX_KEYS define made the key-sequences available in Mutt.


Arguably it would be correct to fix the terminfo database, but (a) I
don't know how to do that and (b) I'm hoping to be able to do a full
re-install with Debian at some point, it didn't seem worth the effort.
Also, (c), I wasn't sure what and/or where to even begin to fix and to
make sure ncurses gets the right key -- now reading the terminfo man
page, it does say that ncurses would be affected, so indeed changing
the terminfo entry would likely help.


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 /
 What's another word for Thesaurus?



Re: Mutt S/MIME

2000-02-10 Thread Claus Assmann

On Thu, Feb 10, 2000, Thomas Roessler wrote:
 On 2000-02-09 18:15:03 -0500, Adam Sherman wrote:
 
  Would it be possible to use Mutt with S/MIME cryptography?
 
 It wouldn't be difficult to add support for this to mutt, once you
 have a command-line based tool with the cryptographic functionality.

openssl has this for some time now, but it's just in the snapshots,
not yet released.  I tried to verify some signatures and it works
fine.



hook?

2000-02-10 Thread Jason Helfman

What method would I use for replying to mutt-users? The way this group
is set up, is very odd. Other mailing groups I work with have the reply
to the group. Replies to mutt-users go to the person that wrote it. Any
pointers in the manual would be appreciated. Been looking for a while.
Thanks.



making Mutt easy for Pine users

2000-02-10 Thread Matt Harrington




old system: Irix, sendmail, /bin/mail, Pine
new system: FreeBSD, qmail, Maildir, mutt

i have lots of Pine users.  they will resist learning Mutt.  how can 
i make it easy on them?  are there key bindings for Pine emulation? 
i'll set up Pico as their default editor but besides that I'm not 
sure what I can do.

matt