tactilenews / 100eyes

Dialogtechnologie für den Pivot to People invented by tactile.news GmbH
MIT License
10 stars 1 forks source link

Use unique Reply-to email addresses #544

Open tillprochaska opened 4 years ago

tillprochaska commented 4 years ago

When processing inbound email, we use the From address to find the corresponding contributor record in our database. The problem: It’s easy to spoof the From header.

Email spoofing is a fundamental problem of the email protocol. All solutions to this problem (e.g. DKIM, SPF) are somewhat complex to implement, and more importantly, rely on the sender to configure their email server to support them (or to use a email provider that does that).

A common solution to this problem are Reply-to addresses that are unique for each contributor.

drjakob commented 4 years ago

Just one thought: Could changing reply-to-addresses also be a smart solution to assign the answers to the right questions?

tillprochaska commented 4 years ago

Yeah, I think we talked about related approaches to solves this problem some time ago. Actually, you wouldn’t need to have separate email addresses for that, there already are email headers like References and In-Reply-To that are used by email clients to convey information about the original message etc. Those headers are also used to display multiple emails in a thread/conversation (see #204).