Gentoo Archives: gentoo-user

From: Wols Lists <antlists@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Handling a sizable amount of spam and Dovecote question
Date: Sun, 23 Jan 2022 13:42:20
Message-Id: b8379d84-6b1e-0623-ea0f-3c3aa3507079@youngman.org.uk
In Reply to: Re: [gentoo-user] Handling a sizable amount of spam and Dovecote question by Dale
1 >
2 > I already divide my emails into folders.  Example, any email that
3 > contains [gentoo-user] goes to the gentoo-user folder.  Similar for -dev
4 > etc.  I also have folders for things like banking, friends, family,
5 > shopping websites etc etc.  Well over 95% of my emails goes to a folder
6 > other than the general purpose inbox.  Any email that will be a regular
7 > thing gets filtered to something.  Most of what is in the inbox is
8 > either a one time thing or spam.  Right now, I just have it set to emtpy
9 > the trash, a LOT.  Clicking the unsub link is doing no good at all.
10 > What stupid politician came up with that idea anyway.
11 >
12 > My plan is to have it so I'm not so dependent on Seamonkey.  I want
13 > something, Dovecote for example, that will fetch new emails from gmail,
14 > or any other service if I move, and also allow me to send emails as
15 > well.  The actual emails tho would be here on my puter, as they are now
16 > but at the moment depends on Seamonkey.
17
18 Okay, a little reading will tell you that Dovecot's mail store is
19 chooseable between Maildir and mbox format. So your mail is physically
20 stored on your hard drive in a totally standard format that most mail
21 agents can read. I'll leave you to find WHERE Dovecot puts it, it's not
22 hard :-)
23 >
24 > Seamonkey seems to be on its last legs.  It's bad enough that it isn't
25 > maintained much in the tree but I don't think upstream is keeping things
26 > working either.  It needs a rewrite sort of like Firefox did.  Finding
27 > or updating add-ons for Seamonkey is almost non-existant.  Some add-ons
28 > haven't been updated in ages or are not even available at all.  As a
29 > example, I switched from Lastpass to Bitwarden almost a year ago.  I
30 > can't find a Bitwarden add-on for Seamonkey at all.  I'm stuck using
31 > Lastpass which is at a version a few years old.  There's no telling what
32 > security holes it may have.  Even the very common and popular adblock
33 > hasn't been updated in ages.  My concern, losing Seamonkey completely
34 > and losing all my emails with it.  I'd like to have a better way but I'm
35 > not sure I can do that.  This appears to be complicated.
36
37 Find out what Seamonkey (like Dovecot) does with its mails. If your
38 Dovecot service is working, you should be able to just create an account
39 in Seamonkey, tell it your computer provides an IMAP service, connect,
40 and copy your emails into this account. Dovecot will then stash them in
41 its cache, where you can get at them with a text editor or better.
42 >
43 > I may search for a video on this.  Maybe watching someone else do this
44 > will helps.  I dunno.  I got the service to start but after that, I'm
45 > clueless.
46 >
47 Learn a bit more about mail transport, and which tools do which job.
48 Then make sure you're not using the wrong tool - like asking Postie to
49 drive a delivery truck ...
50
51 Okay lets start at the beginning:
52
53 An MTA (Postfix, qmail, sendmail) transfers bulk mail between Post
54 Offices like gmail.com, yahoo.de, youngman.org.uk. That's over port 25.
55 They then dump it into a PO Box.
56
57 You now have two choices. You need a mail client (mutt, thunderbird,
58 seamonkey, Eudora, etc) or a web client. And you can read your email
59 over one of three different protocols.
60
61 A mail client using POP is like you going to the Post Office (or postie
62 coming to you) and transferring all your mail from the post office to
63 your front door.
64
65 A mail client using IMAP is like you going to your PO Box at the post
66 office, and treating it like a reading room, reading your mail and
67 leaving it behind it the box when you go.
68
69 A web browser using http is pretty much the same as a mail client with IMAP.
70
71 Now the big question is, is your mail client running on the same server
72 as the post office? If it is, and you are storing mail locally in your
73 account, a Mail Forwarding Agent typically collects it on your behalf
74 (like postie) from the PO Box and dumps it in your account for your mail
75 client to find. Otherwise, your mail client has to reach out and fetch
76 it with POP.
77
78 If your mail client is using IMAP, it will often cache your email much
79 like if you were using POP, but it leaves the master copy in the Post
80 Office. Think of IMAP as the counter clerk looking after your mail / PO
81 Box for you.
82
83 If you want to have a local post office, and read your mail with a web
84 client, you will need a mail web server - I believe squirrelmail is one
85 such.
86
87 So if you're worried about the integrity of your mail, you need to worry
88 about where and how it is stored. And if you are using SeaMonkey as an
89 IMAP client, it does NOT have the master copy. If you lost SeaMonkey,
90 you just need a different client and the data will still be there.
91
92 That's why I use thunderbird as my IMAP client, and move my email from
93 my cloud "youngman.org.uk" server to my local dovecot IMAP server
94 "youngman.org.uk". So now my email is cached in thunderbird, and stored
95 in dovecot. And because I know dovecot uses industry-standard mail
96 storage, should anything happen to that I can just import it into any
97 other tool that understands it.
98
99 You need to know which tool does what, and which tool you're looking for.
100
101 Cheers,
102 Wol