Comments (4)
So, one thing that is happening is (from tracing raw network traffic w/ ngrep) is that more than one email message can be delivered on a connection. So for a sender sequence like:
Connect
EHLO
MAIL FROM: msgid1
RCPT TO: mail1@
DATA
blah, blah, blah
NOOP. (gets 502 Not implemented)
MAIL FROM: msgid2
RCPT TO: mail2@
DATA
blah, blah, blah
QUIT (gets 221 Bye!)
we'll log:
[2017-06-06T14:56:37.688Z] Handling SMTP request
[2017-06-06T14:56:38.084Z] Received message for [ '[email protected]' ]
[2017-06-06T14:56:55.733Z] Received message for [ '[email protected]',
'[email protected]' ]
Need to poke at this more, but thought I'd pass this along. And I don't know if this is the core problem reported in this issue.
from restmail.net.
Check out http://restmail.net/mail/[email protected] and
http://restmail.net/mail/[email protected]. (Note: there may have been other mails to these addresses not shown above, but http://restmail.net/mail/[email protected]'s mailbox has mail for [email protected] (no CC: involved)). Maybe need to handle the envelope RCPT TO, to handle these multiple payloads per connection cleanly.
from restmail.net.
p.s., I can switch restmail back to the previous release, if needed.
from restmail.net.
So, one thing that is happening is (from tracing raw network traffic w/ ngrep)
is that more than one email message can be delivered on a connection.
Just to confirm, I tried this out by hand and it did indeed cause restmail to deliver both emails to both addresses, rather just one to each address. So it seems plausible that this is the cause of the bug. My proposed fix is in #22 and was actually a pretty small change overall.
from restmail.net.
Related Issues (18)
- Case sensitivity HOT 4
- Update website to link the mozilla/restmail.net, not lloyd/restmail.net HOT 5
- Hosting and Deployment of restmail.net HOT 1
- restmail.net SSL cert has expired HOT 4
- CORS Support HOT 2
- https://restmail.net/mail/<user> does not return any JSON HOT 2
- Email subject appears twice in email json HOT 2
- restmail.net is down HOT 18
- restmail.net returns a 503 HOT 1
- Seeing Restmail timeouts after 60 seconds, in mozillians-tests builds HOT 7
- limit uses of restmail.net HOT 7
- res.json not returning? HOT 2
- CODE_OF_CONDUCT.md file missing
- Travis CI free usage ends Dec 3; mozilla repos should switch to other CI platforms HOT 1
- redis acts like a db, not a cache HOT 1
- database can grow until you run out of memory HOT 3
- Add open source software license
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from restmail.net.