Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

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 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.

@wvengen wvengen added this to the Initial launch milestone Sep 9, 2017
@kidhab
Copy link

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
Copy link
Member Author

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
Copy link
Member Author

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
Copy link
Member Author

wvengen commented Nov 4, 2017

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

@wvengen
Copy link
Member Author

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
Copy link
Member Author

wvengen commented Feb 27, 2018

Let's leave adding postfix for #2 then.

@wvengen wvengen closed this as completed Feb 27, 2018
@wvengen
Copy link
Member Author

wvengen commented Mar 2, 2018

We're having too many TLS connections- http://foodsoft.51229.x6.nabble.com/email-problems-tp1674.html

@kidhab
Copy link

kidhab commented Mar 3, 2018 via email

@wvengen
Copy link
Member Author

wvengen commented Mar 5, 2018

Thanks, that's great! 👍

@kidhab
Copy link

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants