Re: winmail.dat

2011-07-19 Thread Christoph Kukulies

Am 18.07.2011 16:17, schrieb Jostein Berntsen:

On 18.07.11,13:27, Christoph P.U. Kukulies wrote:

Am 18.07.2011 12:20, schrieb Christian Brabandt:

On Mon, July 18, 2011 9:45 am, Christoph P.U. Kukulies wrote:

Hi.
I'm running Mutt 1.5.20 (2009-06-14) under Ubuntu and was wondering why
mutt couldn't cope with
some mail I got, containing an attachment, named winmail.dat (MS Outlook).

Mutt wasn't able to unpack the two JPG files that were packed into that
winmail.dat container.
I asked the friend to send the same email to another account where I hat
thunderbird (5.0) and I was able to
see the attachments (JPGs) without seeing something of winmail.dat at all.

Also forwarding the mail from mutt to the other account didn't help. I
then saw a winmail.dat
as an attachment and TB didn't know what to do with it.

-I 1no description [text/plain, quoted,
iso-8859-1, 0,2K]
 A 2 winmail.dat[applica/ms-tnef,
base64, 5,5M]



Thanks, hope you don't mind me sending this back to the list.

I got this tnef-package. What would now be the steps to make mutt
to recognize an attachment
named winmail.dat and usetnef to unpack it and show me the
attachments when I v the email.

At present it looks like this:
-I 1no description [text/plain, quoted,
iso-8859-1, 0,2K]
  A 2 winmail.dat[applica/ms-tnef,
base64, 5,5M]

I'd rather have it look like showing the IM000xx.JPG files or whatever
winmail.dat is hiding to me.


Try the steps listed for mutt and mailcap setup in the manual:

http://linux.die.net/man/1/tnef

Jostein


Thanks. It works now. It's still this winmail.dat being displayed but 
when I type v, I'm

prompted for extracting the contents.

--
Christoph




winmail.dat

2011-07-18 Thread Christoph P.U. Kukulies

Hi.
I'm running Mutt 1.5.20 (2009-06-14) under Ubuntu and was wondering why 
mutt couldn't cope with

some mail I got, containing an attachment, named winmail.dat (MS Outlook).

Mutt wasn't able to unpack the two JPG files that were packed into that 
winmail.dat container.
I asked the friend to send the same email to another account where I hat 
thunderbird (5.0) and I was able to

see the attachments (JPGs) without seeing something of winmail.dat at all.

Also forwarding the mail from mutt to the other account didn't help. I 
then saw a winmail.dat

as an attachment and TB didn't know what to do with it.

--
Christoph



Re: winmail.dat

2011-07-18 Thread Lars Hecking
Christoph P.U. Kukulies writes:
 Hi.
 I'm running Mutt 1.5.20 (2009-06-14) under Ubuntu and was wondering why 
 mutt couldn't cope with
 some mail I got, containing an attachment, named winmail.dat (MS Outlook).
 
 Ask the sender to configure their mail tool for plain text or html rather
 than rich text.



Re: winmail.dat

2011-07-18 Thread Christoph P.U. Kukulies

Am 18.07.2011 11:12, schrieb Lars Hecking:

Christoph P.U. Kukulies writes:

Hi.
I'm running Mutt 1.5.20 (2009-06-14) under Ubuntu and was wondering why
mutt couldn't cope with
some mail I got, containing an attachment, named winmail.dat (MS Outlook).


  Ask the sender to configure their mail tool for plain text or html rather
  than rich text.

Wouldn't it be more appropriate to ask why Thunderbird can process said 
email from that
users' settings (outlook) and mutt cannot, rather than asking the sender 
to change something in his

settings?

--
Christoph


Re: winmail.dat

2011-07-18 Thread Jostein Berntsen
On 18.07.11,12:29, Christoph P.U. Kukulies wrote:
 Am 18.07.2011 11:12, schrieb Lars Hecking:
 Christoph P.U. Kukulies writes:
 Hi.
 I'm running Mutt 1.5.20 (2009-06-14) under Ubuntu and was wondering why
 mutt couldn't cope with
 some mail I got, containing an attachment, named winmail.dat (MS Outlook).
 
   Ask the sender to configure their mail tool for plain text or html rather
   than rich text.
 
 Wouldn't it be more appropriate to ask why Thunderbird can process
 said email from that
 users' settings (outlook) and mutt cannot, rather than asking the
 sender to change something in his
 settings?

In mutt you can use tnef to handle these type of attachments:

http://linux.die.net/man/1/tnef

In Thunderbird you can use ktnef.


Jostein







Re: winmail.dat

2011-07-18 Thread Lars Hecking

 Wouldn't it be more appropriate to ask why Thunderbird can process said 
 email from that
 users' settings (outlook) and mutt cannot, rather than asking the sender 
 to change something in his settings?

 The sender's settings are pre-MIME. MIME is a set of Internet mail standards
 that has been around in some form for nearly 20 years or so.

 Look up mailcap settings for application/ms-tnef, but in my personal opinion,
 this sort of thing should be discouraged.



Re: winmail.dat

2011-07-18 Thread Christoph P.U. Kukulies

Am 18.07.2011 12:20, schrieb Christian Brabandt:

On Mon, July 18, 2011 9:45 am, Christoph P.U. Kukulies wrote:

Hi.
I'm running Mutt 1.5.20 (2009-06-14) under Ubuntu and was wondering why
mutt couldn't cope with
some mail I got, containing an attachment, named winmail.dat (MS Outlook).

