policyd: Replaced 127.0.0.1 by localhost.

see #2028
This commit is contained in:
Antoine Nguyen
2020-10-21 19:22:35 +02:00
parent a40d46db94
commit 01891b85fd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ content to the :file:`/etc/postfix/main.cf` file::
smtpd_recipient_restrictions =
# ...
check_policy_service inet:127.0.0.1:9999
check_policy_service inet:localhost:9999
# ...
And reload postfix.
@@ -25,7 +25,7 @@ class Command(BaseCommand):
def add_arguments(self, parser):
"""Add command line arguments."""
parser.add_argument("--host", type=str, default="127.0.0.1")
parser.add_argument("--host", type=str, default="localhost")
parser.add_argument("--port", type=int, default=9999)
parser.add_argument("--debug", action="store_true",
help="Enable debug mode")