Dear Nicholas,
Thanks for your outreach.
Here are some helpful links:
Let me know if you need anything else. We will also share updated materials in a few weeks.
Best regards,
Seda
From: Nicolas Fiumarelli <nicocamarao@gmail.com>
Date: 12 February 2025 Wednesday at 21:11
To: Seda Akbulut <seda.akbulut@icann.org>
Cc: "ua-eai@icann.org" <ua-eai@icann.org>
Subject: [Ext] Re: [UA-EAI] Re: Next EAI WG meeting
Dear all, Dear Seda,
Apologies for the off-topic message, but I would appreciate your guidance on finding available UA-related code (preferably in Python) for checking IDNs and EAI.
We are organizing UA Day in Montevideo, Uruguay again this year, and I want to enhance our measurement approach.
Last year, I used a script to check email addresses by retrieving MX records, performing a telnet connection, and verifying compliance—this served as one measurement test for the participants and other entities in the country.
e-mail addresses to check their servers.
I think we can compare results year-over-year to track progress in EAI adoption.
I’d love your insights on:
1. Additional probes we could use to assess participants' UA readiness.
2. Your thoughts on last year’s code—are there more UA or advanced resources available for measurement?
Here is the script we used for measurement:
#!/bin/bash
# UA Measurement Script by Nicolas
total_mx_count=0
total_mx_support=0
check_esmtputf8() {
local domain=$1
mx_records=$(dig +short MX "$domain" | awk '{print $2}')
for mx in $mx_records; do
((total_mx_count++))
response=$( (sleep 2; echo "EHLO test"; sleep 2; echo "QUIT") | telnet "$mx" 25 2>/dev/null)
if echo "$response" | grep -qE "250[ -]SMTPUTF8"; then
((total_mx_support++))
fi
done
}
email_list="nico@bbva.com.uy,nico@fing.edu.uy" # List of e-mail addresses to check"
IFS=',' read -r -a emails <<< "$email_list"
for email in "${emails[@]}"; do
domain=$(echo "$email" | awk -F '@' '{print $2}')
check_esmtputf8 "$domain"
done
if [ $total_mx_count -gt 0 ]; then
percentage=$(echo "scale=2; ($total_mx_support / $total_mx_count) * 100" | bc)
echo "Percentage of MX servers supporting SMTPUTF8: $percentage%"
else
echo "No MX servers found."
fi
```
Looking forward to your input!
Best regards,
Nicolás