this post was submitted on 18 Nov 2023
32 points (97.1% liked)

Linux

48376 readers
1466 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I have an account on an SMTP server. The server has a storage quota. I'd like the delete stuff from the server but keep it locally in case I need it. Just in case.

I'd like to be able to access the mail somehow on other computers and hopefully mobile devices on my network so that it can be searched when needed. I'm not sure what the best interface for that would be. A webmail client?

One option would be to use Thunderbird or another client to download the mail once in a while but disable deleting local messages when they are removed from the server. Would Thunderbird store the messages in a format I can use readily with other applications? Or should I use something else to download the mail?

What about situations where messages are moved from one folder to another on the server? Would I get a duplicate locally of the message appearing in both locations? Not sure how the storage and metadata actually are.

Also, is it possible in such a situation to put a message back on the server if I realize it was deleted in error?

Any idea would be welcome. I am a bit stuck.

I can use the command line comfortably but ideally I'd have a solution that doesn't rely on the terminal to find find messages and such. I don't really like terminal mail clients.

you are viewing a single comment's thread
view the rest of the comments
[–] danielquinn@lemmy.ca 12 points 1 year ago (7 children)

I still have every email I've ever received, going back now more than 20 years. My solution isn't terribly fancy, but it gets the job done.

I have a Synology here at home running a mail server. You don't need a Synology specifically, just a simple mail server with access to a lot of disk space. The server isn't on the Open web or anything and doesn't support SMTP. It's just running IMAP to serve the local mail around the house.

I connect to it from Thunderbird on my various machines. I also use Thunderbird to connect to my actual mail servers to do my day-to-day mail stuff.

Every six months or so, I move old mail messages from my actual mail servers over to the archival one. Generally, I keep the mail on the archival server in folders; one per year, that keeps the loading time to a minimum. For example, come January 1st 2024, I'll be moving mail from January 2023 - June 2023 to the /2023 folder on the archive.

Searching is done via Thunderbird just like you search any mail account, and on my desktop machine, I let Thunderbird keep copies of the mail locally for quick searching. On my laptop though, I ask it to not keep copies to save disk space.

[–] chillytuna@universeodon.com 7 points 1 year ago* (last edited 1 year ago) (1 children)

@danielquinn @crank That's pretty cool. How much storage does 20 years of personal emails actually take up?

[–] danielquinn@lemmy.ca 9 points 1 year ago* (last edited 1 year ago) (2 children)

It's actually not as crazy as you might think:

$ du -sh .Maildir/
13G	.Maildir/

That's going back to ~~2000~~ 1995, both sent & received. The first email I have in there is from a friend of mine offering to send me an MP3 she downloaded.

[–] chillytuna@universeodon.com 2 points 1 year ago (1 children)

@danielquinn Is that just for text or also for images & attachments? Either way, yeah, 13G is a tiny amount of space when you consider how much info is in there! I wish I had done something similar.

[–] danielquinn@lemmy.ca 3 points 1 year ago

In most cases, it's everything. I've made mistakes over the years, screwing up a transfer or when migrating between servers, and I expect I probably lost some attachments here and there, but yeah, it's everything.

[–] maxprime@lemmy.ml 2 points 1 year ago (1 children)

You were downloading and sharing mp3s in 1995?? Didn’t the file extension only come out in 1995?

[–] danielquinn@lemmy.ca 5 points 1 year ago* (last edited 1 year ago) (1 children)

Wikipedia says it was 1991.

I think she would have gotten the file via hot... something, this little file sharing network that predates Napster.

Edit: It was probably Hotline, which was launched in '97, so there's probably some corruption to the received email date somewhere. I wasn't exactly tech savvy 25 years ago ;-)

[–] maxprime@lemmy.ml 3 points 1 year ago

I think the codec came out in 91 but the file extension was determined in 95, according to Wikipedia:

The filename extension .mp3 was chosen by the Fraunhofer team on 14 July 1995 (previously, the files had been named .bit).

I wasn’t intending to doubt you, I was just surprised. Either way that’s pretty cool! It’s fun looking back in the old days of the internet. All I was doing in 95 was playing CD-ROMs and occasionally browsing AOL, having no idea what it was or how it worked.

My favourite games at that time were Recess in Greece, The Incredible Machine, and some DK Educational games.

I also have a good memory of my dad pirating Windows 98 with his friend. I later challenged the morals of it and he ended up buying it a license. Little did I know that I would become quite the sailer of high seas myself in only a few years time. I think I downloaded my first mp3 in 2001, maybe 2002, and now have a library of almost 100,000 mp3s and flacs. Good times!

load more comments (5 replies)