public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Commit
[Postfix] Don't try to authenticate to relayhosts without username, fixes #725
8d56534e
data/Dockerfiles/postfix/postfix.sh | 3 ++-
docker-compose.yml | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
Diff
diff --git a/data/Dockerfiles/postfix/postfix.sh b/data/Dockerfiles/postfix/postfix.sh
index 43dff40d..c152606d 100755
--- a/data/Dockerfiles/postfix/postfix.sh
+++ b/data/Dockerfiles/postfix/postfix.sh
@@ -86,7 +86,8 @@ query = SELECT CONCAT_WS(':', username, password) AS auth_data FROM relayhosts
OR '%s' IN (
SELECT CONCAT('@', alias_domain) FROM alias_domain
)
- );
+ )
+ AND username != '';
EOF
cat <<EOF > /opt/postfix/conf/sql/mysql_virtual_alias_domain_catchall_maps.cf
diff --git a/docker-compose.yml b/docker-compose.yml
index 1227d10b..a58eb142 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -181,7 +181,7 @@ services:
- dovecot
postfix-mailcow:
- image: mailcow/postfix:1.9
+ image: mailcow/postfix:1.10
build: ./data/Dockerfiles/postfix
volumes:
- ./data/conf/postfix:/opt/postfix/conf