Bug 275409

Summary: Spam is pouring in from the FreeBSD's mail server
Product: Services Reporter: Yuri Victorovich <yuri>
Component: Core InfrastructureAssignee: postmaster
Status: Closed Works As Intended    
Severity: Affects Only Me CC: lwhsu, philip, pi
Priority: ---    
Version: unspecified   
Hardware: Any   
OS: Any   

Description Yuri Victorovich freebsd_committer freebsd_triage 2023-11-28 17:46:12 UTC
Beginning at ~2:20 AM PST today, November 28th, I am getting a ton of spam that is sent to yuri@FreeBSD.org.

Did anything change in the mail configuration of the FreeBSD mail relay?

If yes, could you please back this change out ASAP?


Thanks,
Yuri
Comment 1 Kurt Jaeger freebsd_committer freebsd_triage 2023-11-28 18:01:33 UTC
(In reply to Yuri Victorovich from comment #0)
No changes as far as I know. Can you provide 1-2 samples somewhere for postmaster@ to have a look at ?
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2023-11-28 18:16:04 UTC
(In reply to Kurt Jaeger from comment #1)

Here is the sample of 53 messages:
https://people.freebsd.org/~yuri/freebsd-mail-spam-sample
Comment 3 Kurt Jaeger freebsd_committer freebsd_triage 2023-11-28 18:21:12 UTC
(In reply to Yuri Victorovich from comment #2)
On first look this might be backscatter: Someone uses your email from other mailservers to spam folks, they reject and you receive the backscatter. Postmaster needs to look into more detail.
Comment 4 Philip Paeps freebsd_committer freebsd_triage 2023-11-28 19:55:40 UTC
Nothing has changed in our configuration.

This time of year is always busy for spam.  North America celebrates a "shopping holiday".  You're seeing more spam because it's addressed to your alias.  On average, most spam is addressed to the mailing lists, where the subscription filter is a second line of defence if the message isn't spammy enough to be dropped by rspamd.

I'll have a look if there's anything I can tune, but I suspect it's (a) not worth it and (b) too late.
Comment 5 Yuri Victorovich freebsd_committer freebsd_triage 2023-11-28 23:44:18 UTC
Now my e-mails from yuri@FreeBSD.org don't go through.
Mail servers reject them say that the sender is blacklisted.
The whole FreeBSD.org domain might be blacklisted, and all senders might be affected.

There is spam threat evaluation service called "SpamHaus" that also causes their rejection.
Comment 6 Philip Paeps freebsd_committer freebsd_triage 2023-11-29 00:28:46 UTC
FreeBSD.org is not listed on any of the lists monitored by MultiRBL:

https://multirbl.valli.org/lookup/freebsd.org.html

Are you sending through smtp.FreeBSD.org?
Comment 7 Yuri Victorovich freebsd_committer freebsd_triage 2023-11-29 00:41:57 UTC
(In reply to Philip Paeps from comment #6)

No, I use the SMTP server of my own provider.
My e-mails are rejected by gmail.com, yandex.com and yahoo.com
Comment 9 Yuri Victorovich freebsd_committer freebsd_triage 2023-12-03 17:36:11 UTC
Does FreeBSD run any spam filters on the incoming mail?
Comment 10 Kurt Jaeger freebsd_committer freebsd_triage 2023-12-03 17:58:40 UTC
Yes, rspamd and postscreen
Comment 11 Yuri Victorovich freebsd_committer freebsd_triage 2023-12-03 18:55:25 UTC
(In reply to Kurt Jaeger from comment #10)

I an sure that my regular e-mail address is also used in spamming but my regular e-mail provider filters backscatter out very effectively. The backscatter from the FreeBSD-based e-mail doesn't get filtered though. I am wondering what is the difference.
Comment 12 Kurt Jaeger freebsd_committer freebsd_triage 2023-12-03 19:23:42 UTC
(In reply to Yuri Victorovich from comment #11)
Who is your regular mail provider ? rawbw ?
Comment 13 Yuri Victorovich freebsd_committer freebsd_triage 2023-12-03 20:38:37 UTC
(In reply to Kurt Jaeger from comment #12)

Yes, RawBW.
Comment 14 Philip Paeps freebsd_committer freebsd_triage 2023-12-03 23:10:15 UTC
Is there anything actionable in this ticket?  If not, I would like to mark it as "works as intended".  Nothing has changed in our configuration and mail seems to be working well for everyone else.

We can try to help Yuri debug his configuration offline, but I don't think we need to archive that discussion in Bugzilla.
Comment 15 Yuri Victorovich freebsd_committer freebsd_triage 2023-12-03 23:13:33 UTC
(In reply to Philip Paeps from comment #14)

But I don't have any configuration, it's just spam that is coming into my mailbox.

The SMTP change that you've suggested isn't relevant for this matter because SMTP isn't involved on my side. The mail gets dropped into my mailbox from FreeBSD through SMTP, and I retrieve it using IMAP.
Comment 16 Kurt Jaeger freebsd_committer freebsd_triage 2023-12-04 08:42:27 UTC
If rawbw is really handling backscatter, and we don't, then it might be
interesting to learn from them.

Backscatter could be detected by matching incoming backscatter message
ids to the message-ids that were sent via fbsd mail infra before.

If the message-id is unknown, it's backscatter.

This sounds like a difficult change to implement, so I agree, we should close
this report for now.