Menu

libesmtp not recognized on Ubuntu 8.04

Help
prahn
2009-01-18
2012-12-14
  • prahn

    prahn - 2009-01-18

    I use linknx and knxweb for some time now, but now I want to do some more stuff. I need the feature for sending mails, but I do not get it working. Linknx is running on Ubuntu 8.04 and I installed both libesmtp packages:

    root@vdr:~# dpkg -l | grep libesmtp
    ii  libesmtp-dev                               1.0.3-1.1                             LibESMTP SMTP client library development fil
    ii  libesmtp5                                  1.0.3-1.1                             LibESMTP SMTP client library

    But after inserting the mail-server config, linknx is not starting anymore:

    Config line in linknx.xml:
    <emailserver type="smtp" host="localhost:25" from="linknx@mydomain.com" />

    Resulting lines in linknx.log:
    EmailGateway: Gateway type 'smtp' not supported, libesmtp not available
    initialisation failed: Success

    How can I fix this??

    Regards,
    prahn

     
    • jef2000

      jef2000 - 2009-01-18

      Hi,

      how did you install linknx?
      If you compiled is yourself (using "./configure" ; "make" and "make install"), then you need to do this again after you installed libesmtp-dev. Make sure that the output of "./configure" script says something like "checking whether to use libesmtp: ... yes"
      If you start the configure script with following option "./configure --enable-smtp", it will force smtp support to be enabled (default-value is auto-detect) and the configure script will fail if it's not detected.

      If you use a precompiled binary package, then you'll have to find one with smtp support enabled.

      Regards,

      Jean-François

       
    • prahn

      prahn - 2009-01-19

      I can't remember if I installed from source or from a binary... anyway, I just downloaded the source-code, configured it (checking libesmtp: yes), and  compiled. Great! It works.

      Thanks for you help!

      Regards,
      prahn

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.