Comments (8)
This is definitely a bug. I never thought to look for attachments in a non-multipart email. I will see if we can fix it.
from postal.
Oh and for some context at first we though the bug was #1624
from postal.
I presume you're sending this message with SMTP and not the API? And also that the message arrives at its destination okay with the attachment intact?
from postal.
Indeed the message is an incoming email into postal that should then trigger an HTTP endpoint that forwards the mails to our application. To the best of my knowledge, the message does not include the attachment in the HTTP endpoint json call.
(oh and happy new year by the way !)
from postal.
Haha happy new year indeed!
Whatever sends the message with Amazon SES to Postal doesn't construct it with parts, Postal won't identify the attachment at all. Even the scanners I've seen use message parts, are you constructing this message yourself or do you have another device involved?
from postal.
I was indeed surprised to see the absence of parts in the email. The email is generated by a company that sends it to our company, we're looking into the possibility of ask them to change the way it is generated. But some mail clients seems to think the email is valid, I haven't found a tool that says the email is invalid.
from postal.
Yeah its definitely Postal being very strict in this context but I'm not sure how extensive the changes would need to be in order to parse it.
I can't immediately see where the attachments are parsed out in either lib/postal/smtp_server/client.rb or lib/postal/message_db/database.rb or lib/postal/message_db/message.rb
from postal.
As a note, Ive encountered this before from gmail DMARC report emails. They also only send the attachment with the report, and no body text/html. I was hoping to use postal to assist in parsing and reporting of these DMARC emails, as opposed to grabbing the data by hand, but with this bug, its not yet possible.
from postal.
Related Issues (20)
- Postal v3.3.2 SMTP server does not support TLS while using SMTP credentials
- Docker Network HOT 4
- Upgrade 2.3.2 : Powered by Postal unspecified. HOT 6
- Reverse proxy 403 forbidden error fix
- API /messages/message returns 500 if _expansions != array and doc is outdated
- Ip rotation not working HOT 8
- Message status not showing sent IP when sending using API (but does when sending using SMTP) HOT 3
- After upgrade to V3 no mails are sent HOT 6
- Local SMTP Endpoint Route Not Working HOT 5
- cannot load such file -- /opt/postal/app/lib/postal/version HOT 4
- ContainerConfig error at postal upgrade HOT 2
- Deleting an address endpoint causes not to be able to load routes anymore HOT 1
- V3: Storage is no longer emptied properly. HOT 9
- Outgoing mail spam check not working
- Errno::ENOENT: No such file or directory @ rb_sysopen - /config/signing.key
- Detected line with invalid line ending (missing <CR>) HOT 1
- The DNS record of the return path remains default and is not changing to the entry configured in the postal.yaml file.
- Private Mode Broken HOT 2
- BUG: routed emails not sent when ClamAV is enabled. HOT 1
- Incoming message not resend the in-reply-to and references to HTTP Endpoint HOT 3
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 postal.