dcposch / scramble

Secure email for everyone
http://dcposch.github.io/scramble/
226 stars 32 forks source link

Separate SMTP RCPT-TO from the email's To header #48

Closed dcposch closed 10 years ago

dcposch commented 10 years ago

The SMTP RCPT-TO determines what inbox it goes into. The email To header is what we should display.

For example, if I set up my gmail to forward to Scramble, then foo@bar.com sends an email to gmail.com, then Scramble will receive the following message:

RCPT-TO:<dcposch@scramble.io>
...
DATA
From:<foo@bar.com>
To:<dcposch@gmail.com>
...

So this email should show up in the inbox for dcposch@scramble.io, but the From and To should be the ones from the DATA section.

dcposch commented 10 years ago

Fixed.