Re: Swaks usage.

2020-02-09 Thread peter
From: Celejar 
Date: Sun, 26 Jan 2020 12:07:26 -0500
> Take a look at:
> 
> https://www.hostgator.com/help/article/535-incorrect-authentication-data
> https://stackoverflow.com/questions/14297264/password-not-accepted-from-server-535-incorrect-authentication-data-when-send/44564332#44564332
> https://github.com/PHPMailer/PHPMailer/issues/1074

OK, thanks.  Also found this on the mail server.

 Secure SSL/TLS Settings (Recommended)
Username:   .@.ca
Password:   Use the email account’s password.
Incoming Server:mail.east.ca

IMAP Port: 993 POP3 Port: 995 

Outgoing Server:mail.east.ca

SMTP Port: 465 

IMAP, POP3, and SMTP require authentication.


The -au parameter in the earlier swaks command was wrong.  This succeeds.

peter@dalton:/home/peter$ swaks -a PLAIN,LOGIN -au pe...@east.ca \
-ap  -tlsc --port 465 -s mail.east.ca
=== Trying mail.east.ca:465...
=== Connected to mail.east.ca.
=== TLS started with cipher TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256
=== TLS no local certificate set
=== TLS peer DN="/OU=Domain Control Validated/OU=Hosted by HostGator.com, 
LLC./OU=PositiveSSL Wildcard/CN=*.websitewelcome.com"
<~  220-ccx.websitewelcome.com ESMTP Exim 4.92 #2 Sun, 09 Feb 2020 09:05:11 
-0600 
<~  220-We do not authorize the use of this system to transport unsolicited, 
<~  220 and/or bulk e-mail.
 ~> EHLO dalton.invalid
<~  250-ccx.websitewelcome.com Hello dalton.invalid [142.103.107.137]
<~  250-SIZE 52428800
<~  250-8BITMIME
<~  250-PIPELINING
<~  250-AUTH PLAIN LOGIN
<~  250 HELP
 ~> AUTH PLAIN 
 <~  235 Authentication succeeded
 ~> MAIL FROM:
<~  250 OK
 ~> RCPT TO:
<~  250 Accepted
 ~> DATA
<~  354 Enter message, ending with "." on a line by itself
 ~> Date: Sun, 09 Feb 2020 07:05:11 -0800
 ~> To: pe...@east.ca
 ~> From: peter@dalton.invalid
 ~> Subject: test Sun, 09 Feb 2020 07:05:11 -0800
 ~> Message-Id: <20200209070511.004076@dalton.invalid>
 ~> X-Mailer: swaks v20181104.0 jetmore.org/john/code/swaks/
 ~> 
 ~> This is a test mailing
 ~> 
 ~> 
 ~> .
<~  250 OK id=1j0o92-001FBJ-6E
 ~> QUIT
<~  221 ccx.websitewelcome.com closing connection
=== Connection closed with remote host.

Also works with the "-s ccx.websitewelcom.com".  There must be some 
advantage to the account specific server name.

Thanks,  ... P.

-- 
https://en.wikibooks.org/wiki/Medical_Machines
https://en.wikibooks.org/wiki/Oberon
Tel: +1 604 670 0140Bcc: peter at easthope. ca



Re: Swaks usage.

2020-01-26 Thread Celejar
On Fri, 24 Jan 2020 16:32:45 -0600
"Peter Easthope"  wrote:

> To my understanding the email host in this test is run by
> hostgator.com. The service is purchased from a reseller and
> hostgator doesn't make itself evident.
> 
> TLS starts OK.  Correct?
> 
> There is no problem for the Web interface to mail; userid and password
> are correct.  Can the problem be anything other than authentication
> protocol?
> 
> Any particular swaks parameters suggested?
> 
> Thanks,  ... P.
> 
> swaks -a PLAIN,LOGIN -au peter -ap  -tlsc --port 465 -s
> mail.easthope.ca -t a...@mail.ubc.ca
> === Trying mail.easthope.ca:465...
> === Connected to mail.easthope.ca.
> === TLS started with cipher TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256
> === TLS no local certificate set
> === TLS peer DN="/OU=Domain Control Validated/OU=Hosted by HostGator.com,
> LLC./OU=PositiveSSL Wildcard/CN=*.websitewelcome.com"
> <~  220-ccx.websitewelcome.com ESMTP Exim 4.92 #2 Fri, 24 Jan 2020
> 16:02:23 -0600
> <~  220-We do not authorize the use of this system to transport unsolicited,
> <~  220 and/or bulk e-mail.
>  ~> EHLO dalton.invalid
> <~  250-ccx.websitewelcome.com Hello dalton.invalid [142.103.107.137]
> <~  250-SIZE 52428800
> <~  250-8BITMIME
> <~  250-PIPELINING
> <~  250-AUTH PLAIN LOGIN
> <~  250 HELP
>  ~> AUTH PLAIN 
> <~* 535 Incorrect authentication data
>  ~> AUTH LOGIN
> <~  334 VXNlcm5hbWU6
>  ~> ...
> <~  334 UGFzc3dvcmQ6
>  ~> 
> <~* 535 Incorrect authentication data
> *** No authentication type succeeded
>  ~> QUIT
> <~  221 ccx.websitewelcome.com closing connection
> === Connection closed with remote host.