Mutt wasn't able to unpack the two JPG files that were packed into that
winmail.dat container.
I asked the friend to send the same email to another account where I hat
thunderbird (5.0) and I was able to
see the attachments (JPGs) without seeing something of winmail.dat at all.

Also forwarding the mail from mutt to the other account didn't help. I
then saw a winmail.dat
as an attachment and TB didn't know what to do with it.
-   I 1 no description[text/plain, quoted, 
iso-8859-1, 0,2K]
 A 2 winmail.dat[applica/ms-tnef, 
base64, 5,5M]





Thanks, hope you don't mind me sending this back to the list.

I got this tnef-package. What would now be the steps to make mutt to 
recognize an attachment
named winmail.dat and usetnef to unpack it and show me the attachments 
when I v the email.


At present it looks like this:
-   I 1 no description[text/plain, quoted, 
iso-8859-1, 0,2K]
 A 2 winmail.dat[applica/ms-tnef, 
base64, 5,5M]


I'd rather have it look like showing the IM000xx.JPG files or whatever
winmail.dat is hiding to me.

--
Christoph




Re: winmail.dat

2011-07-18 Thread Jostein Berntsen
On 18.07.11,13:27, Christoph P.U. Kukulies wrote:
 Am 18.07.2011 12:20, schrieb Christian Brabandt:
 On Mon, July 18, 2011 9:45 am, Christoph P.U. Kukulies wrote:
 Hi.
 I'm running Mutt 1.5.20 (2009-06-14) under Ubuntu and was wondering why
 mutt couldn't cope with
 some mail I got, containing an attachment, named winmail.dat (MS Outlook).
 
 Mutt wasn't able to unpack the two JPG files that were packed into that
 winmail.dat container.
 I asked the friend to send the same email to another account where I hat
 thunderbird (5.0) and I was able to
 see the attachments (JPGs) without seeing something of winmail.dat at all.
 
 Also forwarding the mail from mutt to the other account didn't help. I
 then saw a winmail.dat
 as an attachment and TB didn't know what to do with it.
 -   I 1 no description[text/plain, quoted,
 iso-8859-1, 0,2K]
  A 2 winmail.dat[applica/ms-tnef,
 base64, 5,5M]
 
 
 
 Thanks, hope you don't mind me sending this back to the list.
 
 I got this tnef-package. What would now be the steps to make mutt
 to recognize an attachment
 named winmail.dat and usetnef to unpack it and show me the
 attachments when I v the email.
 
 At present it looks like this:
 -   I 1 no description[text/plain, quoted,
 iso-8859-1, 0,2K]
  A 2 winmail.dat[applica/ms-tnef,
 base64, 5,5M]
 
 I'd rather have it look like showing the IM000xx.JPG files or whatever
 winmail.dat is hiding to me.
 

Try the steps listed for mutt and mailcap setup in the manual:

http://linux.die.net/man/1/tnef

Jostein




Re: winmail.dat

2011-07-18 Thread Chip Camden
Quoth Christoph P.U. Kukulies on Monday, 18 July 2011:
 Am 18.07.2011 12:20, schrieb Christian Brabandt:
 On Mon, July 18, 2011 9:45 am, Christoph P.U. Kukulies wrote:
 Hi.
 I'm running Mutt 1.5.20 (2009-06-14) under Ubuntu and was wondering why
 mutt couldn't cope with
 some mail I got, containing an attachment, named winmail.dat (MS Outlook).
 
 Mutt wasn't able to unpack the two JPG files that were packed into that
 winmail.dat container.
 I asked the friend to send the same email to another account where I hat
 thunderbird (5.0) and I was able to
 see the attachments (JPGs) without seeing something of winmail.dat at all.
 
 Also forwarding the mail from mutt to the other account didn't help. I
 then saw a winmail.dat
 as an attachment and TB didn't know what to do with it.
 -   I 1 no description[text/plain, quoted, 
 iso-8859-1, 0,2K]
  A 2 winmail.dat[applica/ms-tnef, 
 base64, 5,5M]
 
 
 
 Thanks, hope you don't mind me sending this back to the list.
 
 I got this tnef-package. What would now be the steps to make mutt to 
 recognize an attachment
 named winmail.dat and usetnef to unpack it and show me the attachments 
 when I v the email.
 
 At present it looks like this:
 -   I 1 no description[text/plain, quoted, 
 iso-8859-1, 0,2K]
  A 2 winmail.dat[applica/ms-tnef, 
 base64, 5,5M]
 
 I'd rather have it look like showing the IM000xx.JPG files or whatever
 winmail.dat is hiding to me.
 
 --
 Christoph
 

Personally, I use the 'v' function to view the contents of the tnef file
rather than to unpack it.  Thusly in .mailcap:

application/ms-tnef;tnef -t %s; copiousoutput; needsterminal;

Then, in .muttrc I map Ctrl+t in the attachments menu to unpack the
attachment into a special folder (~/Mail/attach) so I can then go view
the attachments from the shell:

macro attach \Ct |tnef --overwrite -C ~/Mail/attach\n Unpack TNEF attachment

I suppose it would be possible to create a macro that does the unpack and
view all contents all in one step, but that's going too far down the
automatically trust anything you get in an email road for my tastes.

-- 
.O. | Sterling (Chip) Camden  | http://camdensoftware.com
..O | sterl...@camdensoftware.com | http://chipsquips.com
OOO | 2048R/D6DBAF91  | http://chipstips.com


pgpoK1DNRmKeK.pgp
Description: PGP signature