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
Add description to command
e03136bf
data/Dockerfiles/postfix/postfix.sh | 3 +++
1 file changed, 3 insertions(+)
Diff
diff --git a/data/Dockerfiles/postfix/postfix.sh b/data/Dockerfiles/postfix/postfix.sh
index f2ba03e4..640538b0 100755
--- a/data/Dockerfiles/postfix/postfix.sh
+++ b/data/Dockerfiles/postfix/postfix.sh
@@ -101,7 +101,10 @@ chown -R 600:600 /var/lib/zeyple/keys
chgrp -R postdrop /var/spool/postfix/public
chgrp -R postdrop /var/spool/postfix/maildrop
postfix set-permissions
+
+# Check Postfix configuration
postconf -c /opt/postfix/conf
+
if [[ $? != 0 ]]; then
echo "Postfix configuration error, refusing to start."
exit 1