I created a mail account for the user my webapp is running with. I forward (selected) e-mails from another account to this one, so mailman can pick them up and process.
I tried to use the Daemon gem to run the mailman_server in the background. However, I cannot get it to recognize the rails environment, so I cannot access my models from the mailman_server.
The only way I can get it to run in the background is using: nohup ./script/mailman_server &
But because there are no start and stop commands, it is difficult to implement in a deployment strategy.
It sure does Dan. Awesome. I got it working now.
I created a mail account for the user my webapp is running with. I forward (selected) e-mails from another account to this one, so mailman can pick them up and process.
I just found a promising cloud service cloudmailin
Yes, I did...
I tried to use the Daemon gem to run the mailman_server in the background. However, I cannot get it to recognize the rails environment, so I cannot access my models from the mailman_server.
The only way I can get it to run in the background is using:
nohup ./script/mailman_server &
But because there are no start and stop commands, it is difficult to implement in a deployment strategy.
Next try: God to manage the mailman_server