# Junk Email

**URL:** <https://talk.tidbits.com/t/junk-email/24144>\
**Category:** TidBITS Talk\
**Created:** [September 4, 2023, 4:57pm UTC](https://talk.tidbits.com/t/junk-email/24144 "2023-09-04T16:57:14Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![sf.ross](https://talk.tidbits.com/letter_avatar_proxy/v4/letter/s/8edcca/32.png) [@sf.ross](https://talk.tidbits.com/u/sf.ross)\
**Post date:** [September 4, 2023, 4:57pm UTC](https://talk.tidbits.com/t/junk-email/24144/1 "2023-09-04T16:57:14Z")

</div>

Don’t know if this is an appropriate forum to ask this but I’ve run out of other resources so giving it a shot here. I’m probably not as techy as most TidBits users so could use some insight.  
I use Apple mail & have an iCloud email account; have done that for at least the last 10 - 15 yrs. Amount of spam has increased to a ridiculous level, have already gone thru & read TidBits postings from earlier this year & didn’t see this addressed.  
I cleaned out my email late last night & by early this morning had more than 150 new junk emails; most are correctly routed to the Junk folder but then I need to delete them. I keep setting up new Rules in Mail, mostly based on the Sender so that once I highlight the messages & choose Apply Rules, they’re all deleted w/o going to Trash.  
What I don’t understand is how messages that aren’t addressed to my email address still come thru to me at all. Some are addressed to gibberish email addresses, some are addressed to my regular email address but instead of being @icloud.com, have the 1st part of my email address but then are @yahoo.com or @gmail.com or @ [aol.com](http://aol.com). So instead of, for example, [myname@icloud.com](mailto:myname@icloud.com), the emails are addressed to [myname@yahoo.com](mailto:myname@yahoo.com).  
How is that possible? How are emails that aren’t addressed to my email address coming thru? I’ve already asked Apple about it & haven’t received any useful response. I doubt there is a fix for this but would at least like to understand how/why this happens.  
I’m very careful about where I go on the web, don’t click on unknown links, don’t log in to sites unless I need to, never log into any Google sites, etc. so I don’t think any of this is due to anything I’ve done.  
Thanks for any insights.

---

<div class="post-metadata">

**Author:** ![mHm](https://talk.tidbits.com/user_avatar/talk.tidbits.com/mhm/32/15368_2.png) [@mHm](https://talk.tidbits.com/u/mHm)\
**Post date:** [September 4, 2023, 5:13pm UTC](https://talk.tidbits.com/t/junk-email/24144/2 "2023-09-04T17:13:29Z")

</div>

> [@sf.ross](#):
>
> emails are addressed to [myname@yahoo.com](mailto:myname@yahoo.com)

Just to answer this point:  
This is a common trick by spammers to make it LOOK authentic. If you were to look at the email header (don’t publish yours here in this open forum) you’d see that your [myname@icloud.com](mailto:myname@icloud.com) was used to send the spam to your account.

How do they know your address?  
Look here: [https://haveibeenpwned.com](https://haveibeenpwned.com)

I’m sure others will add further aspects…

---

<div class="post-metadata">

**Author:** ![ddmiller](https://talk.tidbits.com/letter_avatar_proxy/v4/letter/d/59ef9b/32.png) [@ddmiller](https://talk.tidbits.com/u/ddmiller)\
**Post date:** [September 4, 2023, 5:48pm UTC](https://talk.tidbits.com/t/junk-email/24144/3 "2023-09-04T17:48:22Z")

</div>

> [@sf.ross](#):
>
> I cleaned out my email late last night & by early this morning had more than 150 new junk emails; most are correctly routed to the Junk folder but then I need to delete them.

Just out of curiosity: why do you need to delete them?

I believe iCloud defaults to removing messages from the junk folder after 30 days, or if you have a Mac and use mail, you can set it to a shorter duration as well.

I leave spam/junk in their folders and let the mail servers remove them over time.

---

<div class="post-metadata">

**Author:** ![fischej](https://talk.tidbits.com/user_avatar/talk.tidbits.com/fischej/32/15422_2.png) [@fischej](https://talk.tidbits.com/u/fischej)\
**Post date:** [September 4, 2023, 5:48pm UTC](https://talk.tidbits.com/t/junk-email/24144/4 "2023-09-04T17:48:27Z")

</div>

> [@sf.ross](#):
>
> I cleaned out my email late last night & by early this morning had more than 150 new junk emails; most are correctly routed to the Junk folder but then I need to delete them.

So it sounds like part of what you’re looking for is a quicker way to delete messages that are in the Junk folder. The quickest way I can think of to do it manually (which you may already be doing) is right click on the “All Junk” folder and select “Erase Junk Mail…”. Hit Tab and then Return when the confirmation dialog appears, and you’re done.

An even faster method is to do it automatically. You should only do this if you feel Mail will never flag a message as “Junk” that you would have rescued from the Junk folder had you seen it there. To do this, go to Mail \> Settings… \> Junk Mail \> “Perform custom actions…” \> Advanced… , and then under “Perform the following actions:”, either change the destination to Trash instead of Junk (for a slow death, depending on your Trash auto-delete setting), or change the first drop-down to “Delete Message” for instant elimination.

---

<div class="post-metadata">

**Author:** ![sf.ross](https://talk.tidbits.com/letter_avatar_proxy/v4/letter/s/8edcca/32.png) [@sf.ross](https://talk.tidbits.com/u/sf.ross)\
**Post date:** [September 4, 2023, 5:57pm UTC](https://talk.tidbits.com/t/junk-email/24144/5 "2023-09-04T17:57:52Z")

</div>

Thank you. That’s why I used the example of [myname@icloud.com](mailto:myname@icloud.com), knew not to use my real email address, myname is not the same as my real name. I’d been trying to look at the entire email header, guess I haven’t figured out how to see the entire header.  
Apparently it’s impossible to keep up w/the spammers, let alone stay one step ahead of them. Such a bloody waste of time. Can’t imagine how much spam people who aren’t as careful as I am must receive.🤷🏼‍♀️

---

<div class="post-metadata">

**Author:** ![sf.ross](https://talk.tidbits.com/letter_avatar_proxy/v4/letter/s/8edcca/32.png) [@sf.ross](https://talk.tidbits.com/u/sf.ross)\
**Post date:** [September 4, 2023, 6:05pm UTC](https://talk.tidbits.com/t/junk-email/24144/6 "2023-09-04T18:05:38Z")

</div>

I don’t need to delete them but I hate having anything unwanted sitting in my email account. Also, I feel more secure getting them out of my account as quickly as possible, don’t know if there’s any rationale to my thinking.  
I’ve looked at the Mail settings on my Mac & haven’t found a way to change the time until the Junk is deleted. Don’t even see where it’s set for 30 days.

---

<div class="post-metadata">

**Author:** ![sf.ross](https://talk.tidbits.com/letter_avatar_proxy/v4/letter/s/8edcca/32.png) [@sf.ross](https://talk.tidbits.com/u/sf.ross)\
**Post date:** [September 4, 2023, 6:08pm UTC](https://talk.tidbits.com/t/junk-email/24144/7 "2023-09-04T18:08:59Z")

</div>

Think my process is already getting rid of them as quickly as I can, it’s similar to your suggestion. Mostly I just didn’t understand how all those @gmail or @yahoo or @aol emails were getting thru to my [icloud.com](http://icloud.com) email address.

---

<div class="post-metadata">

**Author:** ![Shamino](https://talk.tidbits.com/user_avatar/talk.tidbits.com/shamino/32/19200_2.png) [@Shamino](https://talk.tidbits.com/u/Shamino)\
**Post date:** [September 4, 2023, 6:14pm UTC](https://talk.tidbits.com/t/junk-email/24144/8 "2023-09-04T18:14:38Z")

</div>

> [@sf.ross](#):
>
> What I don’t understand is how messages that aren’t addressed to my email address still come thru to me at all.

What your e-mail client reports as the source (`From:`) and destiantion (`To:` or `Cc:`) of an e-mail message has nothing to do with how the message is delivered. All of the header lines you typically see in an e-mail message are actually part of the message’s _content_, and have nothing to do with how the e-mail servers actually deliver the message to you.

The e-mail protocol ([RFC 788](https://datatracker.ietf.org/doc/html/rfc788) and its many successor standards) works along these lines (some steps omitted or may be different from what modern mail clients do, in order to make the basic concepts clearer):

- The sender’s computer connects to an e-mail server. Typically, this will be the sender’s ISP’s mail server, but it could be any e-mail server on the Internet that is configured to accept the connection.

- The sender sends a `HELO` command to the server, identifying the sender’s computer. The ID could be anything, but a modern server will attempt to verify the ID and will log any discrepancies by adding new header lines to the mail message (see below).

- The sender sends a `MAIL FROM:` command, identifying the sender’s e-mail address. If this isn’t provided, most mail servers will attempt to guess it by reading header lines in the mail message’s content. This address is often referred to as the “envelope sender”, because it’s not part of the message, but is part of the protocol that wraps around the message (it’s “envelope”)

- The sender sends a `RCPT TO:` command, identifying the recipient of the mail message. This address is often referred to the “envelope recipient”. If the mail is supposed to be sent to multiple recipients, the sender will include a `RCPT TO:` command for every recipient.

- The sender sends a `DATA` command, followed by the entire content of the message. (Followed by a “`.`” on a line by itself, indicating the end of the data). This includes all of the message’s headers, its body and attachments (which are actually part of the message body).

- The sender sends a `QUIT` command, which tells the server that the session is done. It will disconnect the client.

Now that you’ve got that information, here’s the critical bit that you may not have known:

**The sender and recipient specified in the `MAIL FROM:` and `RCPT TO:` commands do not have to match the `To:` and `From:` headers in the message’s content.**

The message will be delivered to the address(es) specified in the `RCPT TO:` command, _without regard to the content of the message headers_.

This is not a bad thing. This is how your mail client’s `Bcc` feature works (where you specify a recipient who doesn’t appear in the header). It’s also how mailing lists work - the message header says it was sent to the list, but it gets delivered to the list’s subscribers (who are all named in the `RCPT TO:` commands when the message is sent).

> [@sf.ross](#):
>
> How is that possible? How are emails that aren’t addressed to my email address coming thru?

What’s happening is that the sender has specified your address in the message’s `RCPT TO:` command, and that’s how the message is delivered to you. But your e-mail client is showing the contents of the `To:` header in the message’s content, which doesn’t have to match it.

You can actually see evidence of this.

If you view the full set of message headers for the e-mail (the mechanism will depend on what e-mail client you’re using), you will see a lot of e-mail headers. The most interesting ones here are the ones called `Received:`.

Every e-mail server prepends a `Received:` header to every message it receives. At minimum, this will identify the mail server and have a timestamp. So by looking at all of the `Received:` headers, you can see every server the message passes through (the most recent ones at the top of the message).

Many servers will put additional information in the `Received:` header, containing data from the message’s envelope, including, possibly, the content of the `MAIL FROM:` and `RCPT TO:` commands, if they differ from the corresponding headers in the mail message, and maybe also the SSH/TLS parameters used to establish the connection between servers.

Servers may also prepend additional header lines containing other information (e.g. the results of whatever spam filtering software they’re running). If they do, the `Received:` header is always the last one prepended, so you know that all header lines between two `Received:` headers were inserted by the server that inserted the first of them.

The last `Received:` header in the message was added by the first server to receive the message. Some number of header lines below that were probably inserted by that server, with all the header lines below that coming from the actual sender - _any and all of which may be completely bogus_.

I wrote a long message here in January where I decode and explain the headers of an e-mail message I received. I recommend you look it over, since it will help you understand the headers in the mail you receive:

> [@Just a suggestion to help IT managers](https://talk.tidbits.com/t/just-a-suggestion-to-help-it-managers/20913/33):
>
> TL;DR: What you’ve presented is not the actual source of the message, but the contents of one of the message’s headers. It is quite likely to be forged. It is quite likely that that address either does not exist or belongs to an innocent third party. And now, in case you’re curious, here’s a breakdown of the headers belonging to a piece of spam I received in my Yahoo mailbox (and was successfully filtered to the spam folder). This may help you a bit in understanding what you can and can not …

---

<div class="post-metadata">

**Author:** ![sf.ross](https://talk.tidbits.com/letter_avatar_proxy/v4/letter/s/8edcca/32.png) [@sf.ross](https://talk.tidbits.com/u/sf.ross)\
**Post date:** [September 4, 2023, 6:33pm UTC](https://talk.tidbits.com/t/junk-email/24144/9 "2023-09-04T18:33:41Z")

</div>

Way above my pay grade but much appreciated. Don’t understand everything you’ve said but it definitely gets me to where I have a general understanding as to what’s happening. I will definitely look at your January message as well.  
I always use bcc when I’m sending a message to a group, so I understand a bit of what you’re saying. Drives me crazy when others don’t use bcc; too many people hit Reply All.

---

<div class="post-metadata">

**Author:** ![Shamino](https://talk.tidbits.com/user_avatar/talk.tidbits.com/shamino/32/19200_2.png) [@Shamino](https://talk.tidbits.com/u/Shamino)\
**Post date:** [September 4, 2023, 6:41pm UTC](https://talk.tidbits.com/t/junk-email/24144/10 "2023-09-04T18:41:26Z")

</div>

> [@sf.ross](#):
>
> I always use bcc when I’m sending a message to a group, so I understand a bit of what you’re saying.

And that’s also how the spammers do it. When you Bcc a message, the recipients on the Bcc line do not appear in your outgoing mail’s headers, but they are sent over the SMTP protocol (via a `RCPT TO:` command for each recipient).

Spammers sometimes craft messages to make it seem like you somehow intercepted someone else’s mail by accident. But that’s not actually possible. If you received it, it was sent to you, even if the message headers show someone else’s address.

---

<div class="post-metadata">

**Author:** ![aforkosh](https://talk.tidbits.com/user_avatar/talk.tidbits.com/aforkosh/32/16647_2.png) [@aforkosh](https://talk.tidbits.com/u/aforkosh)\
**Post date:** [September 4, 2023, 7:07pm UTC](https://talk.tidbits.com/t/junk-email/24144/11 "2023-09-04T19:07:38Z")

</div>

There are many good things in the replies to the original posting, and I will describe my daily procedure that avoids going through any deep analysis. I have two email addresses that I check daily in relation to Apple Mail Junk detection. One is set up as a destination for comments on my website, and the other is my personal iCloud email address. So here is the procedure:

1. I check the Inbox for the website reply address and direct any spam (usually the whole mailbox) to the Junk mailbox for that address.

2. I scan the index for the Junk Mailbox associated with my iCloud address and look at any possible false positives. The index may have from 20 to 100 messages in it. I can usually complete the scan in well under a minute if there are no suspected false positives. If there is a message that probably shouldn’t be there, I redirect it to my Inbox. For example, this morning, the Junk mailbox showed a Patreon message from a person who typically sends an email with a video clip near the beginning of the month. I pulled it out of the Junk mailbox. There are usually no false positives, but I see several weekly.

3. After completing steps 1) and 2), I usually return to my combined Inbox and then hit option-command-j, the keyboard equivalent for ‘Mailboxes\>Erase Junk Mail,’ which clears all my junk mailboxes.

4. Repeat the following morning

So, this short procedure keeps spam from accumulating while ensuring I don’t miss non-spam emails.

By the way, the automatic erasure of a Junk Mailbox is under the Mailbox Behavior tab after you select a mail account from Mail\>Settings\>Account.

---

<div class="post-metadata">

**Author:** ![sf.ross](https://talk.tidbits.com/letter_avatar_proxy/v4/letter/s/8edcca/32.png) [@sf.ross](https://talk.tidbits.com/u/sf.ross)\
**Post date:** [September 4, 2023, 10:30pm UTC](https://talk.tidbits.com/t/junk-email/24144/12 "2023-09-04T22:30:38Z")

</div>

Thank you. I had looked in Mail\>Settings for the auto erase for Junk Mail but had looked in Junk Mail & Rules tabs; didn’t think to look in the Account tab. Have updated it to erase more quickly but will likely continue clearing it out manually. The increase in spam/junk mail just in the last couple months is ridiculous!

---

<div class="post-metadata">

**Author:** ![janesprando](https://talk.tidbits.com/user_avatar/talk.tidbits.com/janesprando/32/14792_2.png) [@janesprando](https://talk.tidbits.com/u/janesprando)\
**Post date:** [September 6, 2023, 12:57am UTC](https://talk.tidbits.com/t/junk-email/24144/13 "2023-09-06T00:57:54Z")

</div>

> [@mHm](#):
>
> How do they know your address?  
> Look here: [https://haveibeenpwned.com](https://haveibeenpwned.com)

MHm, thanks for the link to pawned. I am on 6 sites, dating back to 2013. Should I worry about the older site?

What are the steps to take to get my email address off those sites?

Do I just delete the App?

Jane

---

<div class="post-metadata">

**Author:** ![alvarnell](https://talk.tidbits.com/user_avatar/talk.tidbits.com/alvarnell/32/464_2.png) [@alvarnell](https://talk.tidbits.com/u/alvarnell)\
**Post date:** [September 6, 2023, 3:04am UTC](https://talk.tidbits.com/t/junk-email/24144/14 "2023-09-06T03:04:24Z")

</div>

I sense a bit of confusion here. You say you are on six sites, but it isn’t clear whether those are sites that you provided your email address to or sites where your email address has been posted for sale. Both types can be found on HaveIBeenPwned.

If it’s a site where you have previously provided your address, it’s too late now as that address (and perhaps other information) has already been compromised, so you either live with it (as I have done) or stop using that address altogether. You could have the site close your account, but it’s really too late for that, damage done. Throwing the app away accomplishes nothing.

If it’s a site where your address (and possibly other information) has been posted on the dark web for sale, there is nothing you can do to have it removed. Chances are the dark web site and those that run it are in a foreign country out of reach from law enforcement. So again, all you can do is change the information that has been compromised. That might be your password or email address, but also can be something you cannot easily change such as your address, phone number, drivers license or passport number, or even social security number.

---

<div class="post-metadata">

**Author:** ![janesprando](https://talk.tidbits.com/user_avatar/talk.tidbits.com/janesprando/32/14792_2.png) [@janesprando](https://talk.tidbits.com/u/janesprando)\
**Post date:** [September 6, 2023, 3:34am UTC](https://talk.tidbits.com/t/junk-email/24144/15 "2023-09-06T03:34:54Z")

</div>

Al, they are sites that I had signed on to—Like Wattpad, DropBox, Adobe and a couple I don’t recognize. I still have the same email address and other info. So I guess I won’t worry about it since I can’t “close the barn door after the fact”!

The only thing I can change is my password. Fortunately, I never include my SS number nor driver’s license unless it is a government or health website. Thanks for answering!

---

<div class="post-metadata">

**Author:** ![s1dorner](https://talk.tidbits.com/user_avatar/talk.tidbits.com/s1dorner/32/18646_2.png) [@s1dorner](https://talk.tidbits.com/u/s1dorner)\
**Post date:** [September 6, 2023, 4:51am UTC](https://talk.tidbits.com/t/junk-email/24144/16 "2023-09-06T04:51:05Z")

</div>

Think of it like a paper letter. Your email client is hiding the address on the envelope and showing you the greeting on the letter inside. By convention the two should be roughly equivalent, but they are not required to be, either by email or the paper postal system.

---

<div class="post-metadata">

**Author:** ![s1dorner](https://talk.tidbits.com/user_avatar/talk.tidbits.com/s1dorner/32/18646_2.png) [@s1dorner](https://talk.tidbits.com/u/s1dorner)\
**Post date:** [September 6, 2023, 4:53am UTC](https://talk.tidbits.com/t/junk-email/24144/17 "2023-09-06T04:53:51Z")

</div>

My problem with junk mail and iCloud is that I could not STOP Apple from being overly aggressive in marking perfectly valid things as junk. That’s why I’ve deprecated my iCloud account and use Google infrastructure nowadays.

I rely on SpamSieve; seems to do ok.

---

<div class="post-metadata">

**Author:** ![alvarnell](https://talk.tidbits.com/user_avatar/talk.tidbits.com/alvarnell/32/464_2.png) [@alvarnell](https://talk.tidbits.com/u/alvarnell)\
**Post date:** [September 6, 2023, 6:40am UTC](https://talk.tidbits.com/t/junk-email/24144/18 "2023-09-06T06:40:20Z")

</div>

> [@s1dorner](#):
>
> My problem with junk mail and iCloud is that I could not STOP Apple from being overly aggressive in marking perfectly valid things as junk

That has pretty much stopped for me now, after maybe six weeks of being a daily problem. I do have a gmail account for backup, but minimize it’s use as I would rather not participate in their tracking abuses.

---

<div class="post-metadata">

**Author:** ![mHm](https://talk.tidbits.com/user_avatar/talk.tidbits.com/mhm/32/15368_2.png) [@mHm](https://talk.tidbits.com/u/mHm)\
**Post date:** [September 6, 2023, 8:01am UTC](https://talk.tidbits.com/t/junk-email/24144/19 "2023-09-06T08:01:57Z")

</div>

@janesprando The sites mentioned on [https://haveibeenpwned.com](https://haveibeenpwned.com) refer to previous data breaches. It’s almost rare that a given email address was not in at least one of these data breaches. It does document nicely that none of us is “safe”.

The [https://haveibeenpwned.com](https://haveibeenpwned.com) site shows you WHERE your email address was compromised. As an example, if you find that you were affected in the breach of Microsoft, it might be good idea to change your password for Microsoft’s services. In this example, don’t forget what belongs to Microsoft: OneDrive, Outlook, Bing, Skype and a few more.

---

<div class="post-metadata">

**Author:** ![Sebby](https://talk.tidbits.com/letter_avatar_proxy/v4/letter/s/bbce88/32.png) [@Sebby](https://talk.tidbits.com/u/Sebby)\
**Post date:** [September 6, 2023, 3:21pm UTC](https://talk.tidbits.com/t/junk-email/24144/20 "2023-09-06T15:21:37Z")

</div>

I _hate_ to be “that guy”, but even so, a small corrective to an otherwise splendid post …

> [@Shamino](#):
>
> - The sender sends a `QUIT` command, which tells the server to start trying to deliver the message, and disconnects the client from the server.

In fact, the `QUIT` only ever ends an SMTP _session_ (connection); it can be issued at any time except during the `DATA` phase. The end of a _transaction_ (i.e. the delivery of a single message) is actually signalled by the end-of-data indicator (the full stop on a line by itself) and is confirmed by the client receiving the positive acknowledgement (code 250) from the server. This misapprehension is quite common though, and I know of at least one implementation of a server that did this, so perhaps it’s worth bearing in mind. See RFC 5321 for all the gory details (work on the next one is in progress, though very slow going, in ietf-smtp, and is essentially a clarifying revision).

> [@s1dorner](#):
>
> My problem with junk mail and iCloud is that I could not STOP Apple from being overly aggressive in marking perfectly valid things as junk. That’s why I’ve deprecated my iCloud account and use Google infrastructure nowadays.
> 
> I rely on SpamSieve; seems to do ok.

Ditto, except gradually moving back to a self-hosted server. I still find iCloud’s filtering to be far, far, far too aggressive, dropping email even from well-known mailing list hubs at [groups.io](http://groups.io) and Debian, as well as from the Tidbits Discourse here. It’s really out of order for anything but light personal mail, and to be sure, that _is_ clearly what it’s aimed at. There’s always Fastmail, if you want good email service you’re happy paying for that’s competently hosted by people who know what they’re doing, but I found their plan prices too much, at the time. And I want to have by email back in my house, anyway. Now’s as good a time as any.

[Next page](https://talk.tidbits.com/t/junk-email/24144.md?page=2)
