[OT] Mutt: how to add customized headers

2012-01-07 Thread Camaleón
Hello Mutt lovers :-)

I wonder if it is possible to add a customized header field with semi-
faked data on it... 

(yup, it sounds a bit weird...)

... Mmmm, nope, don't get me wrong, I don't want to send spam nor getting 
into forbidden systems ;-)

I'm asking this becasue I usually use Pan newsreader for posting to 
mailing lists but from time to time I need to use Mutt (i.e., when I have 
to attach a file to a message, because Pan cannot handle attachments). In 
such cases (mostly replies), Mutt misses the References: header 
(that's normal because Mutt knows nothing about the message I posted from 
Pan) and I would like to keep the messages threaded.

So, in brief, I would like to see a way for adding a custom References: 
for the outgoing messages.

I have read Mutt's doc:

3.12 User defined headers
http://www.mutt.org/doc/manual/manual-3.html#ss3.12

But on-the-fly header edit (Shift+E) does not work as I expected. For 
instance, if I add:

***
References: pan.2012.01.06.17.08...@gmail.com
***

And send the message, the e-mail is received with no References field 
at all.

So, questions:

1/ Is it possible to add such customized header field or is something 
that goes against any RFC? O:-)

2/ Should possible, how could be done?

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2012.01.07.16.28...@gmail.com



Re: [OT] Mutt: how to add customized headers

2012-01-07 Thread Teemu Likonen
* 2012-01-07T16:28:55Z * Camaleón wrote:

 So, in brief, I would like to see a way for adding a custom References: 
 for the outgoing messages.

I think you want In-Reply-To header. Anyway, put this to ~/.muttrc

set edit_headers=yes

and you can edit headers in your text editor when composing a mail
message.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87boqf4g3d@mithlond.arda



Re: [OT] Mutt: how to add customized headers

2012-01-07 Thread André Berger
* Camaleón (2012-01-07):
 Hello Mutt lovers :-)
[...]
 So, in brief, I would like to see a way for adding a custom References: 
 for the outgoing messages.

Shouldn't that read

  In-Reply-To: pan.2012.01.06.17.08...@gmail.com

-André

-- 
L'art d'ennuyer est de tout dire. [Voltaire]


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120107170416.ga44...@albedo.lan



Re: [OT] Mutt: how to add customized headers

2012-01-07 Thread Greg Donoghue
On Sat, Jan 07, 2012 at 04:28:55PM +, Camaleón wrote:
 
 So, in brief, I would like to see a way for adding a custom References: 
 for the outgoing messages.

Is this of any help?
From the manual:

6.2.4. In-Reply-To: Header

When replying to messages, the In-Reply-To: header contains the
Message-Id of the message(s) you reply to. If you remove or modify
its value, Mutt will not generate a References: field, which allows
you to create a new message thread, for example to create a new
message to a mailing list without having to enter the mailing
list's address.

It seems that the References: header must be generated by mutt.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120107173349.GA3514@crunch



(Solved) Re: [OT] Mutt: how to add customized headers

2012-01-07 Thread Camaleón
On Sat, 07 Jan 2012 18:44:54 +0200, Teemu Likonen wrote:

 * 2012-01-07T16:28:55Z * Camaleón wrote:
 
 So, in brief, I would like to see a way for adding a custom
 References: for the outgoing messages.
 
 I think you want In-Reply-To header. 

And References not? I think my messages lack that field :-?

Okay, let me try it (...). Mmm, perfect, it works.

 Anyway, put this to ~/.muttrc
 
 set edit_headers=yes
 
 and you can edit headers in your text editor when composing a mail
 message.

That's the same effect than Shift+E (which BTW also works when using 
In-Reply-To), so it seems that References is the one that fails 
because other e-mail headers are also retained (e.g., Message-ID).

Thanks a bunch, this will keep my messages ordered in the same thread 
regardless the MUA :-D

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jea02v$aqv$1...@dough.gmane.org