Hello,

The patch # for ListenSMTP is NIFI-1899[1]. A PR[2] has been submitted and it 
is currently being reviewed. It should be adequately reliable and performant 
(if it's not it more than likely should be fixed). If you're able, it would be 
great to have another pair of eyes on it or even just help testing is always 
appreciated.


The prospective implementation of the ExtractEmailAttachments processor uses 
the Apache Commons - Mail MimeMessageParser to see if the message has any 
attachments. If it does it creates new FlowFiles from those attachments by 
streaming the bytes to the new FlowFile's content. I believe this method should 
allow for schema-less attachments. 

[1] https://issues.apache.org/jira/browse/NIFI-1899
[2] https://github.com/apache/nifi/pull/483

Joe- - - - - - 
Joseph Percivall
linkedin.com/in/Percivall
e: joeperciv...@yahoo.com



On Saturday, July 16, 2016 10:08 PM, djmdata <danmarshal...@gmail.com> wrote:



What is the JIRA #?

I have a production system that reads email from a custom SMTP listener and
places the SMTP payload into Kafka. A Storm topology reads messages from
Kafka and parses the emails (Java code using JavaMail API) into useful info
(subject, text, attachments, body, etc...).

I'm looking at plugging NiFi into this to replace the custom SMTP listener.
If you had a processor that could act as a reliable (we can't lose emails)
and performant SMTP listener alternative we would use it.

Your "email parser processor" is an interesting idea - but beware of the
mess you'll find in the wild with email. In our case, we try to parse
Exchange (full of non-standard wonders like "TNEF" attachments") as well as
email from virtually anywhere (GMail, Yahoo, Joe's email client...). If you
can crack that you'll be on to something. We have even more complexity in
that we read "Microsoft Journals" which wrap the standard SMTP layout in a
Microsoft layer (you'll see this at large Exchange shops doing this kind of
thing for use cases like compliance).



--
View this message in context: 
http://apache-nifi-developer-list.39713.n7.nabble.com/ListenSMTP-processor-tp10510p12827.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.

Reply via email to