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

Make sending email work #12

Closed
wvengen opened this issue Sep 9, 2017 · 10 comments
Closed

Make sending email work #12

wvengen opened this issue Sep 9, 2017 · 10 comments
Assignees

Comments

@wvengen
Copy link
Member

@wvengen wvengen commented Sep 9, 2017

Foodsoft sends mail messages, so we need a way to send them properly.
Add an email server docker instance that acts as a relay for Foodsoft. This email server can then either forward it to an upstream server, or just deliver it by itself (in which case we'll need to setup some anti-spam measures like SPF and such).
It would be useful to keep #2 in mind, where we'll also need to route incoming mail (see also links there).
Multiple domains as well as wildcard email addresses (but not catch-all, I guess) will be necessary.

@kidhab

This comment has been minimized.

Copy link

@kidhab kidhab commented Sep 29, 2017

I'm not familar with docker right now but I like to setup postfix. So I self assign me to this task.

@wvengen

This comment has been minimized.

Copy link
Member Author

@wvengen wvengen commented Oct 4, 2017

There's a good starting point in 561cd12 (PR #17) (albeit with a lot more than this issue is strictly about). Hope this helps to get started.

@wvengen

This comment has been minimized.

Copy link
Member Author

@wvengen wvengen commented Nov 4, 2017

Is this getting anywhere?
As a first step, we could set the smtp server details in env variables in the Rails apps. But in the end I'd prefer to have a front-end postfix who does the routing.

@wvengen

This comment has been minimized.

Copy link
Member Author

@wvengen wvengen commented Nov 4, 2017

We can use Sense.Lab's SMTP, for details see mailing list post.

@wvengen

This comment has been minimized.

Copy link
Member Author

@wvengen wvengen commented Nov 24, 2017

It would still be nice to have postfix in between. Is someone working on that, or shall we close the issue and leave it for #2?

@wvengen

This comment has been minimized.

Copy link
Member Author

@wvengen wvengen commented Feb 27, 2018

Let's leave adding postfix for #2 then.

@wvengen wvengen closed this Feb 27, 2018
@wvengen

This comment has been minimized.

Copy link
Member Author

@wvengen wvengen commented Mar 2, 2018

@kidhab

This comment has been minimized.

Copy link

@kidhab kidhab commented Mar 3, 2018

@wvengen

This comment has been minimized.

Copy link
Member Author

@wvengen wvengen commented Mar 5, 2018

Thanks, that's great! 👍

@kidhab

This comment has been minimized.

Copy link

@kidhab kidhab commented Mar 13, 2018

I discoverd another limit of the postfix server (Recipient address rejected: Rate limit reach, retry later ) - if a specified number of mails per day were exceeded postfix refused to deliver new mails.

I exluded the foodsoft server's IP address from this limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.