0.0.0.0
or ::
-
+
+ value="192.168.203.0/24">
You server will be available under a main hostname but may expose multiple public
diff --git a/setup/templates/steps/stack/03_expose.html b/setup/templates/steps/stack/03_expose.html
index d47390be..820ff154 100644
--- a/setup/templates/steps/stack/03_expose.html
+++ b/setup/templates/steps/stack/03_expose.html
@@ -11,9 +11,9 @@ you expose it to the world.
-
+
+ value="192.168.203.0/24">
You server will be available under a main hostname but may expose multiple public
diff --git a/tests/compose/core/docker-compose.yml b/tests/compose/core/docker-compose.yml
index 397000a6..a7c803b7 100644
--- a/tests/compose/core/docker-compose.yml
+++ b/tests/compose/core/docker-compose.yml
@@ -78,3 +78,12 @@ services:
# Webmail
+
+
+networks:
+ default:
+ driver: bridge
+ ipam:
+ driver: default
+ config:
+ - subnet: 192.168.203.0/24
diff --git a/tests/compose/core/mailu.env b/tests/compose/core/mailu.env
index 9a744e35..d77f3a2d 100644
--- a/tests/compose/core/mailu.env
+++ b/tests/compose/core/mailu.env
@@ -25,6 +25,9 @@ SECRET_KEY=HGZCYGVI6FVG31HS
# PUBLIC_IPV4= 127.0.0.1 (default: 127.0.0.1)
# PUBLIC_IPV6= (default: ::1)
+# Subnet of the docker network. This should not conflict with any networks to which your system is connected. (Internal and external!)
+SUBNET=192.168.203.0/24
+
# Main mail domain
DOMAIN=mailu.io
@@ -70,9 +73,9 @@ ANTISPAM=none
# Default: accept messages up to 50MB
MESSAGE_SIZE_LIMIT=50000000
-# Networks granted relay permissions, make sure that you include your Docker
-# internal network (default to 172.17.0.0/16)
-RELAYNETS=172.17.0.0/16
+# Networks granted relay permissions
+# Use this with care, all hosts in this networks will be able to send mail without authentication!
+RELAYNETS=
# Will relay all outgoing mails if configured
RELAYHOST=
@@ -136,4 +139,4 @@ REAL_IP_HEADER=
REAL_IP_FROM=
# choose wether mailu bounces (no) or rejects (yes) mail when recipient is unknown (value: yes, no)
-REJECT_UNLISTED_RECIPIENT=
\ No newline at end of file
+REJECT_UNLISTED_RECIPIENT=
diff --git a/tests/compose/fetchmail/docker-compose.yml b/tests/compose/fetchmail/docker-compose.yml
index 6b1be40e..505fe21b 100644
--- a/tests/compose/fetchmail/docker-compose.yml
+++ b/tests/compose/fetchmail/docker-compose.yml
@@ -82,3 +82,12 @@ services:
env_file: mailu.env
# Webmail
+
+
+networks:
+ default:
+ driver: bridge
+ ipam:
+ driver: default
+ config:
+ - subnet: 192.168.203.0/24
diff --git a/tests/compose/fetchmail/mailu.env b/tests/compose/fetchmail/mailu.env
index a987c853..c91a6deb 100644
--- a/tests/compose/fetchmail/mailu.env
+++ b/tests/compose/fetchmail/mailu.env
@@ -25,6 +25,9 @@ SECRET_KEY=JS48Q9KE3B6T97E6
# PUBLIC_IPV4= 127.0.0.1 (default: 127.0.0.1)
# PUBLIC_IPV6= (default: ::1)
+# Subnet of the docker network. This should not conflict with any networks to which your system is connected. (Internal and external!)
+SUBNET=192.168.203.0/24
+
# Main mail domain
DOMAIN=mailu.io
@@ -70,9 +73,9 @@ ANTISPAM=none
# Default: accept messages up to 50MB
MESSAGE_SIZE_LIMIT=50000000
-# Networks granted relay permissions, make sure that you include your Docker
-# internal network (default to 172.17.0.0/16)
-RELAYNETS=172.17.0.0/16
+# Networks granted relay permissions
+# Use this with care, all hosts in this networks will be able to send mail without authentication!
+RELAYNETS=
# Will relay all outgoing mails if configured
RELAYHOST=
@@ -136,4 +139,4 @@ REAL_IP_HEADER=
REAL_IP_FROM=
# choose wether mailu bounces (no) or rejects (yes) mail when recipient is unknown (value: yes, no)
-REJECT_UNLISTED_RECIPIENT=
\ No newline at end of file
+REJECT_UNLISTED_RECIPIENT=
diff --git a/tests/compose/filters/docker-compose.yml b/tests/compose/filters/docker-compose.yml
index 4fbda49a..463a4384 100644
--- a/tests/compose/filters/docker-compose.yml
+++ b/tests/compose/filters/docker-compose.yml
@@ -84,3 +84,12 @@ services:
# Webmail
+
+
+networks:
+ default:
+ driver: bridge
+ ipam:
+ driver: default
+ config:
+ - subnet: 192.168.203.0/24
diff --git a/tests/compose/filters/mailu.env b/tests/compose/filters/mailu.env
index 8609a287..25c7c133 100644
--- a/tests/compose/filters/mailu.env
+++ b/tests/compose/filters/mailu.env
@@ -25,6 +25,9 @@ SECRET_KEY=11H6XURLGE7GW3U1
# PUBLIC_IPV4= 127.0.0.1 (default: 127.0.0.1)
# PUBLIC_IPV6= (default: ::1)
+# Subnet of the docker network. This should not conflict with any networks to which your system is connected. (Internal and external!)
+SUBNET=192.168.203.0/24
+
# Main mail domain
DOMAIN=mailu.io
@@ -70,9 +73,9 @@ ANTISPAM=none
# Default: accept messages up to 50MB
MESSAGE_SIZE_LIMIT=50000000
-# Networks granted relay permissions, make sure that you include your Docker
-# internal network (default to 172.17.0.0/16)
-RELAYNETS=172.17.0.0/16
+# Networks granted relay permissions
+# Use this with care, all hosts in this networks will be able to send mail without authentication!
+RELAYNETS=
# Will relay all outgoing mails if configured
RELAYHOST=
@@ -136,4 +139,4 @@ REAL_IP_HEADER=
REAL_IP_FROM=
# choose wether mailu bounces (no) or rejects (yes) mail when recipient is unknown (value: yes, no)
-REJECT_UNLISTED_RECIPIENT=
\ No newline at end of file
+REJECT_UNLISTED_RECIPIENT=
diff --git a/tests/compose/rainloop/docker-compose.yml b/tests/compose/rainloop/docker-compose.yml
index c91a92ed..e7cd577c 100644
--- a/tests/compose/rainloop/docker-compose.yml
+++ b/tests/compose/rainloop/docker-compose.yml
@@ -86,3 +86,12 @@ services:
- "/mailu/webmail:/data"
depends_on:
- imap
+
+
+networks:
+ default:
+ driver: bridge
+ ipam:
+ driver: default
+ config:
+ - subnet: 192.168.203.0/24
diff --git a/tests/compose/rainloop/mailu.env b/tests/compose/rainloop/mailu.env
index 678ea048..65fef5c8 100644
--- a/tests/compose/rainloop/mailu.env
+++ b/tests/compose/rainloop/mailu.env
@@ -25,6 +25,9 @@ SECRET_KEY=V5J4SHRYVW9PZIQU
# PUBLIC_IPV4= 127.0.0.1 (default: 127.0.0.1)
# PUBLIC_IPV6= (default: ::1)
+# Subnet of the docker network. This should not conflict with any networks to which your system is connected. (Internal and external!)
+SUBNET=192.168.203.0/24
+
# Main mail domain
DOMAIN=mailu.io
@@ -70,9 +73,9 @@ ANTISPAM=none
# Default: accept messages up to 50MB
MESSAGE_SIZE_LIMIT=50000000
-# Networks granted relay permissions, make sure that you include your Docker
-# internal network (default to 172.17.0.0/16)
-RELAYNETS=172.17.0.0/16
+# Networks granted relay permissions
+# Use this with care, all hosts in this networks will be able to send mail without authentication!
+RELAYNETS=
# Will relay all outgoing mails if configured
RELAYHOST=
@@ -136,4 +139,4 @@ REAL_IP_HEADER=
REAL_IP_FROM=
# choose wether mailu bounces (no) or rejects (yes) mail when recipient is unknown (value: yes, no)
-REJECT_UNLISTED_RECIPIENT=
\ No newline at end of file
+REJECT_UNLISTED_RECIPIENT=
diff --git a/tests/compose/roundcube/docker-compose.yml b/tests/compose/roundcube/docker-compose.yml
index 567c1c69..8c34a68b 100644
--- a/tests/compose/roundcube/docker-compose.yml
+++ b/tests/compose/roundcube/docker-compose.yml
@@ -86,3 +86,12 @@ services:
- "/mailu/webmail:/data"
depends_on:
- imap
+
+
+networks:
+ default:
+ driver: bridge
+ ipam:
+ driver: default
+ config:
+ - subnet: 192.168.203.0/24
diff --git a/tests/compose/roundcube/mailu.env b/tests/compose/roundcube/mailu.env
index b8a8b266..cadaa84a 100644
--- a/tests/compose/roundcube/mailu.env
+++ b/tests/compose/roundcube/mailu.env
@@ -25,6 +25,9 @@ SECRET_KEY=PGGO2JRQ59QV3DW7
# PUBLIC_IPV4= 127.0.0.1 (default: 127.0.0.1)
# PUBLIC_IPV6= (default: ::1)
+# Subnet of the docker network. This should not conflict with any networks to which your system is connected. (Internal and external!)
+SUBNET=192.168.203.0/24
+
# Main mail domain
DOMAIN=mailu.io
@@ -70,9 +73,9 @@ ANTISPAM=none
# Default: accept messages up to 50MB
MESSAGE_SIZE_LIMIT=50000000
-# Networks granted relay permissions, make sure that you include your Docker
-# internal network (default to 172.17.0.0/16)
-RELAYNETS=172.17.0.0/16
+# Networks granted relay permissions
+# Use this with care, all hosts in this networks will be able to send mail without authentication!
+RELAYNETS=
# Will relay all outgoing mails if configured
RELAYHOST=
@@ -136,4 +139,4 @@ REAL_IP_HEADER=
REAL_IP_FROM=
# choose wether mailu bounces (no) or rejects (yes) mail when recipient is unknown (value: yes, no)
-REJECT_UNLISTED_RECIPIENT=
\ No newline at end of file
+REJECT_UNLISTED_RECIPIENT=
diff --git a/tests/compose/webdav/docker-compose.yml b/tests/compose/webdav/docker-compose.yml
index 8e0db6e3..e0d5f385 100644
--- a/tests/compose/webdav/docker-compose.yml
+++ b/tests/compose/webdav/docker-compose.yml
@@ -84,3 +84,12 @@ services:
# Webmail
+
+
+networks:
+ default:
+ driver: bridge
+ ipam:
+ driver: default
+ config:
+ - subnet: 192.168.203.0/24
diff --git a/tests/compose/webdav/mailu.env b/tests/compose/webdav/mailu.env
index 21dd3981..7141bf1f 100644
--- a/tests/compose/webdav/mailu.env
+++ b/tests/compose/webdav/mailu.env
@@ -25,6 +25,9 @@ SECRET_KEY=XVDDSWOAGVF5J9QJ
# PUBLIC_IPV4= 127.0.0.1 (default: 127.0.0.1)
# PUBLIC_IPV6= (default: ::1)
+# Subnet of the docker network. This should not conflict with any networks to which your system is connected. (Internal and external!)
+SUBNET=192.168.203.0/24
+
# Main mail domain
DOMAIN=mailu.io
@@ -70,9 +73,9 @@ ANTISPAM=none
# Default: accept messages up to 50MB
MESSAGE_SIZE_LIMIT=50000000
-# Networks granted relay permissions, make sure that you include your Docker
-# internal network (default to 172.17.0.0/16)
-RELAYNETS=172.17.0.0/16
+# Networks granted relay permissions
+# Use this with care, all hosts in this networks will be able to send mail without authentication!
+RELAYNETS=
# Will relay all outgoing mails if configured
RELAYHOST=
@@ -136,4 +139,4 @@ REAL_IP_HEADER=
REAL_IP_FROM=
# choose wether mailu bounces (no) or rejects (yes) mail when recipient is unknown (value: yes, no)
-REJECT_UNLISTED_RECIPIENT=
\ No newline at end of file
+REJECT_UNLISTED_RECIPIENT=