Evolution and winmail.dat tnef support

classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|

Evolution and winmail.dat tnef support

ogio.spam
Hi all,
I'm receiving emails from a lot of customers that use Microsoft client/server.

Sometime I receive the emails with winmail.dat attached.
Evolution is unable to display it correctly.
If I use ktnef to open the attachement I have other problems.
Some of the problems found on ktnef are solved with ytnef.

I had look at google solutions and I found that evolution can be compiled with tnef plugin enabled, but it seems Fedora don't do it.

Can I understand why, and if there is a simple way to obtain tnef support working on the box with Evolution?

I'm using Fedora 31 with Evolution 3.34.2

Regards
Ambrogio

_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Evolution and winmail.dat tnef support

Ed Greshko
On 2019-12-12 20:35, ogio.spam wrote:
> Hi all,
> I'm receiving emails from a lot of customers that use Microsoft client/server.
>
> Sometime I receive the emails with winmail.dat attached.
> Evolution is unable to display it correctly.
> If I use ktnef to open the attachement I have other problems.
> Some of the problems found on ktnef are solved with ytnef.
>
> I had look at google solutions and I found that evolution can be compiled with tnef plugin enabled, but it seems Fedora don't do it.

Probably due to this https://bugzilla.redhat.com/show_bug.cgi?id=521662


--
The key to getting good answers is to ask good questions.
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Evolution and winmail.dat tnef support

Dario Lesca
Il giorno gio, 12/12/2019 alle 22.42 +0800, Ed Greshko ha scritto:
> Probably due to this
> https://bugzilla.redhat.com/show_bug.cgi?id=521662

But seem this bug is resolved:

>           Tomas Hoger 2014-08-05 09:20:04 UTC              
>                  
> Evolution bug and fix:
> https://bugzilla.gnome.org/show_bug.cgi?id=641069https://bugzilla.gnome.org/show_bug.cgi?id=641069">https://bugzilla.gnome.org/show_bug.cgi?id=641069>
> https://git.gnome.org/browse/evolution/commit/?id=a9fb511https://git.gnome.org/browse/evolution/commit/?id=a9fb511">https://git.gnome.org/browse/evolution/commit/?id=a9fb511>

Why not enable again TNEF Plugin into fedora evolution package?

Thanks

--
Dario Lesca
(inviato dal mio Linux Fedora 31 Workstation)
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Evolution and winmail.dat tnef support

Patrick O'Callaghan-2
In reply to this post by ogio.spam
On Thu, 2019-12-12 at 13:35 +0100, ogio.spam wrote:

> Hi all,
> I'm receiving emails from a lot of customers that use Microsoft
> client/server.
>
> Sometime I receive the emails with winmail.dat attached.
> Evolution is unable to display it correctly.
> If I use ktnef to open the attachement I have other problems.
> Some of the problems found on ktnef are solved with ytnef.
>
> I had look at google solutions and I found that evolution can be
> compiled with tnef plugin enabled, but it seems Fedora don't do it.
>
> Can I understand why, and if there is a simple way to obtain tnef
> support working on the box with Evolution?
>
> I'm using Fedora 31 with Evolution 3.34.2

You may get better answers by asking on the Evolution list. Note that
it's distro-agnostic, but as long as you specify your Evolution version
that shouldn't matter.

See https://mail.gnome.org/mailman/listinfo/evolution-list

poc
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Evolution and winmail.dat tnef support

Dario Lesca
Il giorno gio, 12/12/2019 alle 16.03 +0000, Patrick O'Callaghan ha scritto:
You may get better answers by asking on the Evolution list. 

I'm sorry, (and I could be wrong) but this is a Fedora question&answer:

From fedora's evolution.spec file, get from evolution-3.35.2-1.fc32.src.rpm:

%cmake -G "Unix Makefiles" \
	-DENABLE_MAINTAINER_MODE=OFF \
	-DVERSION_SUBSTRING=" (%{version}-%{release})" \
	%ldap_flags %ssl_flags %gtkdoc_flags %tests_flags \
	-DENABLE_PLUGINS=all \
	-DENABLE_YTNEF=OFF \
	..

