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

support userdb for mail alias lookup #163

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

support userdb for mail alias lookup #163

wants to merge 5 commits into from

Conversation

benharri
Copy link
Member

@benharri benharri commented Dec 17, 2019

addresses #158

@@ -0,0 +1,6 @@
hosts = postgresql://userdb-attempt-too-do-user-989073-0.db.ondigitalocean.com:25060/userdb?sslmode=require
user = mail
password = userdb-mail-lookup
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need magic?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it needs:

  • a user that can read name and host from passwd (already created)
  • the postfix-pgsql package installed (which should be handled in docker-postfix#14)

@RyanSquared
Copy link
Member

This should be ready to go now that hashbang/docker-postfix#14 is merged?

@RyanSquared
Copy link
Member

actually do we have something in hashbang/userdb to make the mail role because if not we should go make that a thing as well

@benharri
Copy link
Member Author

no, I created it manually last night

@RyanSquared
Copy link
Member

We'll need something in hashbang/userdb in general to make new roles as I believe hashbang/userdb#41 also needs a role.

@RyanSquared
Copy link
Member

we should also add a domain key so it only accepts mail for hashbang.sh or per-deployment master domains.

@benharri
Copy link
Member Author

mail seems to be working as expected, this is all deployed

@RyanSquared
Copy link
Member

i know it's stuff that we didn't have before but i'd appreciate if we get the hosts and IPs stored in Ansible so we can add new shell servers easier.

@benharri
Copy link
Member Author

we have addresses in the hosts file: https://github.com/hashbang/admin-tools/pull/163/files#diff-85cf4e6d42a71e693fd780c8b29accddR3 and I created #165 to handle generating configs from that

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 this pull request may close these issues.

3 participants