public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Upgraded from Windows 7 to Windows 10: now email doesn't work
       [not found] <5da6957b-0078-6303-973b-c055cb1296c8.ref@yahoo.com>
@ 2019-11-28 15:08 ` P via cygwin
  2019-11-28 15:15   ` Eliot Moss
  2019-11-29  7:51   ` P via cygwin
  0 siblings, 2 replies; 5+ messages in thread
From: P via cygwin @ 2019-11-28 15:08 UTC (permalink / raw)
  To: cygwin

After upgrading to Windows 10, Cygwin smtp email doesn't work.

Get the error:
> $ echo "this is a test"|email -s "test" pellmd@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 [xxxxxx@yahoo.com]:
> Please enter your Reply-to: email address [xxxxxx@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 [xxxxxx@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?

Thanks,
Mike


--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Upgraded from Windows 7 to Windows 10: now email doesn't work
  2019-11-28 15:08 ` Upgraded from Windows 7 to Windows 10: now email doesn't work P via cygwin
@ 2019-11-28 15:15   ` Eliot Moss
  2019-11-28 19:53     ` Brian Inglis
  2019-11-29  7:51   ` P via cygwin
  1 sibling, 1 reply; 5+ messages in thread
From: Eliot Moss @ 2019-11-28 15:15 UTC (permalink / raw)
  To: cygwin

On 11/28/2019 8:01 AM, P 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" pellmd@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 [xxxxxx@yahoo.com]:
>> Please enter your Reply-to: email address [xxxxxx@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 [xxxxxx@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.)

Regards - Eliot Moss

--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Upgraded from Windows 7 to Windows 10: now email doesn't work
  2019-11-28 15:15   ` Eliot Moss
@ 2019-11-28 19:53     ` Brian Inglis
  0 siblings, 0 replies; 5+ messages in thread
From: Brian Inglis @ 2019-11-28 19:53 UTC (permalink / raw)
  To: cygwin

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" pellmd@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 [xxxxxx@yahoo.com]:
>>> Please enter your Reply-to: email address [xxxxxx@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 [xxxxxx@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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Upgraded from Windows 7 to Windows 10: now email doesn't work
  2019-11-28 15:08 ` Upgraded from Windows 7 to Windows 10: now email doesn't work P via cygwin
  2019-11-28 15:15   ` Eliot Moss
@ 2019-11-29  7:51   ` P via cygwin
  2019-11-29  7:53     ` Eliot Moss
  1 sibling, 1 reply; 5+ messages in thread
From: P via cygwin @ 2019-11-29  7:51 UTC (permalink / raw)
  To: cygwin

Additional update after experimenting:
email is working using smtp.office365.com:25 for outlook and smtp.gmail.com:587 for gmail.
Yahoo email no longer works for me.

FYI,
Mike


--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Upgraded from Windows 7 to Windows 10: now email doesn't work
  2019-11-29  7:51   ` P via cygwin
@ 2019-11-29  7:53     ` Eliot Moss
  0 siblings, 0 replies; 5+ messages in thread
From: Eliot Moss @ 2019-11-29  7:53 UTC (permalink / raw)
  To: cygwin

On 11/28/2019 6:53 PM, P via cygwin wrote:
> Additional update after experimenting:
> email is working using smtp.office365.com:25 for outlook and smtp.gmail.com:587 for gmail.
> Yahoo email no longer works for me.

Again, a firewall related to port 465 would explain this,
so I still feel that;s worth checking. It could certainly
be something else, but may as well rule this out.

Best - EM

--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-11-29  2:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <5da6957b-0078-6303-973b-c055cb1296c8.ref@yahoo.com>
2019-11-28 15:08 ` Upgraded from Windows 7 to Windows 10: now email doesn't work P via cygwin
2019-11-28 15:15   ` Eliot Moss
2019-11-28 19:53     ` Brian Inglis
2019-11-29  7:51   ` P via cygwin
2019-11-29  7:53     ` Eliot Moss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).