postal icon indicating copy to clipboard operation
postal copied to clipboard

Postal should filter spoofed emails

Open ember-ana opened this issue 7 years ago • 5 comments

Since postal can be used to route emails, an email sent to a postal server could become a non-spoofed email, even though it is.

As in Route: [email protected] => [email protected] Someone sends an email from a spoofed "[email protected]" to [email protected], which gets forwarded to [email protected]; but since postal didn't notice that it's spoofed, the SPF records now line up (since technically now postal is the sender).

I just had a case of this behavior, and think this could be a potential spam/security issue.

ember-ana avatar Oct 30 '19 12:10 ember-ana

Interesting, would you be able to detail the settings for your server and your general email flow setup?

willpower232 avatar Oct 31 '19 10:10 willpower232

Since I run this server for a friend, and I care about their privacy, the email/domain names here will not be the actual names.

The mail server has a verified domain called artistdomain.com with SPF, DKIM, and MX records set. The SPF records only allow postal. I cloned the SPF record on postal.cloudy.gg, incase you want to have a look at it.

I have three address endpoints, [email protected], [email protected], and [email protected].

A route, [email protected] has the following settings:

Some more details:

  • Screenshot of the email in the incoming tab https://bir.bz/hLQ2j
  • Spam Status https://bir.bz/TRKDr https://bir.bz/J6XQ8
  • The email contents (obviously fake; spam) https://bir.bz/1VkX2

Thanks for the quick reply!

ember-ana avatar Nov 02 '19 20:11 ember-ana

If spamassassin didn't detect that the message was SPAM, there's not really much we can do about it This whole situation is irritating, but is an unavoidable side-effect of how verification has been bolted onto emails. In order to forward an email, we must re-sign it, so SPAM will suddenly look like legitimate email. The only solution is to try to detect SPAM and not forward it, but is seems in the specific case above, this was not possible, or perhaps your spamassassin is not set up correctly.

catphish avatar Nov 24 '19 14:11 catphish

Hi, Sorry for the late reply. I've checked their SA setup and it seems it was misconfigured. I'll close this for now - will reopen if this occurs with a correct SA setup.

ember-ana avatar Jan 05 '20 12:01 ember-ana

Thanks for letting us know

willpower232 avatar Jan 05 '20 15:01 willpower232