Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 182 of 808  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Versiondown Subject
  69002   Thu Aug 15 19:00:12 2019 Reply Antonio Bulgheroniantonio.bulgheroni@gmail.comQuestionWindows3.1.4Re: Unable to add entries with command line elog.exe with SSL

So as promised, I add some more information. 

Unfortunately changing the port where the server is listening did not make any change. The situation is still the same. If I try directly from the server, I get a warning about the fake certificate and if I do it from elsewhere, I get the error that the server is not running SSL. 

I had a look at the source code of elog.c and found the point where the error is produced. in order to produce this message, the ssl_connect should be returning -1 and this is only possible in two cases: 

   if (SSL_connect(*ssl_con) <= 0)
      return -1;
   
   cert = SSL_get_peer_certificate(*ssl_con);
   if (cert == NULL)
      return -1;

So, in the first case, it means that the SSL connection failed completly. In the second case, the peer certificate is invalid. 

Is it possible to discriminate between the two, for example changing the return value? Unfortunately I don't have a windows computer with development tools. So it would be great if you could prepare an executable for me with this small change. 

Thanks in advance for your help,

cheers,

 

  69021   Sun Oct 6 20:25:27 2019 Question Kevin Wangwangkl1020@gmail.comQuestionLinux3.1.4Cannot connect to server of Gmail SMTP

Hi all,

When I tried to set SMTP server of Gmail in the global configuration file, I get the message "Error sending Email via <i>"smtp.gmail.com"</i>: Cannot connect to server" after I tried to receive the Email notification. Is there anyone gives help to solve this issue?

Thanks!

Kevin

  69022   Mon Oct 7 08:54:32 2019 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux3.1.4Re: Cannot connect to server of Gmail SMTP

Gmail uses a type of SMTP authentication which is currently not supported by elog. It's however on the todo list.

Stefan

Kevin Wang wrote:

Hi all,

When I tried to set SMTP server of Gmail in the global configuration file, I get the message "Error sending Email via <i>"smtp.gmail.com"</i>: Cannot connect to server" after I tried to receive the Email notification. Is there anyone gives help to solve this issue?

Thanks!

Kevin

 

  69023   Tue Oct 8 05:42:56 2019 Reply Kevin Wangwangkl1020@gmail.comQuestionLinux3.1.4Re: Cannot connect to server of Gmail SMTP

Hi Stefan,

 

Thank you very much for your reply. So which SMTP type can I use now? Is outlook OK?

 

Kevin

Stefan Ritt wrote:

Gmail uses a type of SMTP authentication which is currently not supported by elog. It's however on the todo list.

Stefan

Kevin Wang wrote:

Hi all,

When I tried to set SMTP server of Gmail in the global configuration file, I get the message "Error sending Email via <i>"smtp.gmail.com"</i>: Cannot connect to server" after I tried to receive the Email notification. Is there anyone gives help to solve this issue?

Thanks!

Kevin

 

 

  69024   Tue Oct 8 06:47:27 2019 Reply Johnsecondcomingtechnologies@fastmail.comQuestionLinux3.1.4Re: Cannot connect to server of Gmail SMTP

This is a local issue  on your network, if you have a mail server setup. SMTP is not handled directly by Elog and neither is any other mail protocal. Elog just sends the requested email to your server for processing to the recipients afaict. And whatever server (or service) you use to handle email sending needs to be able to accept them from your mail server. So after verifying which ones  you want to use; (like OutLook, or gmail, or whatever), then have your local email server set up to work with them. You can prol have a 3rd party do this was well (instead of your own local one) but then they would STILL need to be able to work with whatever guidlines the actual sender (gmail, hotmail..) requires to have mail sent. Email is a lonnng trail of different providers, servers, and other actors..

Halvy

Kevin Wang wrote:

Hi Stefan,

 

Thank you very much for your reply. So which SMTP type can I use now? Is outlook OK?

 

Kevin

Stefan Ritt wrote:

Gmail uses a type of SMTP authentication which is currently not supported by elog. It's however on the todo list.

Stefan

Kevin Wang wrote:

Hi all,

When I tried to set SMTP server of Gmail in the global configuration file, I get the message "Error sending Email via <i>"smtp.gmail.com"</i>: Cannot connect to server" after I tried to receive the Email notification. Is there anyone gives help to solve this issue?

Thanks!

Kevin

 

 

 

  69025   Tue Oct 8 12:00:58 2019 Question Finn Junkerfj@tvis.netQuestionWindows3.1.4Email boolean
Hello Elog forum

Is it possible to email boolean statements, like if a checkbox is checked to email certain people?

My Configuration looks like this but dosn't work:

Attributes = Bruger, Station, Emne, Status, PM5
Options PM5 = boolean
Email PM5 = fj@tvis.net

Kind Regards

Finn
  69026   Tue Oct 8 15:34:39 2019 Reply Finn Junkerfj@tvis.netQuestionWindows3.1.4Re: Email boolean
> Hello Elog forum
> 
> Is it possible to email boolean statements, like if a checkbox is checked to email certain people?
> 
> My Configuration looks like this but dosn't work:
> 
> Attributes = Bruger, Station, Emne, Status, PM5
> Options PM5 = boolean
> Email PM5 = fj@tvis.net
> 
> Kind Regards
> 
> Finn

I still don't have a solution to the above, but this works:

Attributes = Bruger, Station, Emne, Status, PM5
ROptions PM5 = Ja
Email PM5 Ja = th@tvis.net, fj@tvis.net

Kind Regards

Finn
  69028   Wed Oct 9 12:39:45 2019 Warning Andreas Luedekeandreas.luedeke@psi.chQuestionAll3.1.4Re: Email boolean
> > Hello Elog forum
> > 
> > Is it possible to email boolean statements, like if a checkbox is checked to email certain people?
> > 
> > My Configuration looks like this but dosn't work:
> > 
> > Attributes = Bruger, Station, Emne, Status, PM5
> > Options PM5 = boolean
> > Email PM5 = fj@tvis.net
> > 
> > Kind Regards
> > 
> > Finn
> 
> I still don't have a solution to the above, but this works:
> 
> Attributes = Bruger, Station, Emne, Status, PM5
> ROptions PM5 = Ja
> Email PM5 Ja = th@tvis.net, fj@tvis.net
> 
> Kind Regards
> 
> Finn

You were so close: boolean has the two values "0" (unchecked) and "1" (checked).

 Attributes = Bruger, Station, Emne, Status, PM5
 Options PM5 = boolean
 Email PM5 1 = fj@tvis.net

That does work, I've tested it.
ELOG V3.1.5-3fb85fa6