ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
1660
|
Tue Feb 7 21:02:22 2006 |
| Chris Warner | christopher_warner@dcd.uscourts.gov | Question | Linux | | email problems |
When I select to get email notification on new logbook entries I receive this error when entering a new record.
Error sending Email via "xxx.xxx.xxx.xx": Syntax error, parameters in command "MAIL FROM: christopher_warner@xxx.gov SIZE=1985" unrecognized or missing
The user that sent the message was a test account that I set up. I entered the email address in the box provided and I am not sure what may be causing the difficulty.
Any thoughts as to what may be causing this? |
1663
|
Wed Feb 8 15:29:03 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | | 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. |
1667
|
Wed Feb 8 18:38:30 2006 |
| Chris Warner | christopher_warner@dcd.uscourts.gov | Question | Linux | | Re: email problems |
The email address id correct. I am using an Elog Binary. I don't have the source code .
Chris Warner
Stefan Ritt wrote: |
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. |
|
1670
|
Thu Feb 9 09:09:30 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | | Re: email problems |
Chris Warner wrote: | The email address id correct. I am using an Elog Binary. I don't have the source code. |
Ok, so I removed the SIZE=xxx parameter, which is not strictly necessary anyhow I believe. So wait for the next release, and you can try. |
1672
|
Thu Feb 9 14:15:54 2006 |
| Dimitrios Tsirigkas | dimitrios.tsirigkas@cern.ch | Info | | | Posting without logging in! |
Hi all! This is an HTTP POST request submitted from the command line using curl, and providing no authentication information. If I can post as myself using this command, then shouldn't something be done about this? Cheers, Dimitris |
1675
|
Fri Feb 10 11:41:38 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Info | | | Re: Posting without logging in! |
Dimitris wrote: | Hi all! This is an HTTP POST request submitted from the command line using curl, and providing no authentication information. If I can post as myself using this command, then shouldn't something be done about this? |
Yes indeed. I fixed that in SVN revision 1655. I upgraded this server so you can try again if it works. |
1677
|
Fri Feb 10 16:16:11 2006 |
| Dimitrios Tsirigkas | dimitrios.tsirigkas@cern.ch | Info | | | Re: Posting without logging in! |
Stefan Ritt wrote: |
Yes indeed. I fixed that in SVN revision 1655. I upgraded this server so you can try again if it works. |
Just tried it, it's fixed
Dimitris |
1682
|
Fri Feb 10 21:26:33 2006 |
| Chris Warner | christopher_warner@dcd.uscourts.gov | Question | Linux | | Re: email problems |
Do you have an ise when that will be?
Stefan Ritt wrote: |
Chris Warner wrote: | The email address id correct. I am using an Elog Binary. I don't have the source code. |
Ok, so I removed the SIZE=xxx parameter, which is not strictly necessary anyhow I believe. So wait for the next release, and you can try. |
|