diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2021-09-23 16:12:07 -0400 | 
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2021-09-23 16:12:07 -0400 | 
| commit | a3fc13e5ce54cd8d0e139e338ac75370e26c9184 (patch) | |
| tree | 578cc934c175c2b0cf09cdefd14b451321bf7c90 /bin | |
| parent | 7a792c7c11d315132a062c800b0a35cbccd9195d (diff) | |
465 now default instead of 587
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/mw | 6 | 
1 files changed, 3 insertions, 3 deletions
| @@ -40,7 +40,7 @@ list() { getaccounts && [ -n "$accounts" ] && echo "$accounts" || exit 1 ;}  prepmsmtp() { echo "account $fulladdr  host $smtp -port ${sport:-587} +port ${sport:-465}  from $fulladdr  user $login  passwordeval \"pass $fulladdr\" @@ -48,7 +48,7 @@ auth ${auth:-on}  tls on  tls_trust_file	$sslcert  logfile $msmtplog -$tlsline +${tlsline:-tls_starttls off}  " >> "$msmtprc"  } @@ -193,7 +193,7 @@ askinfo() { \  		read -r imap  	[ -z "$smtp" ] && echo "Give your email server's SMTP address (excluding the port number):" &&  		read -r smtp -	[ "$sport" = 465 ] && tlsline="tls_starttls off" +	[ "$sport" = 587 ] && tlsline="# tls_starttls"  	[ -z "$realname" ] && realname="${fulladdr%%@*}"  	hostname="$(echo "$fulladdr" | cut -d @ -f 2)"  	login="${login:-$fulladdr}" | 
