Maximo

 View Only
  • 1.  MAS SMTP configuration fails

    IBM Champion
    Posted 2 days ago

    Hi All,

    We are trying to configure the SMPT with an internal server using port 25, but we are getting the error message below. Do you have any idea what it could be?

    To test the connectivity between the cluster and the SMTP server, I opened the terminal in one of the pods and ran the command curl -vv telnet://DestinationServerName:25 and I got a successfully connected message. 



    ------------------------------
    If this post helps, please consider accepting it as a solution to help other members find it more quickly.

    Maycon Belfort
    Consultant
    BPD Zenith
    Melbourne
    ------------------------------


  • 2.  RE: MAS SMTP configuration fails

    Posted 2 days ago

    Hi Maycon,

    just quickly googling the error it seems like it's related to the SMTP server setup itself. 
    You didn't mention what is the server that you're trying to connect to but I would recommend further investigating SMTP server logs as the network connectivity is clearly OK.

    I'm not sure what is your use case with connecting to the internal SMTP server but if you need one for testing only then what I typically do is that I'm deploying mail-trap ("fake") SMTP server directly to the OCP cluster (e.g. MailCatcher or MailHog). This way nothing really goes out of OCP and yet I can test e-mail functionality, viewing trapped e-mails in the web browser.



    ------------------------------
    Andrzej Więcław
    Maximo Technical Consultant
    AFRY
    Wrocław, Poland
    ------------------------------



  • 3.  RE: MAS SMTP configuration fails

    IBM Champion
    Posted 2 days ago

    Hi Maycon,

    can You turn on the developer tools in Your browser (usually by clicking F12) and check what is the actual response from Core API? It sometimes shows something useful. Second step would be to check the coreapi pod logs. By default there are 3 of them so You would need to take a look in each.

    Regards,



    ------------------------------
    Witold Wierzchowski
    ------------------------------



  • 4.  RE: MAS SMTP configuration fails

    IBM Champion
    Posted yesterday

    Thank you, Andrzej and Witold.

    Those are excellent troubleshooting ideas. In the end, the problem was the client network firewall blocking the OpenShift IP, which, after being whitelisted, worked.

    Thank you!



    ------------------------------
    If this post helps, please consider accepting it as a solution to help other members find it more quickly.

    Maycon Belfort
    Consultant
    BPD Zenith
    Melbourne
    ------------------------------