Re: forwarding attachments (PLEASE READ before replying)

2002-02-14 Thread David T-G

Gary, et al --

...and then Gary Johnson said...
% 
% On Tue, Feb 12, 2002 at 10:22:34PM -0500, David T-G wrote:
% 
% > ...and then Gary Johnson said...
% 
% > % On Tue, Feb 12, 2002 at 05:46:09AM -0500, David T-G wrote:
% > % 
% > % > Please help me clarify...  Is it the case that $mime_forward does not
...
% > % OK, let me try to explain this by an example.  Someone sends me a
% > 
% > I just wanted to make sure I understood the problem; lots of people
% > started pointing to $mime_forward when I didn't think that that was the
% > answer Aleks sought.
% 
% I'm sorry if my tone was impolite.  I was exasperated by the apparent
% need to explain again what I thought Aleks had already made clear.

The tone was not at all impolite; no worries.  I reply in kind; I didn't
mean to put you off your footing, but merely to clarify why I was asking
for clarification.  I think we share the exasperation.


% 
% One reason for replying in such detail was that I wanted to be sure that
% I understood the problem myself before criticizing mutt's behavior, so I
% tried all the ways I knew of forwarding as I was writing the reply.  I
% learned some stuff.

That's always good :-)  Forgive me for having snipped so much of your
message away!


% 
...
% > % ([n]/y):", mutt starts my editor with the text/plain part already there.
% > 
% > So you (or you in Aleks's shoes) want to be able to edit the text body as
% > though it were a reply.  OK.
% 
% I guess this is habit as much as anything else.  Mutt's default
% forwarding behavior, as well as that of a lot of other mailers, judging
% from the mail I receive, is to include the original message in the new
% message's body.  So that's what I've come to expect.

Sure; forwarding without MIME encapsulation.  I don't do that but there
are lots of people who do.  I class that as a reply even if it's not
going back to the sender, since I think that forwarding means handing the
message to someone perhaps with a sticky note of comments at the top but
otherwise not chewed around.  Can you say IMNSHO? :-)


% 
% > % in the message.  Again great!  This is exactly the behavior I want.  But
...
% > So $mime_forward and putting any prologue in your envelope isn't good
...
% 
% The $mime_forward behavior is OK, but it's not what I've been
% conditioned to expect when I forward a message.  I would expect the
% basic behavior of forwarding to be consistent, whether or not I chose to
% include the original message's attachments.

That makes sense, I suppose.  I can certainly see your argument.


% 
% > I repeat that it's time for a feature patch, so one of you guys either
% > start coding one or find someone who will.
% 
% I wasn't as frustrated with mutt not having the feature as I was with
% feeling that the feature wasn't being understood.  Nevertheless, I
% suppose its time that I took a look at the code to see how difficult
% adding such a feature might be.

Best of luck!


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

HTH & HAND & Happy Valentine's Day


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




msg24494/pgp0.pgp
Description: PGP signature


Forward behiour

2002-02-14 Thread Simon White

Hello

I have read with interest the "forward format" debate, however it's still
unclear because I have lost the previous messages due to over-zealous pruning
of my mailbox last night.

Therefore, can someone please help me out and tell me how to configure my
beloved .muttrc to do the following:
If I forward a multipart message with an text and an attachment, I want to
edit the text part and still have the attachment in my message. 

Also, can I change the opening and closing "Forwarded message" and
"End forwarded message" lines?

Thanks,
-- 
|-Simon White
|-Internet Services Manager
|-MTDS S.A.
|-tel +212.3.767.4861
|-fax +212.3.767.4863
|-14, rue 16 novembre
|-Rabat, Kingdom of Morocco



Re: Forward behiour

2002-02-14 Thread David T-G

Simon --

...and then Simon White said...
% 
% Hello

Hello!


% 
% I have read with interest the "forward format" debate, however it's still

Happy to have provided the entertainment :-)


% unclear because I have lost the previous messages due to over-zealous pruning
% of my mailbox last night.

Oops :-)


% 
% Therefore, can someone please help me out and tell me how to configure my
% beloved .muttrc to do the following:
% If I forward a multipart message with an text and an attachment, I want to
% edit the text part and still have the attachment in my message. 

That's what takes some work at the moment.  You must select the message,
go to the attachments menu (bound to 'v' by default), tag the items to
forward (don't forget the text body!), and then tag-forward them.


% 
% Also, can I change the opening and closing "Forwarded message" and
% "End forwarded message" lines?

Yes.


% 
% Thanks,
% -- 
% |-Simon White

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!




msg24496/pgp0.pgp
Description: PGP signature


Re: Forward behiour

2002-02-14 Thread Nicolas Rachinsky

* On Thu, Feb 14, 2002 at 07:08:33AM -0500,
* David T-G <[EMAIL PROTECTED]> wrote:
> Simon --
> 
> ...and then Simon White said...
[...]
> % Also, can I change the opening and closing "Forwarded message" and
> % "End forwarded message" lines?
> 
> Yes.

Can you tell us how to do it? (without patching the source)

Thanks
Nicolas



Re: Forward behiour

2002-02-14 Thread René Clerc

* Nicolas Rachinsky <[EMAIL PROTECTED]> [14-02-2002 13:54]:

> * On Thu, Feb 14, 2002 at 07:08:33AM -0500,
> * David T-G <[EMAIL PROTECTED]> wrote:
> > Simon --
> > 
> > ...and then Simon White said...
> [...]
> > % Also, can I change the opening and closing "Forwarded message" and
> > % "End forwarded message" lines?
> > 
> > Yes.
> 
> Can you tell us how to do it? (without patching the source)

I guess not:

14:19 [rene@clerc:/usr/src/mutt-1.3.25] $ grep -n orwarded send.c|grep "\-\-\-"
325:  fputs ("- Forwarded message from ", fp);
334:  fputs ("\n- End forwarded message -\n", fp);

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

There is a definite parallel between shots of tequila and a woman's breasts.
One is not enough and three are too many.



msg24498/pgp0.pgp
Description: PGP signature


Re: Forward behiour

2002-02-14 Thread David T-G

Nicolas, et al --

...and then Nicolas Rachinsky said...
% 
% * On Thu, Feb 14, 2002 at 07:08:33AM -0500,
% * David T-G <[EMAIL PROTECTED]> wrote:
% > Simon --
% > 
% > ...and then Simon White said...
% [...]
% > % Also, can I change the opening and closing "Forwarded message" and
% > % "End forwarded message" lines?
% > 
% > Yes.
% 
% Can you tell us how to do it? (without patching the source)

Oh, you want to be told *how*, too? :-)

Since patching the source is out, I'd recommend resetting $editor to
either a script that changes the string before invoking the real editor
or a call to the real editor with the change commands on the command
line.  If you want this to always be changed and are using something like
vim, then an autocommand should take care of it as well.

Recipes are left as an excercise for the reader, mostly because I'm too
lazy to do the work :-)


% 
% Thanks
% Nicolas

HTH & HAND & Happy Valentine's Day


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




msg24499/pgp0.pgp
Description: PGP signature


Re: Forward behiour

2002-02-14 Thread David T-G

Rene --

...and then Rene Clerc said...
% 
% * Nicolas Rachinsky <[EMAIL PROTECTED]> [14-02-2002 13:54]:
% 
% > Can you tell us how to do it? (without patching the source)
% 
% I guess not:

For shame...  There's always a way!


% 
% -- 
% René Clerc  - ([EMAIL PROTECTED])
% 
% There is a definite parallel between shots of tequila and a woman's breasts.
% One is not enough and three are too many.

HTH & HAND & Happy Valentine's Day


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




msg24500/pgp0.pgp
Description: PGP signature


Re: Forward behiour

2002-02-14 Thread René Clerc

* David T-G <[EMAIL PROTECTED]> [14-02-2002 14:33]:

> % > Can you tell us how to do it? (without patching the source)
> % 
> % I guess not:
> 
> For shame...  There's always a way!

As usual, you seem to be right. But I though Nicholas meant through
some configuration variable or something. Feature request ;)

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

The Force. It surrounds us; It enfolds us;
It gets us dates on Saturday Nights.
-Obi Wan Kenobi, Famous Jedi Knight and Party Animal



