error codes fixed

This commit is contained in:
Christoph Haas 2025-12-17 17:29:25 +01:00
parent a9cc36e8bb
commit 81e6f102b0

View file

@ -517,7 +517,7 @@ EOF
--auth-password summersun \ --auth-password summersun \
--silent 3 --silent 3
if [[ $? -ne 24 ]]; then if [[ $? -ne 0 ]]; then
echo "❌ Relaying of proper email failed." echo "❌ Relaying of proper email failed."
exit 10 exit 10
fi fi
@ -560,7 +560,7 @@ EOF
--auth-user john@example.org \ --auth-user john@example.org \
--auth-password summersun \ --auth-password summersun \
--silent 3 --silent 3
if [[ $? -ne 24 ]]; then if [[ $? -ne 0 ]]; then
echo "❌ Relaying over submission with STARTTLS and auth failed." echo "❌ Relaying over submission with STARTTLS and auth failed."
exit 10 exit 10
fi fi
@ -576,7 +576,7 @@ EOF
--auth-user john@example.org \ --auth-user john@example.org \
--auth-password summersun \ --auth-password summersun \
--silent 3 --silent 3
if [[ $? -ne 24 ]]; then if [[ $? -ne 0 ]]; then
echo "❌ Relaying over submissions with STARTTLS and auth failed." echo "❌ Relaying over submissions with STARTTLS and auth failed."
exit 10 exit 10
fi fi