flashmob / go-guerrilla

Mini SMTP server written in golang
MIT License
2.79k stars 366 forks source link

Feature request: usage of queues #8

Closed lifeofguenter closed 8 years ago

lifeofguenter commented 8 years ago

It would be cool if instead of using a mix of redis/mysql it would use a queue (rabbit/beanstalkd/maybe even sqs) to push new messages into (might not work with large attachments though).

That way the implementation of what is being done with a email is fully seperated from the mx.

flashmob commented 8 years ago

Thanks. The roadmap is to convert go-guerrilla to a library/module, so you can add rabbit or whatever else when you define your own saveMail function. Internally, go-guerrilla uses a worker queue for saving email. There are 3 workers by default.