provisioning tool for building opinionated architecture
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
288 B

8 months ago
  1. #!/bin/bash
  2. username=postmaster@mangue-et-solidaire.re
  3. password=
  4. base64=$(echo -ne "\0$username\0$password" | base64)
  5. openssl s_client -starttls smtp -connect mail1.zourit.net:587 -ign_eof <<EOF | grep "Authentication successful"
  6. ehlo mangue-et-solidaire.re
  7. auth plain $base64
  8. quit
  9. EOF