This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Upgraded from Windows 7 to Windows 10: now email doesn't work

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"
>>> 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 []:
>>> Please enter your Reply-to: email address []:
>>> Enter 1 to use sendmail or 2 to use a SMTP server [2]:
>>> Please enter the address of your SMTP server []:
>>> 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 []:
>>> 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:

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
| 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:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]