msg24501/pgp0.pgp
Description: PGP signature


Re: Forward behiour

2002-02-14 Thread Nicolas Rachinsky

* On Thu, Feb 14, 2002 at 02:36:31PM +0100,
* René Clerc <[EMAIL PROTECTED]> wrote:
> * David T-G <[EMAIL PROTECTED]> [14-02-2002 14:33]:
> 
> > % > Can you tell us how to do it? (without patching the source)
> > % 
> > % I guess not:
> > 
> > For shame...  There's always a way!
> 
> As usual, you seem to be right. But I though Nicholas meant through
   Nicolas
> some configuration variable or something. Feature request ;)

I knew that there is no configuration variable, because some time ago
I didn't believe that there is no one and looked in the source myself.

But I don't really need this feature (at the moment). Who should file
the flea for the FTS (FleaTrackingSystem)? :-)

Nicolas



Re: Forward behiour

2002-02-14 Thread René Clerc

* Nicolas Rachinsky <[EMAIL PROTECTED]> [14-02-2002 15:07]:

> > As usual, you seem to be right. But I though Nicholas meant through
>Nicolas

Excusez moi ;)

> > some configuration variable or something. Feature request ;)
> 
> I knew that there is no configuration variable, because some time ago
> I didn't believe that there is no one and looked in the source myself.

So did I some time ago ;)

> But I don't really need this feature (at the moment). Who should file
> the flea for the FTS (FleaTrackingSystem)? :-)

I don't need the feature too, really. But I guess the need may arise
that these messages at least be internationalized, and perhaps be
configurable.

> Nicolas

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

No woman, no cry.
-Bob Marley 



msg24503/pgp0.pgp
Description: PGP signature


Re: Forward behiour

2002-02-14 Thread Nicolas Rachinsky

