ushahidi / SwiftRiver-Core

SwiftRiver Core Applications
6 stars 3 forks source link

Email Channel #19

Closed 69mb closed 11 years ago

69mb commented 12 years ago

This is the email in daemon for the email channel at swiftapp.com. In production, the idea is that an email sent to @rivers.swiftapp.com gets delivered to this daemon which will send it to the correct river or blackhole the mail if the river does not exist.

Attachments in the mail are added as drop media.

The postfix configuration on mx-01 and mx-02 will be such that mail destined to rivers.swiftapp.com will be forwarded to this daemon after spam filtering etc.

You can grab a sample email from here fire up the daemon and pass it the sample email using this:

nc localhost 10025 < ~/tmp/email.smtp

Be sure to preseve the carrage returns in email.smtp

69mb commented 11 years ago

@ekala think this is ready now.

ekala commented 11 years ago

Add python-dateutil to the list of required libraries in the README otherwise the daemon throws an ImportError on startup

I'm getting the following error after firing up the daemon and passing it via netcat: Error in Processing AuthenticationFailed() - This error comes after the app has acknowledged receipt of the email

69mb commented 11 years ago

README updated

Recheck your cloufiles settings to sort out the AuthenticationFailed error...

ekala commented 11 years ago

+1 for a merge.

I've sneaked in an indentation fix for the dropqueue app. See c3a85bed9d3254310c1dc7b709ceccd162351c10