Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   SMTP problems - Error sending Email via "smtp.glocalnet.net", posted by Michael Ambrus on Mon Jan 12 23:36:17 2009 
    icon3.gif   Re: SMTP problems - Error sending Email via "smtp.glocalnet.net", posted by Michael Ambrus on Tue Jan 13 00:14:37 2009 
       icon2.gif   Re: SMTP problems - Error sending Email via "smtp.glocalnet.net", posted by Michael Ambrus on Wed Jan 14 16:39:38 2009 
          icon2.gif   Re: SMTP problems - Error sending Email via "smtp.glocalnet.net", posted by Stefan Ritt on Tue Jan 20 17:18:06 2009 
Message ID: 66162     Entry time: Tue Jan 20 17:18:06 2009     In reply to: 66150
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Linux  ELOG Version: 2.7.5-2130 
Subject: Re: SMTP problems - Error sending Email via "smtp.glocalnet.net" 

 

Michael Ambrus wrote:

 

Apparently 'MAIL FROM' syntax used by my ISP expects the address to be within <>.

Adding those in the config file fixes the problem:

Use Email From = <user@domain>

Note that the documentation indicates that the brackets should not be there and I'm not sure if this is a bug or not yet. According to this link the brackets should be there but I think to be consistent with other e-mail related attributes in the config file, they should be added by ELOG.

The 'Email' attibute however seems to work fine without the brackests. I.e.

Email All = user@doman

is OK.

I'm not very familiar with SMTP but I was fiddling around with this some time ago setting up a postfix MT. I eventually succeeded with my ISP, but not with gmail's SMTP. Apperently there are differences with the log-in procedure.

 

I added some code to elogd which always places <> around the "MAIL FROM:" in the SMTP communication. So I hope that problem should be solved from now on. Thank you for your detailed analysis and your hints. 

ELOG V3.1.5-2eba886