Fails for me but mine is old 2.12.23 or so. gnutls-cli --starttls mail.smart-cactus.org -p 587 -V -d 15 < /dev/null Try the gnutls-cli-debug* utils. Check the system update log and/or try compile by hand.