Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: DSL Stats on Ubuntu SMTP  (Read 4551 times)

g3uiss

  • Kitizen
  • ****
  • Posts: 1151
  • You never too old to learn but soon I may be
    • Midas Solutions
DSL Stats on Ubuntu SMTP
« on: January 19, 2020, 06:19:22 PM »

Having used DSL stats on Windows, having some spare hardware I setup a Ubuntu box. I've installed the latest "Beta" which in every way works fine, except I cant get the alert mails to work. I've used both SMTP servers I have, but the event log shows a failed connection, in each case.

I'm not that well up anymore on Linux, but was able to manipulate the firewall to allow the web server to work, but I don't think this is a firewall issue.

I suspect a very obvious answer !

Thanks

Tony
Logged
Cerebus FTTP 500/70 Draytec 2927 VOXI 4G fallback.

d2d4j

  • Kitizen
  • ****
  • Posts: 1103
Re: DSL Stats on Ubuntu SMTP
« Reply #1 on: January 19, 2020, 09:20:35 PM »

Hi gu3iss

I would install Telnet client (apt-get telnet or similar) and test smtp connection with telnet

telnet nnn.nnn.nnn.nnn 25 or replace nnn with FQDN

Many thanks

John
Logged

g3uiss

  • Kitizen
  • ****
  • Posts: 1151
  • You never too old to learn but soon I may be
    • Midas Solutions
Re: DSL Stats on Ubuntu SMTP
« Reply #2 on: January 19, 2020, 09:47:25 PM »

It connects or would seem to but the authorisation fails. Some weird Linux entry needed in some file. Research doesn’t bring up anything  simple   :o
Logged
Cerebus FTTP 500/70 Draytec 2927 VOXI 4G fallback.

d2d4j

  • Kitizen
  • ****
  • Posts: 1103
Re: DSL Stats on Ubuntu SMTP
« Reply #3 on: January 19, 2020, 09:52:55 PM »

Hi gu3iss

That sounds like TLS so thinking the mail server does not allow plain

It should though, show a welcome message eg 220 mailswrver ready or similar

If you see that then there is no issue with firewalls or anything blocking the outgoing/incoming connection and if tested using FQDN, no dns issue

Many thanks

John
Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 43557
  • Penguins CAN fly
    • DSLstats
Re: DSL Stats on Ubuntu SMTP
« Reply #4 on: January 19, 2020, 10:27:26 PM »

I've checked this on my Debian system now. The DSLstats configuration is unchanged compared to when I last used the alert system several months ago. At that time the emails worked; now they don't. I can't explain this.
Logged
  Eric

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 43557
  • Penguins CAN fly
    • DSLstats
Re: DSL Stats on Ubuntu SMTP
« Reply #5 on: January 20, 2020, 06:35:05 AM »

Having slept on it, I now have the solution (I believe). On your Ubuntu system install the package libssl-dev:

Code: [Select]
sudo apt-get install libssl-dev
Then shut down DSLstats and restart it. After this you should be able to send email alerts using StartTLS, although GMail is still a problem because of their own security checking.
Logged
  Eric

g3uiss

  • Kitizen
  • ****
  • Posts: 1151
  • You never too old to learn but soon I may be
    • Midas Solutions
Re: DSL Stats on Ubuntu SMTP
« Reply #6 on: January 20, 2020, 09:32:22 AM »

Thanks @Roseway perfect solution Eric. Need to note that one for the future

Best

Tony
Logged
Cerebus FTTP 500/70 Draytec 2927 VOXI 4G fallback.

flilot

  • Member
  • **
  • Posts: 47
Re: DSL Stats on Ubuntu SMTP
« Reply #7 on: January 20, 2020, 12:57:53 PM »

Having slept on it, I now have the solution (I believe). On your Ubuntu system install the package libssl-dev:

Code: [Select]
sudo apt-get install libssl-dev
Then shut down DSLstats and restart it. After this you should be able to send email alerts using StartTLS, although GMail is still a problem because of their own security checking.

Just wanted to say I was confused as to why my DSL e-mail alerts were not working on my Linux box, despite all credentials being correct, and this solution fixed it.
Thanks!
Logged
Carl
____________________________
vodafone Gigafast 100/100 FTTP
FRITZ!Box 7530 Router | Calix 801Gv2 GigaPoint ONT