mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 17:06:01 +03:00
[GH-ISSUE #2028] Replace 127.0.0.1 by localhost by default for policyd #1506
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#1506
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AmazingBeu on GitHub (Oct 5, 2020).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/2028
By default, the policyd daemon listen on the 127.0.0.1 . Use "--host localhost" make the daemon listen on "127.0.0.1" and "::1".
It's not important, but can generate bugs in specific cases.
@tonioo commented on GitHub (Oct 21, 2020):
@AmazingBeu Do you suggest I modify the default host to localhost?
@AmazingBeu commented on GitHub (Oct 21, 2020):
@tonioo Yes, in policyd and postfix.
But I thought of something else but it's more complicated. Maybe it could be nice to use unix sockets instead of the default tcp/ip sockets in Modoboa, for policyd and all other modules. All the software used seems to support this feature, but I'm not sure Modoboa allows you to define a unix socket for Webmail configuration for example.
@tonioo commented on GitHub (Oct 21, 2020):
@AmazingBeu The webmail communicates using SMTP and IMAP protocols. I'm not sure postfix or dovecot support this...
About the policy daemon, it could be possible I guess but it's another story :)
@AmazingBeu commented on GitHub (Oct 21, 2020):
@tonioo from what i found: postfix, dovecot, amavis, opendkim, opendmarc and redis support unix socket.
@tonioo commented on GitHub (Oct 21, 2020):
@AmazingBeu Can you please add a link for dovecot?
@AmazingBeu commented on GitHub (Oct 21, 2020):
@tonioo According to the doc, you have to replace the "inet_listener" by "unix_listener" with the right options :
https://doc.dovecot.org/configuration_manual/service_configuration/?highlight=unix_listeners
@tonioo commented on GitHub (Oct 23, 2020):
@AmazingBeu I'll close this issue since I modified the default values for policyd. I suggest you open a new issue about unix sockets.