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

Add postfix to dependency for email sending #91

Open
lieryan opened this issue Mar 5, 2015 · 3 comments
Open

Add postfix to dependency for email sending #91

lieryan opened this issue Mar 5, 2015 · 3 comments

Comments

@lieryan
Copy link

lieryan commented Mar 5, 2015

After cookbook install, Gitlab cannot send emails (e.g. for new account creation, etc). Adding dependency to postfix would fix that.

@atomic-penguin
Copy link
Owner

Its necessary to have an LSB compatible MTA with a sendmail command for e-mail alerts from the application. It is not necessary that MTA be postfix.

@lieryan
Copy link
Author

lieryan commented Mar 6, 2015

That's true. But is there any reason the cookbook shouldn't install a default MTA if one isn't already provisioned in the machine (like how currently the cookbook installs MySQL if neither gitlab::mysql nor gitlab::postgres specified in the runlist)?

At the very least, I think it should be documented in the README that the user also need to either add an LSB-compatible MTA cookbook or add their own recipe to configure initializers/smtp_settings.rb to get email working. Since many important functionalities of Gitlab requires email, having it work straight from the oven would be nice.

@atomic-penguin
Copy link
Owner

The mysql issue was not our design decision. It was more of a quick reaction to the removal of mysql::server recipe in the Chef maintained mysql cookbook. Most likely will adopt an omnibus-gitlab installation and just drop mysql support in the 8.0 release of the cookbook as postgres will be included in the omnibus package.

I agree there needs to be an smtp_settings template to configure an SMTP connector.

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

No branches or pull requests

2 participants