Forum Discussion

Vladimir_Shishk's avatar
Vladimir_Shishk
Icon for Altocumulus rankAltocumulus
May 19, 2021
Solved

Routing problem for connect() in iRule

Good day. I have an iRule script which must send email via connect command through corporate Exchange server: set conn [connect -timeout 3000 -idle 30 -status conn_status -myaddr 127.1.1.254 $mail...
  • AlexBCT's avatar
    May 19, 2021

    Hi Vladimir,

     

    Have you checked if the TMOS interfaces have access to the mailserver IP using TMOS routes? (Under "Network - Routes" in the GUI)

    As the "telnet" command is run from the management side, it may use either the management interface or a TMOS interface for outbound traffic, whereas the iRules will only use TMOS interfaces for communication.

     

    Here is more details on the (sometimes tricky) management routing; https://support.f5.com/csp/article/K13284

     

    Hope this helps.