* On Thu, Feb 14, 2002 at 07:08:33AM -0500,
* David T-G <[EMAIL PROTECTED]> wrote:
> ...and then Simon White said...
> % Therefore, can someone please help me out and tell me how to configure my
> % beloved .muttrc to do the following:
> % If I forward a multipart message with an text and an attachment, I want to
> % edit the text part and still have the attachment in my message. 
> 
> That's what takes some work at the moment.  You must select the message,
> go to the attachments menu (bound to 'v' by default), tag the items to
> forward (don't forget the text body!), and then tag-forward them.

I think you have to be on the text body with the indicator when
pressing  to get the old text included in your
new message.

Nicolas



What is "bouncing"?

2002-02-14 Thread Andre Berger

Hi!

Could anyone please explain what mutt does when "bouncing" a message? Is it
re-sending to a different address with the same Msg-ID? I'm asking this because
those messages never seem to make it through my procmail duplicates filter

:0 Wh: msgid.lock
| formail -D 8192 msgid.cache

which makes it difficult for me to keep track of them.

-Andre




msg24505/pgp0.pgp
Description: PGP signature


Re: Decrypting GPG-encoded messages

2002-02-14 Thread Dave Smith

On Mon, Feb 11, 2002 at 06:22:06AM -0500, [EMAIL PROTECTED] wrote:
> % The first one (concerning this thread) is unrelated to the batching/scripting
> % problem.  I am simply unable to send a GPG-encrypted mail.  I create the
> 
> Hokay.  This certainly will require some debugging, but I haven't had to
> debug much and so I won't be much of a resource for you here.  Sorry!
> Now to see who else chimes in with ideas...

Update...
I tried running with
  set pgp_encrypt_only_command="cat %f"

Which, let's face it, should be able to produce something.  However, when
an 'encrypted' mail arrives, it just contains two attachments - the first
is comments on the GPG format/version (as per the PGP/MIME spec), and the
second attachment is approx. 8 blank lines, base-64 encoded.

Does anyone have any ideas?  I'm sure I must have done something
stupid, but I'm tearing my hair out trying to work out what it is...

TIA...

-- 
David Smith   Tel: +44 (0)1454 462380 (direct)
STMicroelectronicsFax: +44 (0)1454 617910
1000 Aztec WestTINA (ST only): (065) 2380
Almondsbury  Home: 01454 616963
BRISTOLMobile: 07932 642724
BS32 4SQ   Work Email: [EMAIL PROTECTED]
   Home Email: [EMAIL PROTECTED]



Re: Decrypting GPG-encoded messages

2002-02-14 Thread Simon White

Since it's a bit complex and I don't really know what I'm talking about, I'm
giving you a link which does.

Simon

On 14-Feb-02 at 16:57, Dave Smith's transmission stated :
> On Mon, Feb 11, 2002 at 06:22:06AM -0500, [EMAIL PROTECTED] wrote:
> > % The first one (concerning this thread) is unrelated to the batching/scripting
> > % problem.  I am simply unable to send a GPG-encrypted mail.  I create the
> > 
> > Hokay.  This certainly will require some debugging, but I haven't had to
> > debug much and so I won't be much of a resource for you here.  Sorry!
> > Now to see who else chimes in with ideas...
> 
> Update...
> I tried running with
>   set pgp_encrypt_only_command="cat %f"
> 
> Which, let's face it, should be able to produce something.  However, when
> an 'encrypted' mail arrives, it just contains two attachments - the first
> is comments on the GPG format/version (as per the PGP/MIME spec), and the
> second attachment is approx. 8 blank lines, base-64 encoded.
> 
> Does anyone have any ideas?  I'm sure I must have done something
> stupid, but I'm tearing my hair out trying to work out what it is...
> 
> TIA...
> 
> -- 
> David Smith   Tel: +44 (0)1454 462380 (direct)
> STMicroelectronicsFax: +44 (0)1454 617910
> 1000 Aztec WestTINA (ST only): (065) 2380
> Almondsbury  Home: 01454 616963
> BRISTOLMobile: 07932 642724
> BS32 4SQ   Work Email: [EMAIL PROTECTED]
>Home Email: [EMAIL PROTECTED]

-- 
|-Simon White
|-Internet Services Manager
|-MTDS S.A.
|-tel +212.3.767.4861
|-fax +212.3.767.4863
|-14, rue 16 novembre
|-Rabat, Kingdom of Morocco



URL got lost in the headers

2002-02-14 Thread Simon White

Hello,

http: //www.linuxdoc.org/HOWTO/Mutt-GnuPG-PGP-HOWTO.html 

This link seemed to get lost in the headers of the previous send

-- 
|-Simon White
|-Internet Services Manager
|-MTDS S.A.
|-tel +212.3.767.4861
|-fax +212.3.767.4863
|-14, rue 16 novembre
|-Rabat, Kingdom of Morocco



Mutt Pager and ^L?

2002-02-14 Thread Stephan Seitz

Hi!

How do I configure the mutt pager to recognize a spoiler warning ^L
and only display the following text if I press a key?

Shade and sweet water!

Stephan

-- 
| Stephan Seitz   E-Mail: [EMAIL PROTECTED] |
|  WWW: http://fsing.fs.uni-sb.de/~stse/|
| PGP Public Keys: http://fsing.fs.uni-sb.de/~stse/pgp.html |



msg24509/pgp0.pgp
Description: PGP signature


Re: What is "bouncing"?

2002-02-14 Thread Will Yardley

Andre Berger wrote:
> 
> Could anyone please explain what mutt does when "bouncing" a message? Is it
> re-sending to a different address with the same Msg-ID? 

bouncing just reinjects the message into your local mta without changing
it, so yeah it will leave the messageid intact.

> I'm asking this because those messages never seem to make it through
> my procmail duplicates filter

hrmm usually i only 'bounce' messages to people or addresses other than
the one i've already received the message to

if it's a problem, you could set procmail to copy the duplicates to
another folder instead of deleting them (check the procmailex man page
for syntax).

-- 
William Yardley
GnuPG public key: http://infinitejazz.net/will/pgp/gpg.asc




arrggh, print hell [little OT]

2002-02-14 Thread Nick Wilson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi everyone, 
long time no speak :-)

I've just had to print an entire mbox file, it wasn't that many messages
but it was a painful process as I didn't think of a way to only print
the /actuall/ message bodies (and perhaps TO, From)

I just did: $ lpr mymboxfile

What might I have done?

Many thanks...
- -- 

Nick Wilson

Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8bB69HpvrrTa6L5oRAv3kAKCeBgUxn8bKkxKtlqbTYvAki+WrNACfX1yc
frBBlVaLTxs8nf1xqweB1Xg=
=IkTh
-END PGP SIGNATURE-



Re: arrggh, print hell [little OT]

2002-02-14 Thread David Champion

On 2002.02.14, in <[EMAIL PROTECTED]>,
"Nick Wilson" <[EMAIL PROTECTED]> wrote:
> 
> I've just had to print an entire mbox file, it wasn't that many messages
> but it was a painful process as I didn't think of a way to only print
> the /actuall/ message bodies (and perhaps TO, From)
> 
> I just did: $ lpr mymboxfile
> 
> What might I have done?

- open the mailbox in mutt
- tag all ("T.", I think? I don't use normal bindings.)
- print all tagged items (";p")
- quit

Using mutt isn't necessary, of course, but it lets you apply mutt's
header weeding.

If $print_split is set, mutt will print each message as a separate
job. If it's unset, the messages will be concatenated into your print
command.

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago
 Colons and slashes and dots, oh my!



Re: arrggh, print hell [little OT]

2002-02-14 Thread Mathias Gygax

On Don, Feb 14, 2002 at 09:31:57 +0100, Nick Wilson wrote:
> Hi everyone, 

hoi nick,

> I've just had to print an entire mbox file, it wasn't that many messages
> but it was a painful process as I didn't think of a way to only print
> the /actuall/ message bodies (and perhaps TO, From)
> 
> I just did: $ lpr mymboxfile
> 
> What might I have done?

just give formail(1) a try. it should be delivered with your procmail
package. format your mbox with it and pipe it to lpr.

FORMAIL(1)   FORMAIL(1)


NAME
   formail - mail (re)formatter


DESCRIPTION
   formail is a filter that can be used to  force  mail  into
   mailbox  format, perform `From ' escaping, generate auto-
   replying headers, do simple header  munging/extracting  or
   split  up  a mailbox/digest/articles file.  The mail/mail­
   box/article contents will be expected on stdin.

   If formail is supposed to  determine  the  sender  of  the
   mail,  but  is  unable  to  find any,  it will substitute
   `foo@bar'.

   If formail is started without any command line options, it
   will  force any mail coming from stdin into mailbox format
   and will escape all bogus `From ' lines with a `>'.

[snip]



Re: arrggh, print hell [little OT]

2002-02-14 Thread Carl B. Constantine

* Nick Wilson ([EMAIL PROTECTED]) wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hi everyone, 
> long time no speak :-)
> 
> I've just had to print an entire mbox file, it wasn't that many messages
> but it was a painful process as I didn't think of a way to only print
> the /actuall/ message bodies (and perhaps TO, From)
> 
> I just did: $ lpr mymboxfile
> 
> What might I have done?

Install muttprint. tag all the messages you want to print and print.
muttprint will print all the messages out in succession the way you
want. when you do it this way, it doesn't print each message on a
separate page, but just continues printing. it might be configurable
though.

This works great for me when I want to print multiple messages like
that.

-- 
Carl B. Constantine University of Victoria
Programmer Analyst  http://www.uvic.ca
UNIX System Administrator   Victoria, BC, Canada
[EMAIL PROTECTED]



Re: Mutt Pager and ^L?

2002-02-14 Thread Cameron Simpson

On 18:43 14 Feb 2002, Stephan Seitz <[EMAIL PROTECTED]> wrote:
| How do I configure the mutt pager to recognize a spoiler warning ^L
| and only display the following text if I press a key?

Maybe use the pager filter facility to turn a ^L into lots of newlines?
-- 
Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/

<[EMAIL PROTECTED]> wrote:
| That such a simple question from a non-specialist can provoke so much
| debate says little for the scientific community's state of so-called
| knowledge. 
This isn't the scientific community, you silly wanker, this is USENET!!!
- Dave Cook <[EMAIL PROTECTED]>