Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to start mailman server process in order to fetch incoming mail #2878

Closed
icarito opened this issue Jun 21, 2018 · 2 comments · Fixed by #2823
Closed

Need to start mailman server process in order to fetch incoming mail #2878

icarito opened this issue Jun 21, 2018 · 2 comments · Fixed by #2823
Assignees

Comments

@icarito
Copy link
Member

icarito commented Jun 21, 2018

Please describe the problem (or idea)

In #2669 we merged functionality for incoming email. We've configured this, but now we need to start an independent process that does the mail fetching.

@namangupta01 mentioned this:

We just have to write the configurations in https://github.com/publiclab/plots2/blob/master/script/mailman_server and then we can start the mailman server which is an incoming mail server which will automatically do the work for us.
We only have to write the proper configurations of the email id which will going to receive all the mails.

So now we need to add a container to containers/docker-compose-*.yml where we define by code what processes / containers run in staging and production.

@namangupta01 We'll appreciate your help in defining the command that needs to be run - similar to how it was done for Sidekiq (see docker-compose files)

Thanks in advance!

@jywarren
Copy link
Member

I believe the command is ruby script/mailman_server -- right?

Hi @icarito can you show an example of how it should be formatted? Would it look like this, but instead of web we'd call it mailman?

web:
build: ..
command: /bin/bash -c "sleep 5 && /usr/local/bundle/bin/passenger start -p 4000"

@jywarren
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants