Forum Discussion

John_Ogle_45372's avatar
John_Ogle_45372
Icon for Nimbostratus rankNimbostratus
Jul 15, 2013

stmp tls/ssl monitor using curl, etc.

hello, I am trying to create an external smtp monitor that uses curl or perl but it looks like the libraries aren't installed. Is this correct? is there a way around this? I am testing against google's smtp servers and it works fine using curl on my windows or unix box but not the LTM. Is there a way to make this work on the LTM?

 

Output:

 

Errors I get on 11.2.1

 

[root@ltm1:Active:Standalone] config curl smtp://smtp.gmail.com -v

 

* Protocol smtp not supported or disabled in libcurl

 

curl: (1) Protocol smtp not supported or disabled in libcurl

 

[root@ltm1:Active:Standalone] config

 

[root@ltm1:Active:Standalone] config

 

[root@ltm1:Active:Standalone] config

 

[root@ltm1:Active:Standalone] config curl smtps://smtp.gmail.com:465 -v

 

* Protocol smtps not supported or disabled in libcurl

 

curl: (1) Protocol smtps not supported or disabled in libcurl

 

[root@ltm1:Active:Standalone] config

 

5 Replies

  • This is correct. The cURL libraries do not include support for SMTP. Is there something more specific that you need from an external monitor that the built-in SMTP monitor cannot provide?
  • What do you mean? The default SMTP monitor does not show an optoin for a SECURE connection (TLS/SSL) or the ability to add username/password credentails. In my working curl examples, I cannot securely and supply a username/password combination. This is what I need to do with the LTM but if the needed libraries aren't load, then what are my options.

     

     

    Thank you,

     

  • curl will be updated to support pop3s, imap4s and smtps in 11.4.1 but it is not released yet.

     

     

    ID391900 - curl needs updating to enable POP3S, IMAP4S and SMTPS monitors

     

     

    also, there is rfe to add smtps monitor.

     

     

    ID381184 - [RFE] Add SMTPS monitoring capability
  • I have 11.4 on my other box.i understand you need 11.4.1.