Discussion:
kmail issue/feature request
Charlie
2018-09-06 21:48:02 UTC
Permalink
can there be a feature added to kmail/kontact to automatically delete emails from your computer after they're downloaded from an email server? thunderbird does this flawlessly. shouldn't kmail be just as good as that?

Charlie Luna

-------------------------------------
Ubuntu California Loco Team member
IRC username: hangar18
IRC server: chat.freenode.net
ubuntu-california.org
Dave Stevens
2018-09-06 22:51:54 UTC
Permalink
On Thu, 6 Sep 2018 14:48:02 -0700
Post by Charlie
automatically delete emails from your computer
isn't that from the server?

d
--
In modern fantasy (literary or governmental), killing people is the
usual solution to the so-called war between good and evil. My books are
not conceived in terms of such a war, and offer no simple answers to
simplistic questions.

----- Ursula Le Guin
Anders Lund
2018-09-07 08:23:59 UTC
Permalink
Hi,

AFAIK, if you have an IMAP account, akonadi will not keep your mails on your
local system, only header information for use in the mail list in the client,
unless you check "download all messages for offline use" in the settings.

Kindly,
Anders
Post by Charlie
can there be a feature added to kmail/kontact to automatically delete emails
from your computer after they're downloaded from an email server?
thunderbird does this flawlessly. shouldn't kmail be just as good as that?
Charlie Luna
-------------------------------------
Ubuntu California Loco Team member
IRC username: hangar18
IRC server: chat.freenode.net
ubuntu-california.org
René J.V. Bertin
2018-09-07 09:07:39 UTC
Permalink
Post by Anders Lund
AFAIK, if you have an IMAP account, akonadi will not keep your mails on your
local system, only header information for use in the mail list in the client,
unless you check "download all messages for offline use" in the settings.
True but I don't know if the default isn't to download the entire message.

There's also an option to control how long content is preserved (cached).

However, these are per-folder properties and it's not always clear how to apply them to an entire account.

(as usual this is about the 4.1x versions so things may have changed subtly in the current version.)
Peter Humphrey
2018-09-07 09:23:12 UTC
Permalink
Post by René J.V. Bertin
Post by Anders Lund
AFAIK, if you have an IMAP account, akonadi will not keep your mails on
your local system, only header information for use in the mail list in
the client, unless you check "download all messages for offline use" in
the settings.
True but I don't know if the default isn't to download the entire message.
There's also an option to control how long content is preserved (cached).
However, these are per-folder properties and it's not always clear how to
apply them to an entire account.
(as usual this is about the 4.1x versions so things may have changed
subtly in the current version.)
I have a GMail account as well as my locally served, general IMAP one. I
have 30 or so filters, the last of which is a catch-all to move (not copy)
everything from the server to my desktop machine.

That filter does indeed move everything from the locally served account,
which is served by Dovecot, but it only copies everything from the GMail
account, so I then have to log on to GMail and delete everything there by
hand.

Perhaps I've missed something in the GMail setup.
--
Regards,
Peter.
René J.V. Bertin
2018-09-07 11:23:44 UTC
Permalink
Post by Peter Humphrey
account, so I then have to log on to GMail and delete everything there by
hand.
Perhaps I've missed something in the GMail setup.
Yes, GMail can be tricky like that. You may try setting "Automatically compact folders (expunges deleted messages)" in the advanced account preferences. That solved a few other things for me too. But I don't think it was required for the expiry feature which (I think) just moves messages to GMail's trash bin. Which is exactly as I want it.

Funny, I also have a local IMAP account on one of my machines, but that one is for archiving stuff I really want to keep (locally), so I move things there by hand.

R.
Peter Humphrey
2018-09-07 14:34:56 UTC
Permalink
Post by René J.V. Bertin
Post by Peter Humphrey
account, so I then have to log on to GMail and delete everything there by
hand.
Perhaps I've missed something in the GMail setup.
Yes, GMail can be tricky like that. You may try setting "Automatically
compact folders (expunges deleted messages)" in the advanced account
preferences. That solved a few other things for me too. But I don't think
it was required for the expiry feature which (I think) just moves
messages to GMail's trash bin. Which is exactly as I want it.
That's already set, and I've set the wastebin target as my local one, so
there should be nothing left upstream.
Post by René J.V. Bertin
Funny, I also have a local IMAP account on one of my machines, but that
one is for archiving stuff I really want to keep (locally), so I move
things there by hand.
I had to set up a server to fetch my ISP's POP3 messages and serve them to
me via IMAP, because KMail used to get its POP3 knickers in the most awful
twists I'd ever seen.
--
Regards,
Peter.
Ingo Klöcker
2018-09-08 18:50:45 UTC
Permalink
Post by Peter Humphrey
Post by René J.V. Bertin
Post by Peter Humphrey
account, so I then have to log on to GMail and delete everything there by
hand.
Perhaps I've missed something in the GMail setup.
Yes, GMail can be tricky like that. You may try setting "Automatically
compact folders (expunges deleted messages)" in the advanced account
preferences. That solved a few other things for me too. But I don't think
it was required for the expiry feature which (I think) just moves
messages to GMail's trash bin. Which is exactly as I want it.
That's already set, and I've set the wastebin target as my local one, so
there should be nothing left upstream.
That might (or might not) be the problem. GMail seems to be very insistent not
to delete any mail. After all, GMail gives you unlimited (?) mail storage, so
why would anybody want to delete anything from their GMail account (and thus
deprive Google from repeatedly scanning your mail in order to improve your
GMail experience). :/


Regards,
Ingo
Peter Humphrey
2018-09-09 08:10:26 UTC
Permalink
... GMail seems to be very insistent not to delete any mail. After all,
GMail gives you unlimited (?) mail storage, so why would anybody want to
delete anything from their GMail account (and thus deprive Google from
repeatedly scanning your mail in order to improve your GMail experience).
:/

Ooh! A cynic! ;-)
--
Gentoo stable
sys-kernel/gentoo-sources 4.14.65
QT 5.9.6, KDE frameworks 5.46.0, KDE plasma 5.12.5
KMail 18.04.3, akonadi 18.04.3
x11-drivers/xf86-video-amdgpu 18.0.1, dev-libs/amdgpu-pro-opencl
18.20.606296
René J.V. Bertin
2018-09-07 08:26:20 UTC
Permalink
Post by Charlie
to automatically delete emails from your computer after they're downloaded from
an email server?
I'd presume KMail still has the expiry function that existed in v4.1x?

I use that to do house-keeping in (remote IMAP; GMail) folders for mailing lists: everything I haven't read for a certain number of days will be expired (deleted) automatically. This works just fine and AFAIK it doesn't matter whether those folders are filled by KMail rules or by the remote email server itself.

R.
Loading...