The real email address can be found in the headers
On #12 (closed), we fixed a similar case where the real erine.email email address could be found, in some particular cases, on the received
header.
Here, we're talking about a totally unknown header. This particular case had been detected by Traviata.
Reproduce the problem
Use Traviata with a Yahoo Mail address for Bob (the erine.email user of the test scenarios). Indeed, looks like Yahoo Mail added this header since the last time I played with Traviata.
./traviata.py --configfile ~/pCloudDrive/traviata.conf --alice GMail --bob YahooMail --bobwait 60 --features classic
2021-03-25 16:27:23,265 [INFO ] Debug log: /tmp/traviata_ji4qnhp8.log
Before proceeding, you should clean the database on your server providing the erine.email service launching this on it, as root:
cleanDB.py --emails XXX,YYY
Continue? [y/n] y
2021-03-25 16:27:36,252 [INFO ] Scenario 1: Alice initiates a conversation with Bob, using his never-used "classic" mask address
2021-03-25 16:27:36,252 [INFO ] Both Alice and Bob use display names to identify their addresses
2021-03-25 16:27:36,253 [INFO ] Part 1: Alice (XXX) is sending message to Bob (7is3gbwbqncddl3.traviata_yahoo@plops.ovh)...
2021-03-25 16:27:37,737 [INFO ] Message sent
2021-03-25 16:27:37,737 [INFO ] Part 2: Bob is reading the email from Alice...
2021-03-25 16:27:39,013 [INFO ] email not found, waiting 1 second
2021-03-25 16:27:41,093 [INFO ] email not found, waiting 1 second
2021-03-25 16:27:43,351 [INFO ] email not found, waiting 1 second
2021-03-25 16:27:45,496 [INFO ] email not found, waiting 1 second
2021-03-25 16:27:49,826 [WARNING] email is marked as junk (found in "Bulk Mail" mailbox)
2021-03-25 16:27:50,388 [INFO ] email received and checked
2021-03-25 16:27:50,389 [INFO ] Part 3: Bob is replying to Alice...
2021-03-25 16:27:50,391 [INFO ] Waiting 60 seconds to prevent ban...
2021-03-25 16:28:50,448 [INFO ] Nap finished, back to work!
2021-03-25 16:28:53,745 [INFO ] Message sent
2021-03-25 16:28:53,745 [INFO ] Part 4: Bob is removing Alice's email (that's his Mr Proper side)...
2021-03-25 16:28:54,686 [INFO ] Part 5: Alice is reading the email from Bob...
2021-03-25 16:28:55,338 [INFO ] email not found, waiting 1 second
2021-03-25 16:28:56,991 [INFO ] email not found, waiting 1 second
2021-03-25 16:28:58,640 [INFO ] email not found, waiting 1 second
2021-03-25 16:29:00,290 [INFO ] email not found, waiting 1 second
2021-03-25 16:29:01,957 [WARNING] email is marked as junk (found in "[Gmail]/Spam" mailbox)
2021-03-25 16:29:02,268 [INFO ] email received and checked
2021-03-25 16:29:02,269 [ERROR ] Bob's real address (YYY) had been found in Bob email, in the "X-Sonic-MF" header!
2021-03-25 16:29:02,276 [ERROR ] Scenario 1 failed. See /tmp/traviata_ji4qnhp8.log for more informations.
2021-03-25 16:29:02,276 [INFO ] Scenario 2: Alice initiates a conversation with Bob, using his already-used "classic" mask address
2021-03-25 16:29:02,277 [INFO ] Both Alice and Bob do not use display names to identify their addresses
2021-03-25 16:29:02,277 [WARNING] Scenario 2 skipped (as scenario 1 failed)