1 |
On Thursday, 20 January 2022 14:22:02 CET Dale wrote: |
2 |
> What do others do with spam to minimize it? |
3 |
|
4 |
Hi Dale, |
5 |
|
6 |
I'm not sure if you're talking about self-hosted mail because you |
7 |
mention dovecot, if you do: |
8 |
|
9 |
I use postfix's smtp_recipient_restrictions to block mail coming from |
10 |
servers marked as spam by RBLs: |
11 |
|
12 |
smtpd_recipient_restrictions = |
13 |
reject_rbl_client zen.spamhaus.org, |
14 |
reject_rbl_client bl.spamcop.net |
15 |
|
16 |
I'm not sure if this is doable through Dovecot configuration, but |
17 |
without an MTA like Postfix you can't receive mail anyway. This alone |
18 |
seems to block most of the spam I get. And additionally I have rspamd |
19 |
and some filters set up because some stuff does get through. I think |
20 |
Postfix also lets you block IP ranges directly in case you get spammed |
21 |
by some network that isn't listed on spamhaus but I haven't needed that |
22 |
yet. |
23 |
|
24 |
> I'm considering setting |
25 |
> up another email address and switching then closing current account. |
26 |
> Yea, it's that annoying. Is there someone I can report them too? Is |
27 |
> there something I'm not recognizing in the message headers that I can |
28 |
> use to report them too? |
29 |
|
30 |
In case you're using some other email provider (is this about your Gmail |
31 |
address?), what you can do regardless is set up filters (ideally server- |
32 |
side if they provide the capability...) filtering mails by e.g. From |
33 |
header (I have a whole list of those), and if they have a well |
34 |
configured spam filter you should be able to move the spam mail into |
35 |
your spam folder and it should eventually start to classify similar mail |
36 |
as spam automatically. (but this is specific to the service so I can't |
37 |
tell you a way that works everywhere) |
38 |
|
39 |
> By the way, I have dovecote set up and the service seems to start. |
40 |
> What do I do after getting the service to start to set up where to |
41 |
> get email etc? |
42 |
|
43 |
If you aren't self-hosting your mail but want to (be warned, it's a fair |
44 |
bit of setup connecting it all together), you first need a domain, a |
45 |
server with a static IP address (don't use some box in your home) that |
46 |
has the correct rDNS record set in addition to DNS, so the hostname can |
47 |
be resolved from its public IP. To actually be able to receive mail, you |
48 |
also need an MTA. Dovecot is just a way to access a mailbox, it doesn't |
49 |
actually handle receiving mail from other servers or sending mail. |
50 |
Postfix is what I use for that, they work well together. I followed |
51 |
these wiki articles among some others I can't find right now to set it |
52 |
up initially: |
53 |
https://wiki.archlinux.org/title/Mail_server |
54 |
https://wiki.archlinux.org/title/Postfix |
55 |
https://wiki.archlinux.org/title/Dovecot |
56 |
|
57 |
I hope this helps! |
58 |
|
59 |
-Marco |