Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   ELOG and Gmail?, posted by Christopher Lee on Wed Apr 11 17:43:13 2012 
    icon2.gif   Re: ELOG and Gmail?, posted by Stefan Ritt on Thu Apr 12 08:57:51 2012 
       icon2.gif   Re: ELOG and Gmail?, posted by Christopher Lee on Thu Apr 12 14:38:09 2012 
          icon2.gif   Re: ELOG and Gmail?, posted by Christopher Lee on Sat Apr 14 11:10:14 2012 
             icon14.gif   Re: ELOG and Gmail?, posted by Erkcan Ozcan on Fri Jul 3 21:26:32 2015 
Message ID: 68039     Entry time: Fri Jul 3 21:26:32 2015     In reply to: 67248
Icon: Agree  Author: Erkcan Ozcan  Author Email: erkcan@gmail.com 
Category: Info  OS: Linux  ELOG Version: 3.1.0-5be245e 
Subject: Re: ELOG and Gmail? 
Using stunnel4 and the 3.1.0 version of elog, I was able to use gmail smtp without the use of iptables.

In my elogd.cfg I chose:

SMTP username = <gmailusername>@gmail.com
SMTP Password = <The hash produced with the perl statement posted by Christopher Lee>
SMTP host = 127.0.0.1

And in /etc/stunnel/stunnel.conf:

[elogssl]
client = yes
accept = 127.0.0.1:25
connect = smtp.gmail.com:465
verify = 2
CApath = /etc/ssl/certs

FInally, run sudo stunnel4.
ELOG V3.1.5-3fb85fa6