From 81e6f102b02b9076e24ad9933049e10555f5f704 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Wed, 17 Dec 2025 17:29:25 +0100 Subject: [PATCH] error codes fixed --- public/ispmail.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/ispmail.sh b/public/ispmail.sh index 42433b0..ee9eeee 100755 --- a/public/ispmail.sh +++ b/public/ispmail.sh @@ -517,7 +517,7 @@ EOF --auth-password summersun \ --silent 3 - if [[ $? -ne 24 ]]; then + if [[ $? -ne 0 ]]; then echo "❌ Relaying of proper email failed." exit 10 fi @@ -560,7 +560,7 @@ EOF --auth-user john@example.org \ --auth-password summersun \ --silent 3 - if [[ $? -ne 24 ]]; then + if [[ $? -ne 0 ]]; then echo "❌ Relaying over submission with STARTTLS and auth failed." exit 10 fi @@ -576,7 +576,7 @@ EOF --auth-user john@example.org \ --auth-password summersun \ --silent 3 - if [[ $? -ne 24 ]]; then + if [[ $? -ne 0 ]]; then echo "❌ Relaying over submissions with STARTTLS and auth failed." exit 10 fi