Thunderbird starts virusscan instead of the right application when opening attachments

Bug #487057 reported by markusd112
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
clamtk (Ubuntu)
Fix Released
Undecided
Unassigned
thunderbird (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: thunderbird

Since upgrade from ubuntu 9.04 to 9.10 thunderbird doesn't start the appropriate application when opening an attachment. Thunderbird always asks me to open it with virusscan. So I have always to save the attachment to the disk and open it via nautilus.
This happens not with all attachements, some are recognized well, so acroread or openoffice is proposed for opening it.

ProblemType: Bug
Architecture: i386
Date: Mon Nov 23 12:05:20 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: mozilla-thunderbird (not installed)
ProcEnviron:
 LANGUAGE=de_DE.UTF-8
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-386
SourcePackage: thunderbird
Uname: Linux 2.6.31-14-386 i686

Revision history for this message
markusd112 (markusd112) wrote :
Changed in thunderbird (Ubuntu):
status: New → Confirmed
Revision history for this message
markusd112 (markusd112) wrote :

I have now deinstalled clamav and after that the problem doesn't occur any longer. Reinstalling clamav brings back the problem.

Is it a bug or a feature? I think it's a good idea to start a virusscan first and after that to appropriate application. But in the moment you don't have a chance to open the application. Clamavtk starts, the virus scan is done and that's all. Then you can save the file to disk, start nautilus and open it. That's very circuitous...

There could be two solutions: when opening an attachment from thunderbird the virusscan should be done in the background and then opening the appropriate application (that's would be my preference).
Or: in Clamavtk there should be a button "Open file", which starts the appropriate application and opens the scanned file.

Revision history for this message
John Vivirito (gnomefreak) wrote :

Jakob we need more info from you. Please run the following command:
apport-collect 487057

Revision history for this message
Scott Kitterman (kitterman) wrote :

I think you want clamtk. Clamav doesn't have any GUI compoments.

affects: clamav (Ubuntu) → clamtk (Ubuntu)
Revision history for this message
Dave M (dave-nerd) wrote :

Here's the thing with the filetype associations - if I change ClamTk to be associated with ALL filetypes, it will - and I get nasty emails over it. Not to mention, the Debian maintainer will add a patch to remove all associations except for MS filetypes, so it probably won't reach most Ubuntu users anyway. If I keep ClamTk as it has been since 4.16 - associated with only MS filetypes - there are bug reports on it for not being associated with all filetypes. :)

What we need is a way to set user-controlled filetype associations and store them in user's home directories (under ~/.local or something).

Revision history for this message
Martin Wildam (mwildam) wrote :

In the meantime there is also nautilus-clamscan in the repository for doing virus scan on demand. I simply uninstalled clamtk.

Revision history for this message
Dave M (dave-nerd) wrote :

All mime-type associations have been removed as of 4.29, so the problem should no longer occur.

Revision history for this message
Martin Wildam (mwildam) wrote :

No, problem still occurs. - and although I uninstalled Clamtk I now notice, that it always wants to download the pdf.

Revision history for this message
Dave M (dave-nerd) wrote :

Are you saying you uninstalled clamtk and there's still a right-click action trying to send the pdf to clamtk?

Can you run "sudo update-desktop-database" from a terminal window, or at least log out and log back in and see if the problem still persists? It's possible that the uninstall process isn't updating the mimetype associations.

Revision history for this message
Martin Wildam (mwildam) wrote :

No, virus scanning entry gone, but "open" option not returned - can only save locally and then open via double-click from within Nautilus.

Revision history for this message
Martin Wildam (mwildam) wrote :

Oh BTW: sudo update-desktop-database and relogin did not help - will try reboot and let you know.

Revision history for this message
Martin Wildam (mwildam) wrote :

Even reboot did not help, but I made further tests and found out something:

It depends on the PDF. PDFs created with Open Office are recognized perfectly, but PDFs created on Windows with different PDF creation tool might not work (need to find out, if general issue with Windows PDFs or not). I examined mime type and both seem to be application/pdf (at least that is what Nautilus says). - It also could be, that it is not the PDF file itself, but how it is packed to the email. All emails with such PDFs were sent by Outlook (which is a very good sample of crap gotten widely adopted).

Revision history for this message
Martin Wildam (mwildam) wrote :

For my last comments I appologize - as this in reality turned out to be a different bug: https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/593459

Revision history for this message
Scott Kitterman (kitterman) wrote :

The clamtk part of this is fixed.

Changed in clamtk (Ubuntu):
status: New → Fix Released
Revision history for this message
Paul White (paulw2u) wrote :

We are sorry that we do not always have the capacity to review all reported bugs in a timely manner. You reported this bug some time ago and there have been many changes in Ubuntu and Thunderbird since that time.

Do you still see a problem related to the one that was reported using currently supported versions of Thunderbird and Ubuntu?

Thank you for helping make Ubuntu better.

Paul White
[Ubuntu Bug Squad]

Changed in thunderbird (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Paul White (paulw2u) wrote :

Thunderbird task did not expire due bug watch
No reply to comment #15 or other comments from those affected since 2010
So closing as fixed

Changed in thunderbird (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
Martin Wildam (mwildam) wrote :

Yes, looks indeed fixed in the meantime.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.