Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   email problems, posted by Chris Warner on Tue Feb 7 21:02:22 2006 
    icon2.gif   Re: email problems, posted by Stefan Ritt on Wed Feb 8 15:29:03 2006 
       icon2.gif   Re: email problems, posted by Chris Warner on Wed Feb 8 18:38:30 2006 
          icon2.gif   Re: email problems, posted by Stefan Ritt on Thu Feb 9 09:09:30 2006 
             icon5.gif   Re: email problems, posted by Chris Warner on Fri Feb 10 21:26:33 2006 
                icon2.gif   Re: email problems, posted by Stefan Ritt on Fri Feb 10 21:50:27 2006 
Message ID: 1663     Entry time: Wed Feb 8 15:29:03 2006     In reply to: 1660     Reply to this: 1667
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Linux  ELOG Version:  
Subject: Re: email problems 

Chris Warner wrote:
Error sending Email via "xxx.xxx.xxx.xx": Syntax error, parameters in command "MAIL FROM: christopher_warner@xxx.gov SIZE=1985" unrecognized or missing


There are two possible reasons:

1) The email address "christopher_warner@xxx.gov" is invalid. Some SMTP server immediately complain about invalid email addresses and refuse to send any mail then. In that case just supply an existing email address or remove that test account.

2) The SMTP server does not like the "SIZE=xxx" option. This comes from a single line in elogd.c:

snprintf(str, strsize - 1, "MAIL FROM: %s SIZE=%d\r\n", from, strlen(text));

you could just go there and remove the " SIZE=%d", so that the line looks like:

snprintf(str, strsize - 1, "MAIL FROM: %s\r\n", from);
to see if that makes any difference.
ELOG V3.1.5-3fb85fa6