haraka / Haraka

A fast, highly extensible, and event driven SMTP server
https://haraka.github.io
MIT License
5.09k stars 661 forks source link

Better MIME header handling (was: Attachment handling bug) #1166

Closed Dexus closed 8 years ago

Dexus commented 9 years ago

Look to http://www.emailsecuritycheck.net/index.html

http://pastebin.com/xhKSzmvu

http://pastebin.com/PtrfzcHm

http://pastebin.com/PWpfT0VQ

http://pastebin.com/mVL9vHUP

This message should be as it is actually directly rejected because of faulty syntax.

Or should this be blocked by the client?

smfreegard commented 9 years ago

@Dexus: this issue is a bit meaningless without the Haraka logs to go with it (e.g. the output of the 'filename' from the attachment hooks).

Haraka shouldn't reject these unless instructed to by a plugin (e.g. attachment or the like), however if the parser doesn't get the filename correctly, then it would be a bug.

smfreegard commented 9 years ago

Add support for https://tools.ietf.org/html/rfc2231