On 09.09.2018 7:16, Antonino Sidoti wrote:
I would like to test the configuration from CLI on my MacBook and using;

openssl s_client -connect mail.example.com:25 -starttls smtp.

The connection is successful and I can see TLS handshake, etc.
I now enter ‘helo’ and 'auth login’, each are successful.

Now going further, how can I test the user credentials using an ‘openssl’ 
connection? I am confident that ‘smtpctl encrypt’ it is using BLF-CRYPT, though 
what do I do to input the username and password to test the credentials?

I just tested it out of curiousity:

AUTH login <enter your username>
334 VXNlcm5hbWU6
<enter base64 encoded username>
334 UGFzc3dvcmQ6
<enter base64 encoded password>
235 2.0.0: Authentication succeeded

Good luck,
Reio

--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Reply via email to