mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #1710 from orhtej2/patch-1
Allow system users to send mails from IPv6 localhost.
This commit is contained in:
commit
ec6bf12a74
1 changed files with 1 additions and 1 deletions
|
@ -3261,7 +3261,7 @@ def regen_mail_app_user_config_for_dovecot_and_postfix(only=None):
|
||||||
if dovecot:
|
if dovecot:
|
||||||
hashed_password = _hash_user_password(settings["mail_pwd"])
|
hashed_password = _hash_user_password(settings["mail_pwd"])
|
||||||
dovecot_passwd.append(
|
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:
|
if postfix:
|
||||||
mail_user = settings.get("mail_user", app)
|
mail_user = settings.get("mail_user", app)
|
||||||
|
|
Loading…
Add table
Reference in a new issue