Hi,

I am using a table in my configuration for user credentials in ’smtpd.conf';

table creds file://etc/mail/creds

I have also created the password using ‘smtpctl encrypt’ and added that to the 
file along with a username.
The file ‘creds’ contains;

bob    $2b$10$encrytedpassword

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?

Regards Nino

Reply via email to