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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
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