Files
husk-milter/e2e-tests/tests/21_simple_not_encrypt.sh
T
Malte Meiboom 1f8d7e9a3f Add test framework to test
- Mail encryption (when expected)
- Introducer listing, adding and removing
- Locals listing, adding and removing
2026-05-20 14:27:28 +02:00

17 lines
334 B
Bash

#!/usr/bin/bash
# source some functions
. common.sh
test_header "Simple: Test encryption for unavailable certificate"
# There is no authenticated certificate for alice in the cert store
create_unix_user alice
send_test_mail alice@example.com
RESULT_CODE=$(expect_mail alice unencrypted)
delete_unix_user alice
exit $RESULT_CODE