Topic: mailto in firefox opening claws-mail, unexpected socket dir location

Hello Remi!


I'm talking here in the name of the Claws Mail developers team,
and as a happy user of the firefox packages you're making for
fedora/centos for a long time!

Some Claws Mail users are reporting that clicking a mailto: link within
firefox (18 at least) on Fedora 17/18 and CentOS6 will open a *second*
instance of Claws Mail, whereas it's capable of keeping a single
instance only.

Of course, in order to reproduce this (I do), you need to have Claws
Mail installed, either from yum or from the sources. And Claws Mail set
as default program in mailto settings in firefox, or in GNOME preferred
applications prefs (didn't try in KDE/etc.).

The issue is that Claws Mail by default creates its communication
socket in /tmp (/tmp/claws-mail-$UID). Any instance of Claws Mail
started by firefox will create its communication socket dir
in /var/tmp/claws-mail-$UID. In such situation, both instances won't
find each other and the single instance checking function will fail,
Claws Mail will open a second time.

Is there a good reason why /var/tmp is used when Claws Mail opens from
firefox? Is there a bad practice to default to /tmp? Any idea how or
where this could be fixed? This behaviour seemed to happen since
recently at least it's been a time it was not there.

Re: mailto in firefox opening claws-mail, unexpected socket dir location

Hi,

Firefox now use /var/tmp, as explain in the launcher

##
## Use $MOZ_TMPDIR if set. Otherwise use /var/tmp instead of /tmp
## because of 1GB /tmp limit in Fedora 18 and later.
## See: https://bugzilla.redhat.com/show_bug.cgi?id=867073
##
TMPDIR="${MOZ_TMPDIR:-/var/tmp}"
export TMPDIR

As my repo only provides "backports" of fedora package, I think this issue should be reported in fedora bug tracker (probably against claws-mail, as firefox will probably won't change this)

This could be (temporarily) workaround using

MOZ_TMPDIR=/tmp firefox
Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: mailto in firefox opening claws-mail, unexpected socket dir location

Thanks, Remi, at least now we know we have to do something. Not yet what, but that's a good start ;-).

Re: mailto in firefox opening claws-mail, unexpected socket dir location

As mentioned, one of the oldest uses of incense was as a cover-up for other smells. In churches and gathering places where pilgrims and travelers came together after long periods of no access to basic hygiene, it wasbuy glass pipes onlinea useful thing to be able to light up a brazier of odoriferous resins and drive away the odors. Other uses of incense were symbolic - the smoke rising to the heavens reminded believers of the soul's eventual ascent to its maker at death - and psychological and medicinal. Fragrances had long been noticed to have an effect on the human psyche, and this effect was heightened in the 60s by the use of certain psychotropic substances. All of these uses for incense were intensified and raised to a new level during the early years of its resurgence and use in the 60s.