Skip to content

Commit

Permalink
fix(bugs): fix smtp haproxy config, allow smtp through lb firewall
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobCoffee committed Jul 25, 2024
1 parent 9667e46 commit f056b30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pillar/base/firewall/loadbalancer.sls
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ firewall:

"buildbot.python.org:worker":
port: 9020

"bugs.python.org:smtp":
port: 20025
2 changes: 1 addition & 1 deletion pillar/base/haproxy.sls
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ haproxy:
- timeout server 86400

{# We can extend this for smtps/submission later #}
{% for (port, service, ssl) in [(25, "smtp", False)] %}
{% for (port, service, ssl) in [(20025, "smtp", False)] %}
roundup-{{ service }}:
bind: :{{ port }} {% if ssl %} ssl crt /etc/ssl/private/bugs.python.org.pem {% endif %}
service: roundup-{{ service }}
Expand Down

0 comments on commit f056b30

Please sign in to comment.