Skip to content

Commit

Permalink
mail.Mailhog: Fix twisted address generation
Browse files Browse the repository at this point in the history
  • Loading branch information
frlan committed Jul 28, 2023
1 parent 728bcb3 commit deb24dd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/batou_ext/mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,8 @@ def configure(self):
self += batou.lib.file.Purge("/etc/local/nginx/mailhog.conf")
self += batou.lib.file.Purge("htdocs")

self.address = batou.utils.Address(self.public_name, self.mailport)
self.address_ui = batou.utils.Address(
self.public_smtp_name, self.uiport
)
self.address = batou.utils.Address(self.public_smtp_name, self.mailport)
self.address_ui = batou.utils.Address(self.public_name, self.uiport)

if self.http_auth_enable:
if self.http_basic_auth is None:
Expand Down

0 comments on commit deb24dd

Please sign in to comment.