harald-lang / tutor

Tool used to manage tutors, groups, scores and exams for big database systems classes as TUM.
GNU Affero General Public License v3.0
1 stars 4 forks source link

Separate Mailserver and Webserver #54

Closed lpassing closed 6 years ago

lpassing commented 7 years ago

Docker philosophy is to have just one service per container. There already is an open issue to put the database in a separate container, but we should also separate webserver/mongrel and mailserver/postfix.

lpassing commented 7 years ago

5 Docker: App state is stored within in the same container.

kordianbruck commented 6 years ago

I've started to remove anything related to postfix. We really should use a proper SMTP setup for this instead: https://launchschool.com/blog/handling-emails-in-rails

We should have a smtp account from this, right?

kordianbruck commented 6 years ago

@MaxEmanuel do we even need email services? I've checked in the code and can only find one Mail that sends out a token to a student - do we want to keep this? Is it intented for students to login?

Gmail settings: https://www.siteground.com/kb/google_free_smtp_server/

MaxEmanuel commented 6 years ago

We need email services for emailing students of a group and for "forgot password" - how is it currently handled?

kordianbruck commented 6 years ago

@MaxEmanuel its now possible to use gmail for mailing. I've emailed you the full command, so its easy to get going.

I'm not seeing anything regarding group mailing, but the other things should work now.