[midPoint] SMTP server host and port not reachable

BHATNAGAR Deshak deshak.bhatnagar at thalesgroup.com
Wed May 17 12:05:36 CEST 2023


Hello,

I am setting up the Notification for any change on midPoint but encountering below issue:

couldn't connect to host and port.

Here is the configuration:

<notificationConfiguration>
        <handler>
            <simpleUserNotifier>
                <transport>mail</transport>
            </simpleUserNotifier>
            <simpleResourceObjectNotifier>
                <status>success</status>
                <transport>mail</transport>
            </simpleResourceObjectNotifier>
            <accountPasswordNotifier>
                <recipientExpression>
                    <script>
                        <code>requestee.getEmailAddress()</code>
                    </script>
                </recipientExpression>
                <transport>mail</transport>
            </accountPasswordNotifier>
            <accountPasswordNotifier>
                <recipientExpression>
                    <script>
                        <code>basic.getExtensionPropertyValue(requestee, 'http://evolveum.com/my', 'otherMailbox')</code>
                    </script>
                </recipientExpression>
                <transport>mail</transport>
            </accountPasswordNotifier>
            <simpleTaskNotifier>
                <transport>mail</transport>
            </simpleTaskNotifier>
        </handler>
        <mail>
            <debug>true</debug>
            <server>
                <host>smtp.freesmtpservers.com</host>
                <port>465</port>
                <transportSecurity>none</transportSecurity>
            </server>
            <server>
                <host>d068dc15f3cf</host>
                <port>25</port>
            </server>
            <defaultFrom>mid</defaultFrom>
        </mail>
        <file name="mail-notifications.log"/>
    </notificationConfiguration>

Best Regards,
Deshak


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20230517/5c50921c/attachment.htm>


More information about the midPoint mailing list