Like you can see, TNEF is OFF.

If the vulnerability or bug still exist, this is right.

But if it is true that the bug or vulnerability has been solved, it's time to remove " -DENABLE_YTNEF=OFF" line from .spec file.

Can Milan Crha <[hidden email]>  evaluate this and give us some answers? (thanks in advance)

For now, I have resolve this Issue (cannot open the winmail.dat attach) with this simple bash script, put it in my ~/bin/ folder and bind it to "open with" .dat file into file manager:

#!/usr/bin/bash
filefullpath="$1"
tmpdir=$(mktemp -d "/var/tmp/tnef.XXXXXXXX.d")
tnef --verbose --save-body -C "$tmpdir" "$filefullpath"
xdg-open "$tmpdir"

Thanks

-- 
Dario Lesca
(inviato dal mio Linux Fedora 31 Workstation)

_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Evolution and winmail.dat tnef support

Patrick O'Callaghan-2
On Thu, 2019-12-12 at 18:30 +0100, Dario Lesca wrote:
> Il giorno gio, 12/12/2019 alle 16.03 +0000, Patrick O'Callaghan ha
> scritto:
> > You may get better answers by asking on the Evolution list.
>
> I'm sorry, (and I could be wrong) but this is a Fedora question&answer:
>
> From fedora's evolution.spec file, get from evolution-3.35.2-
> 1.fc32.src.rpm:

Both Evolution 3.35 and F32 are unreleased software. Looks like you're
using a testing release, in which case you should ask on the Fedora
Test list, not here.

poc
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Evolution and winmail.dat tnef support

Samuel Sieb
On 12/12/19 9:57 AM, Patrick O'Callaghan wrote:

> On Thu, 2019-12-12 at 18:30 +0100, Dario Lesca wrote:
>> Il giorno gio, 12/12/2019 alle 16.03 +0000, Patrick O'Callaghan ha
>> scritto:
>>> You may get better answers by asking on the Evolution list.
>>
>> I'm sorry, (and I could be wrong) but this is a Fedora question&answer:
>>
>>  From fedora's evolution.spec file, get from evolution-3.35.2-
>> 1.fc32.src.rpm:
>
> Both Evolution 3.35 and F32 are unreleased software. Looks like you're
> using a testing release, in which case you should ask on the Fedora
> Test list, not here.

That's going a bit far.  The point is that tnef support hasn't been
enabled for a long time, including current releases.  However, neither
this list nor the test list are likely going to get him anywhere and he
didn't CC the maintainer either.

Dario, the best option would be to file a bug in bugzilla on evolution
requesting to enable it.
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Evolution and winmail.dat tnef support

Samuel Sieb
On 12/12/19 10:07 AM, Samuel Sieb wrote:

> On 12/12/19 9:57 AM, Patrick O'Callaghan wrote:
>> On Thu, 2019-12-12 at 18:30 +0100, Dario Lesca wrote:
>>> Il giorno gio, 12/12/2019 alle 16.03 +0000, Patrick O'Callaghan ha
>>> scritto:
>>>> You may get better answers by asking on the Evolution list.
>>>
>>> I'm sorry, (and I could be wrong) but this is a Fedora question&answer:
>>>
>>>  From fedora's evolution.spec file, get from evolution-3.35.2-
>>> 1.fc32.src.rpm:
>>
>> Both Evolution 3.35 and F32 are unreleased software. Looks like you're
>> using a testing release, in which case you should ask on the Fedora
>> Test list, not here.
>
> That's going a bit far.  The point is that tnef support hasn't been
> enabled for a long time, including current releases.  However, neither
> this list nor the test list are likely going to get him anywhere and he
> didn't CC the maintainer either.
>
> Dario, the best option would be to file a bug in bugzilla on evolution
> requesting to enable it.

