[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Swaks usage.



From: Celejar <celejar@gmail.com>
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 peter@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 <Base64 encoded authentication>
 <~  235 Authentication succeeded
 ~> MAIL FROM:<peter@dalton.invalid>
<~  250 OK
 ~> RCPT TO:<peter@east.....ca>
<~  250 Accepted
 ~> DATA
<~  354 Enter message, ending with "." on a line by itself
 ~> Date: Sun, 09 Feb 2020 07:05:11 -0800
 ~> To: peter@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 0140            Bcc: peter at easthope. ca


Reply to: