Skip to content

Commit

Permalink
Merge pull request #1710 from orhtej2/patch-1
Browse files Browse the repository at this point in the history
Allow system users to send mails from IPv6 localhost.
  • Loading branch information
alexAubin authored Sep 7, 2023
2 parents e1aeacb + 920fe52 commit ec6bf12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3261,7 +3261,7 @@ def regen_mail_app_user_config_for_dovecot_and_postfix(only=None):
if dovecot:
hashed_password = _hash_user_password(settings["mail_pwd"])
dovecot_passwd.append(
f"{app}:{hashed_password}::::::allow_nets=127.0.0.1/24"
f"{app}:{hashed_password}::::::allow_nets=::1,127.0.0.1/24,local"
)
if postfix:
mail_user = settings.get("mail_user", app)
Expand Down

0 comments on commit ec6bf12

Please sign in to comment.