Sorry, Dario, I missed that it was Ambrogio that was the original
poster, although you could file it too since you seem interested in it.
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Evolution and winmail.dat tnef support

Dario Lesca
In reply to this post by Patrick O'Callaghan-2
Il giorno gio, 12/12/2019 alle 17.57 +0000, Patrick O'Callaghan ha scritto:
Both Evolution 3.35 and F32 are unreleased software. Looks like you're
using a testing release, in which case you should ask on the Fedora
Test list, not here.

Clap! Clap! Clap!

[[hidden email] tmp]$ grep TNEF evolution-3.34.1-1.fc31.src/evolution.spec 
	-DENABLE_YTNEF=OFF \
  the PST importer and disable the experimental TNEF attachments plugin

Thanks

-- 
Dario Lesca
(inviato dal mio Linux Fedora 31 Workstation)

_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Evolution and winmail.dat tnef support

Dario Lesca
In reply to this post by Samuel Sieb
Il giorno gio, 12/12/2019 alle 10.07 -0800, Samuel Sieb ha scritto:
Dario, the best option would be to file a bug in bugzilla on evolution 
requesting to enable it.

Thank Samuel, I have fill a bug.

-- 
Dario Lesca
(inviato dal mio Linux Fedora 31 Workstation)

_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Evolution and winmail.dat tnef support

Patrick O'Callaghan-2
In reply to this post by Dario Lesca
On Thu, 2019-12-12 at 19:40 +0100, Dario Lesca wrote:

> Il giorno gio, 12/12/2019 alle 17.57 +0000, Patrick O'Callaghan ha
> scritto:
> > Both Evolution 3.35 and F32 are unreleased software. Looks like
> > you'reusing a testing release, in which case you should ask on the
> > FedoraTest list, not here.
>
> Clap! Clap! Clap!
>
> [lesca@dodo tmp]$ grep TNEF evolution-3.34.1-1.fc31.src/evolution.spec
> -DENABLE_YTNEF=OFF \  the PST importer and disable the
> experimental TNEF attachments plugin

Not sure what you're trying to say. You reported an error against an
unreleased version. If it's also present in the released version then
you should have said so in the first place.

poc
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Evolution and winmail.dat tnef support

Patrick O'Callaghan-2
In reply to this post by Samuel Sieb
On Thu, 2019-12-12 at 10:07 -0800, Samuel Sieb wrote:

> On 12/12/19 9:57 AM, Patrick O'Callaghan wrote:
> > On Thu, 2019-12-12 at 18:30 +0100, Dario Lesca wrote:
> > > Il giorno gio, 12/12/2019 alle 16.03 +0000, Patrick O'Callaghan ha
> > > scritto:
> > > > You may get better answers by asking on the Evolution list.
> > >
> > > I'm sorry, (and I could be wrong) but this is a Fedora question&answer:
> > >
> > >  From fedora's evolution.spec file, get from evolution-3.35.2-
> > > 1.fc32.src.rpm:
> >
> > Both Evolution 3.35 and F32 are unreleased software. Looks like you're
> > using a testing release, in which case you should ask on the Fedora
> > Test list, not here.
>
> That's going a bit far.  The point is that tnef support hasn't been
> enabled for a long time, including current releases.  However, neither
> this list nor the test list are likely going to get him anywhere and he
> didn't CC the maintainer either.

That's why I suggested posting on the Evo list. The principal devel
hangs out there and is usually very responsive.

> Dario, the best option would be to file a bug in bugzilla on evolution
> requesting to enable it.

Or upstream at https://gitlab.gnome.org/GNOME/evolution/issues/

poc
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Evolution and winmail.dat tnef support

Samuel Sieb
On 12/12/19 2:47 PM, Patrick O'Callaghan wrote:
> That's why I suggested posting on the Evo list. The principal devel
> hangs out there and is usually very responsive.
>
>> Dario, the best option would be to file a bug in bugzilla on evolution
>> requesting to enable it.
>
> Or upstream at https://gitlab.gnome.org/GNOME/evolution/issues/

I don't understand why either of those options is useful when it's a
specific flag set in the Fedora spec file.  It has nothing to do with
upstream.
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Evolution and winmail.dat tnef support

Patrick O'Callaghan-2
On Thu, 2019-12-12 at 14:53 -0800, Samuel Sieb wrote:

> On 12/12/19 2:47 PM, Patrick O'Callaghan wrote:
> > That's why I suggested posting on the Evo list. The principal devel
> > hangs out there and is usually very responsive.
> >
> > > Dario, the best option would be to file a bug in bugzilla on evolution
> > > requesting to enable it.
> >
> > Or upstream at https://gitlab.gnome.org/GNOME/evolution/issues/
>
> I don't understand why either of those options is useful when it's a
> specific flag set in the Fedora spec file.  It has nothing to do with
> upstream.

I was referring to the apparent lack of support for TNEF, which would
count as a feature request. I presume the spec file flag is there for a
reason, e.g. that TNEF support is buggy, otherwise why turn it off?

poc
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Evolution and winmail.dat tnef support

Ed Greshko
On 2019-12-13 07:14, Patrick O'Callaghan wrote:

> On Thu, 2019-12-12 at 14:53 -0800, Samuel Sieb wrote:
>> On 12/12/19 2:47 PM, Patrick O'Callaghan wrote:
>>> That's why I suggested posting on the Evo list. The principal devel
>>> hangs out there and is usually very responsive.
>>>
>>>> Dario, the best option would be to file a bug in bugzilla on evolution
>>>> requesting to enable it.
>>> Or upstream at https://gitlab.gnome.org/GNOME/evolution/issues/
>> I don't understand why either of those options is useful when it's a
>> specific flag set in the Fedora spec file.  It has nothing to do with
>> upstream.
> I was referring to the apparent lack of support for TNEF, which would
> count as a feature request. I presume the spec file flag is there for a
> reason, e.g. that TNEF support is buggy, otherwise why turn it off?

Well, that is what

https://bugzilla.redhat.com/show_bug.cgi?id=521662

Suggested. Elsewhere folks talked about cross-scripting vulnerabilities.
And further reading suggested that the fixes were not considered adequate by
some.  IMO, I think it will take a bit of convincing (with proven test cases) for those responsible
to accept the change considering the potential security implications.

--
The key to getting good answers is to ask good questions.
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Evolution and winmail.dat tnef support

Fedora List mailing list-2
In reply to this post by Dario Lesca
On Thu, 2019-12-12 at 18:30 +0100, Dario Lesca wrote:
> But if it is true that the bug or vulnerability has been solved, it's
> time to remove " -DENABLE_YTNEF=OFF" line from .spec file.

I can't imagine why you'd ever allow an email file attachment to
specify its own creation path.  It's just asking for trouble.  Never
mind trying to sanitise it, just don't let the file name itself, at
all.

--
 
uname -rsvp
Linux 3.10.0-1062.9.1.el7.x86_64 #1 SMP Fri Dec 6 15:49:49 UTC 2019 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Evolution and winmail.dat tnef support

Dario Lesca
In reply to this post by Dario Lesca
Il giorno gio, 12/12/2019 alle 19.47 +0100, Dario Lesca ha scritto:
Il giorno gio, 12/12/2019 alle 10.07 -0800, Samuel Sieb ha scritto:
Dario, the best option would be to file a bug in bugzilla on evolution 
requesting to enable it.

Thank Samuel, I have fill a bug.

Fedora 32 will have TNEF enable.

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |CLOSED
   Fixed In Version|                            |evolution-3.35.3-2.fc32
         Resolution|---                         |RAWHIDE
            Summary|Evolution have TNEF plugin  |Enable TNEF support for
                   |disable                     |Fedora

Thank to all

-- 
Dario Lesca
(inviato dal mio Linux Fedora 31 Workstation)

_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...