-
Notifications
You must be signed in to change notification settings - Fork 10
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
base: master
Are you sure you want to change the base?
Conversation
files/postfix/userdb-aliases.cf
Outdated
@@ -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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need magic?
There was a problem hiding this comment.
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)
This should be ready to go now that hashbang/docker-postfix#14 is merged? |
actually do we have something in hashbang/userdb to make the |
no, I created it manually last night |
We'll need something in hashbang/userdb in general to make new roles as I believe hashbang/userdb#41 also needs a role. |
we should also add a |
mail seems to be working as expected, this is all deployed |
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. |
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 |
addresses #158