Public bug reported:

After a while, evolution stops using spamassassin for junk mail
detection.

Here is what happens:

1- Evolution creates spamd socket and pid file in ~/.cache/evolution/tmp with 
2- When creating a new temporary directory to open an email attachment, 
evolution notices that the socket and pid file are more than 2 hours old, and 
deletes them, breaking spamassassin integration

See TEMP_EXPIRE in e-util/e-mktemp.c.

The problem is that it's using st.st_atime, but that's no longer getting
updated on Ubuntu and/or with ext4.

This is my directory before opening an attachment:
mdeslaur@mdlinux:~/.cache/evolution/tmp$ ls -al
total 24
drwxr-xr-x 5 mdeslaur mdeslaur 4096 Jun 18 12:49 .
drwx------ 6 mdeslaur mdeslaur 4096 Apr 10  2011 ..
drwx------ 2 mdeslaur mdeslaur 4096 Jun 18 12:49 evolution-mdeslaur-PlMVtk
drwx------ 2 mdeslaur mdeslaur 4096 Jun 18 10:40 evolution-mdeslaur-VMPrqC
drwx------ 2 mdeslaur mdeslaur 4096 Jun 18 11:14 evolution-mdeslaur-wrcl0C
-rw-rw-r-- 1 mdeslaur mdeslaur    5 Jun 18 11:13 spamd-pid-file-Y2CYFW
srw-rw-rw- 1 mdeslaur mdeslaur    0 Jun 18 11:13 spamd-socket-path-UZCYFW

This is after opening an attachment at 13:43:
mdeslaur@mdlinux:~/.cache/evolution/tmp$ ls -al
total 16
drwxr-xr-x 4 mdeslaur mdeslaur 4096 Jun 18 13:43 .
drwx------ 6 mdeslaur mdeslaur 4096 Apr 10  2011 ..
drwx------ 2 mdeslaur mdeslaur 4096 Jun 18 12:49 evolution-mdeslaur-PlMVtk
drwx------ 2 mdeslaur mdeslaur 4096 Jun 18 13:43 evolution-mdeslaur-ws2Jh2

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: evolution 3.2.3-0ubuntu6
ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
Uname: Linux 3.2.0-26-generic x86_64
ApportVersion: 2.0.1-0ubuntu9
Architecture: amd64
Date: Mon Jun 18 13:44:41 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110302)
SourcePackage: evolution
UpgradeStatus: Upgraded to precise on 2012-01-03 (166 days ago)

** Affects: evolution
     Importance: Unknown
         Status: Unknown

** Affects: evolution (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evolution in Ubuntu.
https://bugs.launchpad.net/bugs/1014763

Title:
  evolution deletes spamd socket file when creating new temp files

To manage notifications about this bug go to:
https://bugs.launchpad.net/evolution/+bug/1014763/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to