all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to deal with winmail.dat in Gnus
@ 2020-04-01  7:48 H. Dieter Wilhelm
  2020-04-01  8:32 ` tomas
  2020-04-01  9:14 ` Eric S Fraga
  0 siblings, 2 replies; 4+ messages in thread
From: H. Dieter Wilhelm @ 2020-04-01  7:48 UTC (permalink / raw)
  To: help-gnu-emacs

Hello Emacs-26.3

Today I sent to myself an email from Outlook with a PDF attachment and I
received an email with a winmail.dat attachement!  Never seen such a
thing in my live.

It seems that Gnus is just saving it as a winmail.dat file on the disc.
What are you doing with such an abomination under GNU-Linux? ;-)

Thanks a lot

       Dieter
-- 
Best wishes
H. Dieter Wilhelm
Zwingenberg, Germany




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to deal with winmail.dat in Gnus
  2020-04-01  7:48 How to deal with winmail.dat in Gnus H. Dieter Wilhelm
@ 2020-04-01  8:32 ` tomas
  2020-04-01  9:14 ` Eric S Fraga
  1 sibling, 0 replies; 4+ messages in thread
From: tomas @ 2020-04-01  8:32 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 864 bytes --]

On Wed, Apr 01, 2020 at 09:48:39AM +0200, H. Dieter Wilhelm wrote:
> Hello Emacs-26.3
> 
> Today I sent to myself an email from Outlook with a PDF attachment and I
> received an email with a winmail.dat attachement!  Never seen such a
> thing in my live.

This seems to be a TNEF (aka "Transport Neutral Encapsulation Format")
from Microsoft (God may have pity of their souls).

According to [1] there are a few options for normal folks to decode
that stuff.

> It seems that Gnus is just saving it as a winmail.dat file on the disc.
> What are you doing with such an abomination under GNU-Linux? ;-)

I try to get out of my way to avoid that stuff (that includes recommending
my customers to do the same -- think network effects and all that).

Cheers
[1] https://en.wikipedia.org/wiki/Transport_Neutral_Encapsulation_Format#Decoding

-- t

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to deal with winmail.dat in Gnus
  2020-04-01  7:48 How to deal with winmail.dat in Gnus H. Dieter Wilhelm
  2020-04-01  8:32 ` tomas
@ 2020-04-01  9:14 ` Eric S Fraga
  2020-04-02 18:27   ` Eric Abrahamsen
  1 sibling, 1 reply; 4+ messages in thread
From: Eric S Fraga @ 2020-04-01  9:14 UTC (permalink / raw)
  To: help-gnu-emacs

On Wednesday,  1 Apr 2020 at 09:48, H. Dieter Wilhelm wrote:
> Today I sent to myself an email from Outlook with a PDF attachment and I
> received an email with a winmail.dat attachement!  Never seen such a
> thing in my live.

You need to tell Outlook to send using MIME, not it's own
"standard".  When our organization moved fully to Outlook, I spent the
first few months pointing this out to people.  Eventually, in our place,
the default was changed somehow.

On Linux, there's a tool called "tnef" which will decode these
files.  Not sure how to get gnus to apply that, however.

-- 
Eric S Fraga via Emacs 28.0.50 & org 9.3.6 on Debian bullseye/sid




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to deal with winmail.dat in Gnus
  2020-04-01  9:14 ` Eric S Fraga
@ 2020-04-02 18:27   ` Eric Abrahamsen
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Abrahamsen @ 2020-04-02 18:27 UTC (permalink / raw)
  To: Eric S Fraga; +Cc: help-gnu-emacs

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> On Wednesday,  1 Apr 2020 at 09:48, H. Dieter Wilhelm wrote:
>> Today I sent to myself an email from Outlook with a PDF attachment and I
>> received an email with a winmail.dat attachement!  Never seen such a
>> thing in my live.
>
> You need to tell Outlook to send using MIME, not it's own
> "standard".  When our organization moved fully to Outlook, I spent the
> first few months pointing this out to people.  Eventually, in our place,
> the default was changed somehow.
>
> On Linux, there's a tool called "tnef" which will decode these
> files.  Not sure how to get gnus to apply that, however.

You can pipe a part through an external program using "K |". I don't
know if it's possible to install an automatic filter when saving the
attachments with "X m". MIME terrifies me and I try to minimize my
interaction with it.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-02 18:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-01  7:48 How to deal with winmail.dat in Gnus H. Dieter Wilhelm
2020-04-01  8:32 ` tomas
2020-04-01  9:14 ` Eric S Fraga
2020-04-02 18:27   ` Eric Abrahamsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.