madeingnecca / haraka-plugins

Collection of Haraka plugins.
25 stars 5 forks source link

Blank Email from Sender Causes Error #2

Open Koshroy opened 10 years ago

Koshroy commented 10 years ago

I have applications that are sending me diagnostic reports to root@domain, but are leaving the FROM field blank for bounce messages. The maildir plugin is attempting to split this empty email address. I can fix the bug if you feel like the maildir plugin should handle empty FROM fields. On the other hand, maybe you don't feel like the maildir plugin should have to deal with an empty FROM field, and a previous plugin should take care of it. Let me know what you think.

madeingnecca commented 10 years ago

Yes, I think the plugin should not raise errors in case of missing "mail from" address. Feel free to fix it if you want. Thanks.