Take a look at:

https://www.hostgator.com/help/article/535-incorrect-authentication-data
https://stackoverflow.com/questions/14297264/password-not-accepted-from-server-535-incorrect-authentication-data-when-send/44564332#44564332
https://github.com/PHPMailer/PHPMailer/issues/1074

Celejar



Swaks usage.

2020-01-24 Thread peter
To my understanding the email host in this test is run by 
hostgator.com. The service is purchased from a reseller; the upstream 
provider isn't evident.

TLS starts OK.  Correct?

There is no problem for the Web interface to mail; userid and password 
are correct.  Can the problem be anything other than authentication 
protocol?

Any particular swaks parameters worth trying?

Thanks,  ... P.

swaks -a PLAIN,LOGIN -au peter -ap  -tlsc --port 465 -s 
mail.easthope.ca -t a...@mail.ubc.ca
=== Trying mail.easthope.ca:465...
=== Connected to mail.easthope.ca.
=== TLS started with cipher TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256
=== TLS no local certificate set
=== TLS peer DN="/OU=Domain Control Validated/OU=Hosted by HostGator.com, 
LLC./OU=PositiveSSL Wildcard/CN=*.websitewelcome.com"
<~  220-ccx.websitewelcome.com ESMTP Exim 4.92 #2 Fri, 24 Jan 2020 16:02:23 
-0600 
<~  220-We do not authorize the use of this system to transport unsolicited, 
<~  220 and/or bulk e-mail.
 ~> EHLO dalton.invalid
<~  250-ccx.websitewelcome.com Hello dalton.invalid [142.103.107.137]
<~  250-SIZE 52428800
<~  250-8BITMIME
<~  250-PIPELINING
<~  250-AUTH PLAIN LOGIN
<~  250 HELP
 ~> AUTH PLAIN 
<~* 535 Incorrect authentication data
 ~> AUTH LOGIN
<~  334 VXNlcm5hbWU6
 ~> ...
<~  334 UGFzc3dvcmQ6
 ~> 
<~* 535 Incorrect authentication data
*** No authentication type succeeded
 ~> QUIT
<~  221 ccx.websitewelcome.com closing connection
=== Connection closed with remote host.


-- 
https://en.wikibooks.org/wiki/Medical_Machines
https://en.wikibooks.org/wiki/Oberon
Tel: +1 604 670 0140Bcc: peter at easthope. ca



Swaks usage.

2020-01-24 Thread Peter Easthope
To my understanding the email host in this test is run by
hostgator.com. The service is purchased from a reseller and
hostgator doesn't make itself evident.

TLS starts OK.  Correct?

There is no problem for the Web interface to mail; userid and password
are correct.  Can the problem be anything other than authentication
protocol?

Any particular swaks parameters suggested?

Thanks,  ... P.

swaks -a PLAIN,LOGIN -au peter -ap  -tlsc --port 465 -s
mail.easthope.ca -t a...@mail.ubc.ca
=== Trying mail.easthope.ca:465...
=== Connected to mail.easthope.ca.
=== TLS started with cipher TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256
=== TLS no local certificate set
=== TLS peer DN="/OU=Domain Control Validated/OU=Hosted by HostGator.com,
LLC./OU=PositiveSSL Wildcard/CN=*.websitewelcome.com"
<~  220-ccx.websitewelcome.com ESMTP Exim 4.92 #2 Fri, 24 Jan 2020
16:02:23 -0600
<~  220-We do not authorize the use of this system to transport unsolicited,
<~  220 and/or bulk e-mail.
 ~> EHLO dalton.invalid
<~  250-ccx.websitewelcome.com Hello dalton.invalid [142.103.107.137]
<~  250-SIZE 52428800
<~  250-8BITMIME
<~  250-PIPELINING
<~  250-AUTH PLAIN LOGIN
<~  250 HELP
 ~> AUTH PLAIN 
<~* 535 Incorrect authentication data
 ~> AUTH LOGIN
<~  334 VXNlcm5hbWU6
 ~> ...
<~  334 UGFzc3dvcmQ6
 ~> 
<~* 535 Incorrect authentication data
*** No authentication type succeeded
 ~> QUIT
<~  221 ccx.websitewelcome.com closing connection
=== Connection closed with remote host.


-- 
https://en.wikibooks.org/wiki/Medical_Machines
https://en.wikibooks.org/wiki/Oberon
Tel: +1 604 670 0140Bcc: peter at easthope. ca



-- 
Tel.: +1 604 670 0140  Bcc: peter at easthope. ca