Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   How to configure email? "Error sending Email via <i>"127.0.0.1"</i>", posted by I Gede Made Wira Saputra on Tue Nov 15 04:42:49 2016 
    icon2.gif   Re: How to configure email? "Error sending Email via <i>"127.0.0.1"</i>", posted by Xuan Wu on Tue Nov 15 07:29:04 2016 
       icon2.gif   Re: How to configure email? "Error sending Email via <i>"127.0.0.1"</i>", posted by I Gede Made Wira Saputra on Tue Nov 15 10:24:18 2016 
          icon2.gif   Re: How to configure email? "Error sending Email via <i>"127.0.0.1"</i>", posted by Xuan Wu on Tue Nov 15 11:22:31 2016 
             icon2.gif   Re: How to configure email? "Error sending Email via <i>"127.0.0.1"</i>", posted by I Gede Made Wira Saputra on Wed Nov 16 07:07:35 2016 
                icon2.gif   Re: How to configure email? "Error sending Email via <i>"127.0.0.1"</i>", posted by Xuan Wu on Thu Nov 17 09:54:03 2016 
Message ID: 68456     Entry time: Tue Nov 15 11:22:31 2016     In reply to: 68455     Reply to this: 68457
Icon: Reply  Author: Xuan Wu  Author Email: wux@ihep.ac.cn 
Category: Question  OS: Windows  ELOG Version: 3.1.1 
Subject: Re: How to configure email? "Error sending Email via <i>"127.0.0.1"</i>" 

You can use command to test your email service and your username and password. 

telnet your.email.host  25

ehlo hostname

auth login

(input your username)   note that:the username and password should be generaterd by command perl -MMIME::Base64 -e 'print encode_base64 (“username”)’ 

(input your password)

Then you can test the server and username and password are right or not.

And you can set "Logging level = 3" elogd -v and see what is going on?

I Gede Made Wira Saputra wrote:

Hi Xuan Wu,

Nothing happen, I still got error. Do you have any more idea? I really confuse.

Xuan Wu wrote:

I use "SMTP username = <My_email_account>" without "@xxx" for my site. So you can try it like that. HTH

I Gede Made Wira Saputra wrote:

Hi All,

I have a problem with email configuration with gmail account. I use Elog V3.1.1 and Stuneel V5-32 with Windows 7 Profesional 64-bit

I follow the instruction in elog:68039 This is my configuration elogd.cfg and stunnel.conf

# My elogd.cfg

;Mail server configuration
smtp host = 127.0.0.1
SMTP username = <My_email_account>@gmail.com
SMTP Password = MjhNYXNrb2tpMjI=

Email encoding = 1
Logout to main = 1

# My Stunnel.conf

[gmail-pop3]
client = yes
accept = 127.0.0.1:110
connect = pop.gmail.com:995
verify = 2
CAfile = ca-certs.pem
checkHost = pop.gmail.com
OCSPaia = yes

[gmail-imap]
client = yes
accept = 127.0.0.1:143
connect = imap.gmail.com:993
verify = 2
CAfile = ca-certs.pem
checkHost = imap.gmail.com
OCSPaia = yes

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

[gmail-smtp]
client = yes
accept = 127.0.0.1:25
connect = smtp.gmail.com:465
verify = 2
CAfile = ca-certs.pem
checkHost = smtp.gmail.com
OCSPaia = yes

 

I got error "Error sending Email via <i>"127.0.0.1"</i>" when I run it.

Could somebody help me?

Thanks,

 

 

 

 

 

ELOG V3.1.5-3fb85fa6