Skip to content

Commit

Permalink
Added few more mail servers to tests/test_ca-certs.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
pyllyukko committed Dec 4, 2024
1 parent b4d7697 commit 1d13038
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_ca-certs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ do
cat "/usr/share/ca-certificates/${REPLY}"
done 0<newconfs/ca-certificates.conf.new 1>"${ca_file}"

# HTTPS
for host in \
media.defcon.org \
download.docker.com \
Expand All @@ -31,8 +32,12 @@ do
openssl s_client -connect "${host}":443 -verify_return_error -CAfile "${ca_file}" -showcerts 0</dev/null || exit 1
done

# Mail servers
for host in \
mx01.mail.icloud.com
mx01.mail.icloud.com \
alt4.gmail-smtp-in.l.google.com \
outlook-com.olc.protection.outlook.com \
mta7.am0.yahoodns.net
do
openssl s_client -connect "${host}":25 -starttls smtp -verify_return_error -CAfile "${ca_file}" -showcerts 0</dev/null || exit 1
done
Expand Down

0 comments on commit 1d13038

Please sign in to comment.