On 2019-11-28 07:48, Eliot Moss wrote: > On 11/28/2019 8:01 AM, Mike via cygwin wrote: >> After upgrading to Windows 10, Cygwin smtp email doesn't work. >> Get the error: >>> $ echo "this is a test"|email -s "test" pel...@yahoo.com >>> email: FATAL: Smtp error: Lost connection with SMTP server >> Here's my config: >>> $ email-config >>> Please enter your From: name (e.g., John Doe) [Mike]: >>> Please enter your From: email address [xxx...@yahoo.com]: >>> Please enter your Reply-to: email address [xxx...@yahoo.com]: >>> Enter 1 to use sendmail or 2 to use a SMTP server [2]: >>> Please enter the address of your SMTP server [smtp.mail.yahoo.com]: >>> Please enter the SMTP port number [25]: 465 # I've tried ports: 587,25,995 >>> as >>> well with no success >>> Please select SMTP authentication (1 for none, 2 for LOGIN, 3 for PLAIN) >>> [1]: >>> 2 # I've tried none, and PLAIN also with no success >>> Please enter your SMTP username [xxx...@yahoo.com]: >>> Please enter your SMTP password [xpaaswordx]: >>> Use TLS (true or false)? [true]: >>> Please check the configuration file /etc/email/email.conf for correctness. >> Any suggestions how to debug or alternative ways to get email working to >> Yahoo?
> Perhaps Windows 10 is being more aggressive about firewalls, etc. That's > a place I would check. (I'm not familiar with the "email" program in > particular, but I see that it's a usual cygwin package, so it should be ok.) Outgoing should not be a problem. Your Yahoo mail settings should be okay: https://help.yahoo.com/kb/pop-access-settings-instructions-yahoo-mail-sln4724.html Test with email -V for verbose output. Your ISP should also offer SMTP access and provide instructions: just change the SMTP server info above. If you have bind-utils installed, you can find your local ISP MX with: $ ipconfig | sed '/Connection.*Suffix.*:\s[^\r]/!d;s/^.*:\s//;s/\r//;s/^[^.]*\.\([^.]*\.[^.]*\)$/\1/' | xargs host | sed '/^[^ ]*\smail\sis\shandled\sby\s[0-9]*\s\([^ ]*\)$/!d;s//\1/' which can also be handy when you have a lap top on WiFi. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple