Ehlo,
We're running a 3.6.0 instance of Geonetwork in a Jetty 9.2 servlet in the
dmz region of a network and are trying to use the company's MS Exchange
server (2016 or so) for the Feedback mail setting in Geonetwork.
We've been adviced to use port 25, no tls or ssl, no username or password
just the email address and email smtp server. The local IT department have
adviced that they have successfully sent email using MS Powershell from this
server with these settings.
In GN we get this error message when using the Test email settings button:
535 5.7.3 Authentication unsuccessful (server, port)
Logs say:
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: getProvider() returning
javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]
DEBUG SMTP: need username and password for authentication
DEBUG SMTP: useEhlo true, useAuth true
then it says ehlo and connects
and then
DEBUG SMTP: Attempt to authenticate using mechanisms: LOGIN PLAIN DIGEST-MD5
NTLM
DEBUG SMTP: mechanism LOGIN not supported by server
DEBUG SMTP: mechanism PLAIN not supported by server
DEBUG SMTP: mechanism DIGEST-MD5 not supported by server
DEBUG NTLM: type 1 message: 4E 54 ..
DEBUG SMTP: AUTH NTLM command trace suppressed
DEBUG SMTP: AUTH NTLM failed
2019-05-09 10:45:28,377 ERROR [geonetwork.api] - Error sending test email
org.apache.commons.mail.EmailException: Sending the email to the following
server failed (smtp server and port) ...
Caused by: javax.mail.AuthenticationFailedException: 535 5.7.3
Authentication unsuccessful
Does anyone have any suggestions? : )
(It says the same thing if we input username and pass in the settings)
--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-f3860293.html