I'm using SMTP virtual server installed on windows server 2016 to relay mail alerts from iDRAC 8. Current setup of SMTP virtual server allows anonymous access with TLS disabled and this is working. I'm getting mails from iDRAC.
But I want to use TLS with user authentication and when I enable TLS on SMTP virtual server with user authentication I'm getting that annoying "Sending the test mail failed" message from iDRAC.
I've tested this from computers that are within and outside of AD and everything is working, SMTP server successfully relays mail to public SMTP server. I've check and TLS 1.2 is working on SMTP virtual server.
So currently I'm stuck and don't know how to troubleshoot this issue.
It would be really helpful if iDRAC 8 has any debug logs for SMTP server, but I didn't find any. If anyone knows how to get more info (debug logs) on iDRAC SMTP server or any idea on what could cause a problem in this setup, tnx in advance.
yes, I've configured authentication on iDRAC SMTP.
But since there isn't any logs for this part I'm blind and don't know is there something regarding SMTP virtual server certificate or this user/pwd part. Kinda leaning toward that there is something regarding certificate that iDRAC doesn't like, don't know.
But on the other side, I've used PowerShell Send-MailMessage to test SMTP virtual server from other computers and didn't get any warnings/issues regarding certificate.
So did you followed the steps of the suggested articles? As you can see there is not much configuration we can do on iDRAC level. Are you sure the server is configured to accept unauthenticated connections?
the only option on SMTP virtual server is unauthenticated access, which isn't working when TLS is enabled.
I've tested yesterday a SMTP starttls connection with openssl from linux machine which isn't joined to AD, and the only "issue" I got in log was "unable to get local issuer certificate". But this didn't affect the login process.
Here is the image:
Username and password are encoded with following cmd:
echo -n "username or pwd" | openssl enc -base64
My setup contains offline root CA and a subordinate CA (joined to AD) which issues certificates. So the only way (that I know of) to solve the "unable to get local issuer certificate" issue is to add root CA to some kind of trusted root CA store. Don't know if iDRAC has something like that. Also HTTPS with valid certificate is successfully setup on iDRAC.
But the question remains if this is causing problems on iDRAC SMTP mail alert?
My SMTP virtual server is working, and I'm able to send mail from: - windows pc joind to AD domain with powershell cmd - windows pc not joined to AD with powershell cmd - linux pc not joined to AD with postfix
DELL-Young E
Moderator
•
5421 Posts
•
37 Points
1049
0
Posted March 23rd, 2022 22:00
Hi, thanks for choosing Dell.
https://dell.to/3uofoKL
https://dell.to/3qt0Bgz
Have you configured SMTP authentication?
Social Media and Communities Professional
Dell Technologies | Enterprise Support Services
#IWork4Dell
Did I answer your query? Please click on ‘Mark as Accepted Answer’. ‘Thumbs up’ the posts you like!