8
0
Fork
You've already forked gitops
0

Add mail #23

Open
daurnimator wants to merge 5 commits from daurnimator/mail into master
pull from: daurnimator/mail
merge into: hashbang-sh:master
hashbang-sh:master
hashbang-sh:renovate/redis-7.x
hashbang-sh:renovate/quay.io-keycloak-keycloak-25.x
hashbang-sh:renovate/postgrest-postgrest-12.x
hashbang-sh:renovate/kiwigrid-k8s-sidecar-1.x
hashbang-sh:renovate/quay.io-argoproj-argocd-2.x
hashbang-sh:renovate/argoproj-argo-cd-2.x
hashbang-sh:renovate/cert-manager-1.x
hashbang-sh:renovate/quay.io-keycloak-keycloak-24.x
hashbang-sh:renovate/ghcr.io-dexidp-dex-2.x
hashbang-sh:renovate/registry.k8s.io-external-dns-external-dns-0.x
hashbang-sh:jitsi
hashbang-sh:argocd/openpgp-signatures
hashbang-sh:drgrove/openpgp-ca
hashbang-sh:ingress-nginx
hashbang-sh:add-lrvick
hashbang-sh:gpg-signed
hashbang-sh:persist-prometheus-timeseries
hashbang-sh:argocd-deploy-gpg-pub-key
hashbang-sh:docs/removing-admins
hashbang-sh:drgrove/loki-logging
hashbang-sh:drGrove/nginx-ingress-helm-stable
hashbang-sh:nginx-ingress-proxy-protocol
hashbang-sh:ingress-is-messed-up
daurnimator commented 2020年06月05日 06:15:23 +02:00 (Migrated from github.com)
Copy link

Hard codes groups for now; they need to be migrated to a userdb data source.

Had to hardcode the userdb IP.... dns lookups are failing with:

Jun 5 05:39:46 mail-67d99dc66b-qfvrv postfix/smtpd[297]: warning: connect to pgsql server postgresql://mail:userdb-mail-lookup@userdb-attempt-too-do-user-989073-0.db.ondigitalocean.com:25060/userdb?sslmode=require: could not translate host name "userdb-attempt-too-do-user-989073-0.db.ondigitalocean.com" to address: System error?
Jun 5 05:39:46 mail-67d99dc66b-qfvrv postfix/smtpd[297]: warning: pgsql:/etc/postfix/userdb-aliases.cf lookup error for "team@hashbang.sh"
Jun 5 05:39:46 mail-67d99dc66b-qfvrv postfix/smtpd[297]: NOQUEUE: reject: RCPT from unknown[123.123.123.123]: 451 4.3.0 <team@hashbang.sh>: Temporary lookup failure; from=<test@test.com> to=<team@hashbang.sh> proto=SMTP helo=<hashbang.sh>

Tested and seems to work... aside from antispam...

Jun 5 05:58:07 mail-966b75b74-m5527 postfix/smtp[158]: 8AF4A34: host aspmx.l.google.com[173.194.69.26] said: 421-4.7.0 [161.35.77.52 15] Our system has detected that this message is 421-4.7.0 suspicious due to the very low reputation of the sending IP address. 421-4.7.0 To protect our users from spam, mail sent from your IP address has 421-4.7.0 been temporarily rate limited.
Please visit 421 4.7.0 https://support.google.com/mail/answer/188131 for more information. w16si2893908ejn.715 - gsmtp (in reply to end of DATA command)
Hard codes groups for now; they need to be migrated to a userdb data source. Had to hardcode the userdb IP.... dns lookups are failing with: > ``` > Jun 5 05:39:46 mail-67d99dc66b-qfvrv postfix/smtpd[297]: warning: connect to pgsql server postgresql://mail:userdb-mail-lookup@userdb-attempt-too-do-user-989073-0.db.ondigitalocean.com:25060/userdb?sslmode=require: could not translate host name "userdb-attempt-too-do-user-989073-0.db.ondigitalocean.com" to address: System error? > Jun 5 05:39:46 mail-67d99dc66b-qfvrv postfix/smtpd[297]: warning: pgsql:/etc/postfix/userdb-aliases.cf lookup error for "team@hashbang.sh" > Jun 5 05:39:46 mail-67d99dc66b-qfvrv postfix/smtpd[297]: NOQUEUE: reject: RCPT from unknown[123.123.123.123]: 451 4.3.0 <team@hashbang.sh>: Temporary lookup failure; from=<test@test.com> to=<team@hashbang.sh> proto=SMTP helo=<hashbang.sh> > ``` Tested and seems to work... aside from antispam... > ``` > Jun 5 05:58:07 mail-966b75b74-m5527 postfix/smtp[158]: 8AF4A34: host aspmx.l.google.com[173.194.69.26] said: 421-4.7.0 [161.35.77.52 15] Our system has detected that this message is 421-4.7.0 suspicious due to the very low reputation of the sending IP address. 421-4.7.0 To protect our users from spam, mail sent from your IP address has 421-4.7.0 been temporarily rate limited. > Please visit 421 4.7.0 https://support.google.com/mail/answer/188131 for more information. w16si2893908ejn.715 - gsmtp (in reply to end of DATA command) > ```
drGrove (Migrated from github.com) approved these changes 2020年06月05日 10:10:25 +02:00
RyanSquared commented 2020年06月06日 04:21:26 +02:00 (Migrated from github.com)
Copy link

Tested and seems to work... aside from antispam...

This will happen for the next year ish, because most popular mail hosts have a ranking system based on the age of the IP to prevent people from just picking up a new host and using mail on it.

I don't know why it happens for DigitalOcean IPs, as if I recall correctly, mail is blocked by default, so we had to open up an issue a very long time ago to get it activated for our account. I guess Google doesn't care.

> Tested and seems to work... aside from antispam... This will happen for the next year ish, because most popular mail hosts have a ranking system based on the age of the IP to prevent people from just picking up a new host and using mail on it. I don't know why it happens for DigitalOcean IPs, as if I recall correctly, mail is blocked by default, so we had to open up an issue a *very* long time ago to get it activated for our account. I guess Google doesn't care.
daurnimator commented 2020年06月08日 07:15:01 +02:00 (Migrated from github.com)
Copy link

aside from antispam...

our SPF records say only accept mail from our MX; need to update it to allow from any k8s node running mail....

> aside from antispam... our SPF records say only accept mail from our MX; need to update it to allow from any k8s node running mail....
This pull request has changes conflicting with the target branch.
  • argocd/kustomization.yaml
  • cert-manager-issuers/prod_issuer.yaml
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin daurnimator/mail:daurnimator/mail
git switch daurnimator/mail

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff daurnimator/mail
git switch daurnimator/mail
git rebase master
git switch master
git merge --ff-only daurnimator/mail
git switch daurnimator/mail
git rebase master
git switch master
git merge --no-ff daurnimator/mail
git switch master
git merge --squash daurnimator/mail
git switch master
git merge --ff-only daurnimator/mail
git switch master
git merge daurnimator/mail
git push origin master
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hashbang-sh/gitops!23
Reference in a new issue
hashbang-sh/gitops
No description provided.
Delete branch "daurnimator/mail"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?