Re: append .signature on message send?

2000-03-29 Thread Jason Baker

On March 28, Aleksey Tsalolikhin wrote:
 Or you could create a macro in your editor that would call whatever
 program generates the time-stamped signature and then save-and-exit
 the editor.

What about writing a small wrapper script that takes the place of the
normal sendmail command?

It'd glue the footer on, then hand it off to the real thing.  Only 
problem I could forsee (other than handling the command line options
that Mutt throws at it, although you could just tack them on as they
were passed to the calling script) is that the copy in your sent folder
would be lacking the footer info.

Jason

-- 
 Sendmail: A haqr's tool commonly mistaken for a UNIX system utility.
 - The Real Cyberpunk Fakebook



Re: append .signature on message send?

2000-03-29 Thread Mikko Hänninen

Jason Baker [EMAIL PROTECTED] wrote on Wed, 29 Mar 2000:
 What about writing a small wrapper script that takes the place of the
 normal sendmail command?

That would work. :-)  A better solution too than the $editor change,
as it gives the real send time.

 Only 
 problem I could forsee (other than handling the command line options
 that Mutt throws at it, although you could just tack them on as they
 were passed to the calling script) is that the copy in your sent folder
 would be lacking the footer info.

Another problem are multipart MIME-messages (ie. messages with
attachements).  Either the user would need to remember never to use
attachements (with that particular sendmail command, it could be
macroed though), or the script would need to be intelligent enough to
at least detect multiparts and not try to append the signature to
them, or else to parse the contents and add the signature to the first
text/plain part or something...


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 does ignorant mean?



Re: append .signature on message send?

2000-03-29 Thread Edmund GRIMLEY EVANS

Mikko Hänninen [EMAIL PROTECTED]:

 Another problem are multipart MIME-messages (ie. messages with
 attachements).  Either the user would need to remember never to use
 attachements (with that particular sendmail command, it could be
 macroed though), or the script would need to be intelligent enough to
 at least detect multiparts and not try to append the signature to
 them, or else to parse the contents and add the signature to the first
 text/plain part or something...

Of course, if the message is also encrypted, then ...



Re: append .signature on message send?

2000-03-29 Thread Thomas Roessler

On 2000-03-28 19:12:02 -0800, lewst wrote:

 I need this functionality in order to include
 time-sensitive information in the signature that is
 based on the time the message is sent.

Is this information required to be in the signature?
Putting in an extra header which contains this kind of
information would be an easy thing to do with a sendmail
wrapper.

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





Re: Help about hidden destination

2000-03-29 Thread Fabrice Planchon

On Thu Mar 16 2000 at 12:39:25PM -0600, David DeSimone wrote:
 
 Actually, Mutt is in a unique position here, to be able to specify
 sender addresses to sendmail without putting those names into the
 headers.  That is, Mutt could easily feed sendmail a message with a
 "To: undisclosed-recipients:;" header, and then give sendmail a command

Actually, I'd like to be  enlighted on this: when I compose from within
mutt, and set the To: field to something like this, here is what I get:
( I included all headers, I was Bcced)

From [EMAIL PROTECTED]  Wed Mar 29 15:48:44 2000
Return-Path: [EMAIL PROTECTED]
Received: from x-mailer.polytechnique.fr (x-mailer.polytechnique.fr
[129.104.35.1])
  by daphne.math.polytechnique.fr (8.9.3/jtpda-5.3.1) with ESMTP
id PAA04666
  for [EMAIL PROTECTED]; Wed, 29 Mar 2000
15:48:43 +0200
Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129])
by x-mailer.polytechnique.fr (x.y.z/x.y.z) with ESMTP id
PAA15453
for [EMAIL PROTECTED]; Wed, 29 Mar 2000 15:47:39
+0100 (WET DST)
Received: from zebu.ann.jussieu.fr ([EMAIL PROTECTED]
[134.157.2.58])
  by shiva.jussieu.fr (8.10.0/jtpda-5.3.3) with ESMTP id
e2TDmhU89168
  ; Wed, 29 Mar 2000 15:48:43 +0200 (CEST)
Received: by zebu.ann.jussieu.fr (Postfix, from userid 666)
id 799856078; Wed, 29 Mar 2000 17:00:18 +0200 (MEST)
Date: Wed, 29 Mar 2000 17:00:18 +0200
From: Fabrice Planchon [EMAIL PROTECTED]
To: "test du rewriting": ;"test du rewriting":;;"test du
rewriting":;@jussieu.fr
Subject: test
Message-ID: [EMAIL PROTECTED]
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.1.1i
Sender: [EMAIL PROTECTED]



So, how comes the To hearder is expanded like this, and who is doing
this ? mutt or the MTA ? (actually, sending the same e-mmail locally
would produce just 
To: "test du rewriting": ;"test du rewriting":;;
so the odds are the MTA has to do with it...)

 F.




update encoding?

2000-03-29 Thread Sam Alleman


Hello again,

Can anyone tell me what this message is all about:

~~/tmp/mutt-xena-22566-0 [#1] modified. Update encoding? ([y]/n):

What does this mean, and is there any way to bypass this question?
Thanks.

Sam



Odd mono problem

2000-03-29 Thread Holger Lillqvist

Mutt 1.1.9i has been installed on my site. I now have an irritating
problem with mono display: the tree is displayed in reverse. I have not
defined any mono attribute for the tree in my .muttrc. However, if I
specify `bold' for the tree, the whole index turns bold, but the tree
remains reverse! Any ideas of what is going on here?

-- 
Holger Lillqvist



Re: append .signature on message send?

2000-03-29 Thread lewst

Thomas Roessler [EMAIL PROTECTED] wrote:

  I need this functionality in order to include
  time-sensitive information in the signature that is
  based on the time the message is sent.
 
 Is this information required to be in the signature?
 Putting in an extra header which contains this kind of
 information would be an easy thing to do with a sendmail
 wrapper.

Yes, it needs to be in the signature so that it will be
noticed by the recipient.  The recipient might not notice
the extra header.  Also, the information is generally
5 to 6 lines long which would be difficult for a header.

So I guess it is not possible to do what I want with mutt?


__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com



Re: append .signature on message send?

2000-03-29 Thread Mikko Hänninen

lewst [EMAIL PROTECTED] wrote on Wed, 29 Mar 2000:
 So I guess it is not possible to do what I want with mutt?

Well, it can't be done with Mutt *alone*.  It can be done _to_ emails
sent with Mutt, though.  There's been at least 2 or 3 different
solutions mentioned to you, which all involve the use of external
helper scripts.


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 /
Don't force it, use a bigger hammer.



Re: append .signature on message send?

2000-03-29 Thread Sebastian Helms

Hi,

* lewst wrote on 29 Mär 2000:

 Thomas Roessler [EMAIL PROTECTED] wrote:
 
   I need this functionality in order to include
   time-sensitive information in the signature that is
   based on the time the message is sent.
  
  Is this information required to be in the signature?
  Putting in an extra header which contains this kind of
  information would be an easy thing to do with a sendmail
  wrapper.
 
 Yes, it needs to be in the signature so that it will be
 noticed by the recipient.  The recipient might not notice
 the extra header.  Also, the information is generally
 5 to 6 lines long which would be difficult for a header.
 
 So I guess it is not possible to do what I want with mutt?

If you like, you could try to modify your sendmails check_compat()
:-)

SCNR,

Sebastian

-- 
"No worries." - Rincewind

Sebastian Helms   -  mailto:[EMAIL PROTECTED] (PGP available)



Re: pgp/gpg password, temp file?

2000-03-29 Thread Christopher Smith

On Tue, Mar 28, 2000 at 02:09:20PM +0100, Edmund GRIMLEY EVANS wrote:
 Thomas Roessler [EMAIL PROTECTED]:
   Perhaps another solution would be to have a separate
   suid program that remembers the passphrase and
   communicates somehow with the mutt process ...
  
  This would be useless, since mutt would have to store that
  communication somewhere.  Thus, the problem would bite
  itself into the tail.
 
 You're right, of course, though you would get the slight advantage of
 mutt not having to store the passphrase for very long, so it would be
 unlikely that it would be swapped out in that time.
 
 To be really safe the separate suid program would have to communicate
 directly with GnuPG. Perhaps the separate passphrase-remembering
 program could spawn GnuPG when requested by Mutt ... I'm just
 speculating here ...

Yes, this is the right way to do it, and I believe ssh2 has something
to this effect. The idea is as follows:

1) GnuPG itself requires a passphrase and requires setuid root so that
it can lock the passphrase in memory.

2) You have a daemon, say gnupgd, which is also setuid root. It's
job is to a) cache the passphrase in locked memory, and b) maintain a
list of procs/access tokens that have successfully authenticated
themselves with gnupgd.

3) Your actual application, in this case mutt. Mutt accesses gnupg
through gnupgd. The first time it talks to it, mutt must authenticate
itself with gnupgd.

Advantages of this approach:

-gnupgd is VERY simple, and therefore it should be easier to keep it
 secure

-if mutt is compromised, it does not provide access to the passphrase
 or the key, although it would allow someone to use the key until the
 mutt process or gnupgd died (say on a reboot).

-if the swap space is examined you only get access to a gnupgd token,
 which of course is only valid for a limited period of time.

Disadvantages of this approach:

-you still need some authentication mechanism between gnupgd and
applications, and this must somehow be fairly secure. I believe ssh2
relies on process parent/child relationships to do
authorization/authentication and I don't see this as reliable.

--Chris


 PGP signature


default save folder

2000-03-29 Thread Jean-Charles Bagneris

Hi all,

Just something I did not find in the manual (may be too tired tonight)

I used to have mbox-hooks in my .muttrc for mailing lists, and it worked perfectly.
But I stopped to use it, because if I want to follow a thread, I dont want undeleted
messages to be saved in an archive folder immediately (and automagically), in order 
to wait for other related messages.
Once I consider the given thread is complete (for me at least), I want to save one or 
more
messages. So far, so good.
Of course, each time I press 's', I have to give the name of the folder I want to save 
to.
So my question is : is there a way to give (in a folder-hook may be) a default name 
for the
archive folder ?

This might not be the Right Way (tm) to read and follow ml messages...
Just tell me...

BTW, I know I could do this with a macro, just curious about another (and easier) way

Thanks

-- 
JcB, Jean-Charles Bagneris, Montpellier, France




[Announce] Mutt-1.1.10 is out (RELEASE CANDIDATE)

2000-03-29 Thread Thomas Roessler

Here's another release candidate for mutt 1.2.  You can
download it from

ftp://ftp.mutt.org/pub/mutt/devel/,

or from any of the mirror sites listed on

http.mutt.org/download.html.

(Note that it will take a couple of hours for this version
to propagate to the mirror sites.)

Against 1.1.9, a couple of bugs is fixed.  I really hope
we can release this code as-is as 1.2 - so please report
eventual bugs and problems as soon as possible to this
list.

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

 PGP signature


Re: [1.0.1i] slow opening of mailboxes

2000-03-29 Thread Rejo Zenger

++ 28/03/00 15:35 +0200 - Thomas Roessler:
[slow opening of mailboxes]
Do you use NFS?

Nope. I'm running on a standard P3 with Linux as OS. Just the regular
stuff... 

-Rejo.

-- 
= Rejo Zenger   [EMAIL PROTECTED]
= http://mediaport.org/~sister (and my_urls.html)   PGP: see headers


 PGP signature


How to resend a mail?

2000-03-29 Thread Song Jianping

Hello all,

I am wondering how to resend a mail to another person?
Here is my situation: I send a mail to someone, and
the sent mail is stored in the directory which $record designates.
Now I want to send the same mail to another person, can i
do it with command options of mutt, without interactively invoking
mutt.

I have tried doing it with the following tricks:
At first i run mutt interactively, compose the mail, and postpone
the mail. I find the mail in the file "$postponed".
When i enter "mutt -p", mutt will ask me several questions and display
the postponed on screen. How can i let mutt send it immediately?
  
-- 
Best regards,
 Song  mailto:[EMAIL PROTECTED]





Re: How to resend a mail?

2000-03-29 Thread Jason Helfman

you could make a macro of it, i guess ... but I am not sure, i am a
newbie and by hitting, "b", and putting your address in seems less of a
problem then making a shell script..

unless you intend on bouncing to the same person all the time...

On Thu, Mar 30, 2000 at 09:55:40AM +0800, [EMAIL PROTECTED] said:
 
  i guess you can "b"ounce it? is this an option for you?
 
 Can i do it within a shell script? That is, can i resend 
 the mail without invoking mutt interactively?
 
 Thanks.
 
 --
 »¶Ó­Ê¹Óà 21CN µç×ÓÓʼþϵͳhttp://www.21cn.com
 Thank you for using 21CN Email system

-- 
/helfman

"At any given moment, you may find the ticket to the circus that has always beenin 
your possession."
Fingerprint: 2F76 2856 776A 3E07 9F3E  452A 17D9 9B28 D75E 0A36
GnuPG http://www.gnupg.org  Get Private!  1024D/D75E0A36



Your Mail to C C Survey Vessel

2000-03-29 Thread Darrin Mison


This is an automated message from C  C's satellite E-Mail system.

Your E-Mail message has been delivered.

Your message contains attachments. Please send attachments only if
required for operations.

Thank you for your cooperation,
C  C's E-Mail Computer


The e-mail message follows:
-
 Received: from buffy.tpgi.com.au([203.12.160.34]) (2198 bytes) by 
kraken.cctechnol.com
   via sendmail with P:esmtp/R:batch_it/T:batch_smtp
   (sender: [EMAIL PROTECTED]) 
   id [EMAIL PROTECTED]
   for [EMAIL PROTECTED]; Wed, 29 Mar 2000 20:17:11 -0600 (CST)
   (Smail-3.2.0.111 2000-Feb-17 #2 built 2000-Mar-20)
 Received: (from smtpd@localhost)
   by buffy.tpgi.com.au (8.9.3/8.9.3) id MAA18448
   for [EMAIL PROTECTED]; Thu, 30 Mar 2000 12:17:00 +1000
 Received: from bri2-56k-098.tpgi.com.au(203.29.144.98), claiming to be "serra"
  via SMTP by buffy.tpgi.com.au, id smtpdKbkZme; Thu Mar 30 12:16:49 2000
 Received: by serra (sSMTP sendmail emulation); Thu, 30 Mar 2000 12:23:05 +1000
 Date: Thu, 30 Mar 2000 12:23:04 +1000
 From: Darrin Mison [EMAIL PROTECTED]
 To: Sam Alleman [EMAIL PROTECTED]
 Subject: Re: update encoding?
 Message-ID: [EMAIL PROTECTED]
 References: [EMAIL PROTECTED]
 Mime-Version: 1.0
 Content-Type: multipart/signed; micalg=pgp-md5;
   protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga"
 X-Mailer: Mutt 1.0i
 In-Reply-To: [EMAIL PROTECTED]; from 
[EMAIL PROTECTED] on Wed, Mar 29, 2000 at 10:45:23PM +0900
 X-Operating-System: Linux serra 2.2.12-20
 
 
 --opJtzjQTFsWo+cga
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: quoted-printable
 
 guessing here, but you use pgp to sign a message which=20
 you have postponed and then you get this when you send=20
 it again.  Don't know how to avoid it or if to.
 
 
 As Sam Alleman[EMAIL PROTECTED] once said:
 =20
  Hello again,
 =20
  Can anyone tell me what this message is all about:
 =20
  ~~/tmp/mutt-xena-22566-0 [#1] modified. Update encoding? ([y]/n):
 =20
  What does this mean, and is there any way to bypass this question?
  Thanks.
 =20
  Sam
 
 --
 Darrin Mison
 --=20
 "Necessity is the mother of invention" is a silly proverb.  "Necessity
 is the mother of futile dodges" is much nearer the truth.
 -- Alfred North Whitehead
 
 --opJtzjQTFsWo+cga
 Content-Type: application/pgp-signature
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.0.1 (GNU/Linux)
 Comment: For info see http://www.gnupg.org
 
 iEYEAREBAAYFAjjiuogACgkQbJuZmIkY3S6B5ACeMgFDnAoSqSP099T75Tq0D+xm
 7JAAn0LT5oLioplDYNnuZyM15xGI2UV2
 =//v7
 -END PGP SIGNATURE-
 
 --opJtzjQTFsWo+cga--
 .



Re: append .signature on message send?

2000-03-29 Thread Darrin Mison

not quite but almost - my sig is generated by the program fortune
so it is different (witty and informative) everytime.

this is done with the line...
set   signature="/usr/games/fortune -s |pr -t -e|"
in my .muttrc

So I don't see why this couldn't be used to run a simple script that
collects the required data and sends it to stdout.

It doesn't give you the exact time the message is sent but rather the
date and time that it was composed.

--
Darrin Mison
-- 
Your boss is a few sandwiches short of a picnic.

 PGP signature


Re: How to resend a mail?

2000-03-29 Thread Mikko Hänninen

Song Jianping [EMAIL PROTECTED] wrote on Thu, 30 Mar 2000:
 I am wondering how to resend a mail to another person?
 Here is my situation: I send a mail to someone, and
 the sent mail is stored in the directory which $record designates.
 Now I want to send the same mail to another person, can i
 do it with command options of mutt, without interactively invoking
 mutt.

If you're not looking for necessarily a Mutt-specific answer, you could
do this:

First save the email to a separate file.  Just making a Fcc to a
folder that doesn't exist (and making sure your $mbox_type is mbox)
should do it.

Then just call sendmail on the file:
sendmail -t [EMAIL PROTECTED]  /path/to/folder/file

That ought to re-send it...  I forget the exact sendmail arguments
for specifying the recipient list on the command line, but man sendmail
is your friend for that.


Hope this helps,
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 /
All I ask is a chance to prove that money can't make me happy.



Re: [Announce] Mutt-1.1.10 is out (RELEASE CANDIDATE)

2000-03-29 Thread Thomas Roessler

On 2000-03-29 22:53:53 +0200, Thomas Roessler wrote:

 or from any of the mirror sites listed on

   http.mutt.org/download.html.

Obviously, this was a typo.  It should have been:

http://www.mutt.org/download.html.

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

 PGP signature


Re: append .signature on message send?

2000-03-29 Thread Thomas Roessler

On 2000-03-29 01:15:36 -0800, Jason Baker wrote:

 It'd glue the footer on, then hand it off to the real
 thing.  Only problem I could forsee (other than
 handling the command line options that Mutt throws at
 it, although you could just tack them on as they were
 passed to the calling script) is that the copy in your
 sent folder would be lacking the footer info.

The options are not so much of a problem - something like

exec sendmail "$@"

is fine for this.  However, such a wrapper would have to
deal with MIME structures, and would invariably break
PGP/MIME signatures.

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