SMTP Authentication
-
Is there any plans to support SMTP Authentication?
TLS over 587 for example. -
Not at the moment - there are multiple ways to configure is using existing tools:
* on most UNIXes you can use existing MTA (Postfix, Exim, Sendmail, e.t.c.) to use smarthost over TLS.
* For Windows there is http://emailrelay.sourceforge.net/ (I recommend version 1.9) -
thanks will check it out.
-
Some easy instructions for running EmailRelay 2.0.0 on 127.0.0.1:25 on Windows with an upstream SMTPS server.
- This configuration is for SMTPS and which uses publicly trusted TLS certificates that need to be verified.
- Assumes one is using SMTPS on port 465, change smtp.example.com to your desired SMTPS server.
-
Extract emailrelay-2.0-w64 into C:\NetXMS\emailrelay on the same system as the NetXMS server, change paths to suit your own environment
-
Create spool directory: C:\NetXMS\emailrelay\spool
-
Create config directory: C:\NetXMS\emailrelay\config
-
Place a Trusted CA Certificate bundle into C:\NetXMS\emailrelay\config\cacert.pem (Eg: From Mozilla or curl for public CAs or you'll need to make your own if your SMTPS server uses certificates signed by an internal CA)
-
Create C:\NetXMS\emailrelay\config\email.auth and put in any relevant authentication
Example:client plain [email protected] PasswordHere -
Create batch file to start emailrelay.exe: C:\NetXMS\emailrelay\start-emailrelay.bat
start "emailrelay" "C:\NetXMS\emailrelay\emailrelay.exe" --interface=127.0.0.1 --interface=127.0.0.1 --port=25 --as-proxy=smtp.example.com:465 --client-auth=C:\NetXMS\emailrelay\config\email.auth --client-tls-connection --client-tls-required --client-tls-server-name=smtp.example.com --client-tls-verify=C:\NetXMS\emailrelay\config\cacert.pem --spool-dir=C:\NetXMS\emailrelay\spool --pid-file=C:\NetXMS\emailrelay\emailrelay.pid --no-syslogChange smtp.example.com to your desired SMTPS server.
- Create C:\NetXMS\emailrelay\emailrelay-service.cfg
dir-config="C:\NetXMS\emailrelay\config"8 ) Run as Administrator to install service:
C:\NetXMS\emailrelay\emailrelay-service --installRemember to document the existence of the cacert.pem bundle and the need to manually update it.
-
SMTP Authentication was added in 4.3, please see updated documentation: https://www.netxms.org/documentation/adminguide/event-processing.html#notification-channels
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login