Skip to content

Commit

Permalink
global: Remove inet_listener_address it is now provided by global lis…
Browse files Browse the repository at this point in the history
…ten setting
  • Loading branch information
vmo69 authored and cmouse committed Feb 19, 2024
1 parent 0649b00 commit 2398b9e
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ user-context.

service imap-login {
inet_listener imap {
address = 1.2.3.4
listen = 1.2.3.4
port = 143
}
inet_listener imaps {
Expand Down
2 changes: 1 addition & 1 deletion source/configuration_manual/protocols/lmtp_server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ You can configure LMTP to be listening on TCP or UNIX sockets:
service lmtp {
inet_listener lmtp {
address = 192.168.0.24 127.0.0.1 ::1
listen = 192.168.0.24 127.0.0.1 ::1
port = 24
}
Expand Down
6 changes: 0 additions & 6 deletions source/configuration_manual/service_configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -302,12 +302,6 @@ Settings
to distinguish different listener types that one service may employ.


.. dovecot_core:setting:: inet_listener_address
:values: @ip_addresses

Overrides the :dovecot_core:ref:`listen` setting for this listener.


.. dovecot_core:setting:: inet_listener_port
:default: 0
:values: !<0-65535>
Expand Down
25 changes: 25 additions & 0 deletions source/settings/core.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1460,6 +1460,31 @@ See :ref:`settings` for list of all setting groups.
listen = 127.0.0.1 192.168.0.1
The listen setting can be overridden for :dovecot_core:ref:`inet_listener` like this:

.. code-block:: none
service lmtp {
inet_listener lmtp {
listen = 192.168.0.25 192.168.0.33
}
}
It is also possible to extend the list of IP addresses configured globally
inside the :dovecot_core:ref:`inet_listener`:

.. code-block:: none
service imap-login {
inet_listener imap {
listen {
192.168.0.99 = yes
}
}
}
.. dovecot_core:setting:: lmtp_add_received_header
:added: 2.3.9
:default: yes
Expand Down

0 comments on commit 2398b9e

Please sign in to comment.