SIGforum
Is it possible to send emails automatically to junk mail based on words in the subject line??

This topic can be found at:
https://sigforum.com/eve/forums/a/tpc/f/320601935/m/5260034415

March 28, 2025, 02:35 PM
Black92LX
Is it possible to send emails automatically to junk mail based on words in the subject line??
Used to not get much past the SPAM filter but no so much anymore.
I am very picky about who gets my email. I use yahoo in the Apple mail app.

I would love for any email containing certain words to go straight to junk or even the trash.
The following words would be included:
Breaking
Trump
MAGA
Elon
Tesla
DOGE
Cybertruck
Crypto
Stimulus
Shocking
Musk
Social Security
Ozempic

The list goes on!


————————————————
The world's not perfect, but it's not that bad.
If we got each other, and that's all we have.
I will be your brother, and I'll hold your hand.
You should know I'll be there for you!
March 28, 2025, 02:38 PM
PHPaul
Probably. It may depend on what mail program you're using.

I can do that in Thunderbird both by keywords and by sender's address. I call it my "bozo list".




Be careful when following the masses. Sometimes the M is silent.
March 28, 2025, 02:42 PM
Sig2340
Outlook lets you make "rules" based on specifics in the sender's address or key words, and then automatically moves the spam to the "delete" folder.

Last time I checked, I have about 350 such rules on my personal and business accounts, and it makes culling spam easier, until a new source comes along, then you need to write a new rule.





Nice is overrated

"It's every freedom-loving individual's duty to lie to the government."
Airsoftguy, June 29, 2018
March 28, 2025, 02:44 PM
joel9507
^^ I also use Outlook for my email, and manage spam etc. via rules. It's not too tricky and is fairly flexible - criteria can include words in header, sender info, etc.

In case you're using Outlook here's an overview of how Outlook rules work.
March 28, 2025, 03:28 PM
FenderBender
quote:
Apple mail

https://support.apple.com/guid...es-mm6b1a3f8a/icloud


___________________________
The point is, who will stop me?
March 28, 2025, 06:21 PM
architect
The answer to the originally-posed question is, "Of course." The details depend on how you do e-mail.

There are, basically, two approaches that are generally used:

  1. server/proxy-based
  2. mailer-based


In (1), the messages are scanned by software that runs as a store-and-forward SMTP (Simple Mail Transport Protocol) server+client while in transit to a destination inbox. In (2), the message is processed by the user's mailer after it is received at the destination, but before it is read. It is, of course, possible to do both. Many anti-spam filters will simply mark messages that they detect to be spam for easier processing and more granular user control at the receiving end.

There is a long history of back-and-forth mailer wars where two mail servers that do automatic responses trigger each other resulting in a storm of thousands or even millions of messages clogging queues and communications channels befoer someone notices. This argues against purely-server-side implementations. However, there is an excellent FOSS (Free Open Source Software) proxy called ASSP (Anti-Spam SMTP Proxy) that is the best solution I have found for organizational filtering of unwanted e-mail messages. However, setting this up and maintaining it is probably more than most non-IT folks might want to attempt.

So that leaves us with in-mailer filtering capabilities. Pretty much every mainstream mailer these days has this capability, as do many web-based e-mail clients. But the details for configuring it will differ for each. A support forum/wiki for the specific mailer you want to use is probably the best place to go for more information.
March 28, 2025, 06:40 PM
xantom
What email service are you using, are you using an email front end like outlook?

It's called filtering for Gmail:
https://support.google.com/mail/answer/6579?hl=en




"We've done four already, but now we're steady..."
March 28, 2025, 07:54 PM
Black92LX
Thanks.
I use yahoo so I googled yahoo mail rules/filters.

I added a few so we shall see


————————————————
The world's not perfect, but it's not that bad.
If we got each other, and that's all we have.
I will be your brother, and I'll hold your hand.
You should know I'll be there for you!
March 29, 2025, 06:53 AM
benny6
From Apple mail:
>Settings
>Junk Mail
Click Junk Mail Behaviors header tab
Check Enable junk mail filtering
When Junk Mail Arrives:
Check Perform Custom Actions (Click advanced settings to configure)

Click Advanced button on bottom of behaviors window
Select All or Any conditions met
Click dropdown arrow and select the condition SUBJECT (another dropdown tab will appear once you select that) Select CONTAINS and fill out the trigger word.

Add more custom filters as needed.

Tony.


Owner, TonyBen, LLC, Type-07 FFL
www.tonybenm14.com (Site under construction).
e-mail: tonyben@tonybenm14.com
March 29, 2025, 07:48 AM
TomV
Thunderbird lets you create message filters with either accepted or blocked words.
March 29, 2025, 08:40 AM
Keystoner
Absolutely.

I love creating rules to have certain emails go straight to the trash folder. My company sends some employee Peakon or something yearly survey. I made the Outlook rule--I never see them. They're "voluntary." But then I get the endless reminders from the higher-ups to complete the survey (that's how I find out there even was a survey) and try to get our region to the highest completion rate. I just take something from the subject line of their emails, create another rule, then I never see those.



Year V
March 29, 2025, 10:34 AM
rduckwor
Outlook (at least my version - older than hell) will allow you to block based upon top level domain (EX: .de or .com) as well as special encoding (other languages primarily).

Useful!

RMD




TL Davis: “The Second Amendment is special, not because it protects guns, but because its violation signals a government with the intention to oppress its people…”
Remember: After the first one, the rest are free.