ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
1596
|
Tue Jan 17 13:59:58 2006 |
| Chris Warner | christopher_warner@dcd.uscourts.gov | Question | Linux | | Re: Problem selecting ports |
Nevermind. this was an iptables issue.
Chris Warner wrote: | I had problems getting elog to run on port 8080 (or many others). I have it installed on Redhat Enterprise Linux rel 4. The only way I was able to get it working was using port 80. I would like to run it on a different port if possible but I'm not sure what is wrong.
Any Ideas |
|
1597
|
Tue Jan 17 14:09:17 2006 |
| Chris Warner | christopher_warner@dcd.uscourts.gov | Question | Linux | | Email based on not attribute value |
Is it possible to send an email if an attribute is not equal to a specific value?
For instance, I have a server logbook that several people are able to write to. There is one person that is ultimately responsible for this server. I would like to generate an email any time that someone other than the System Administrator creates a new entry.
Thanks,
Chris Warner |
1598
|
Tue Jan 17 16:04:28 2006 |
| Mark Coudriet | markcoudriet@yahoo.com | Bug report | | | In version 2.6 the themes do not work right on Windows. |
In version 2.6 the themes do not work right on Windows.
The URL is fixed at whichever logbook that is selected (e.g. ELOG 2.5.9-4 is <link rel="stylesheet" type="text/css" href="default.css"> & ELOG 2.6.0-1 is <link rel="stylesheet" type="text/css" href="http://localhost:8080/demo/default.css">). |
1601
|
Wed Jan 18 12:33:00 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | | Re: Automatic Copy to |
Chris Warner wrote: | Is it possible to configure elog to copy a new entry from 1 logbook to another? |
No, you have to copy entries manually with the "Copy to" menu command. For that, you have to put something like
Menu commands = List, New, Edit, Copy to, Delete, Reply, Duplicate, Find, Config, Help
into your configuration file. |
1603
|
Wed Jan 18 12:49:39 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | | Re: Email based on not attribute value |
Chris Warner wrote: | For instance, I have a server logbook that several people are able to write to. There is one person that is ultimately responsible for this server. I would like to generate an email any time that someone other than the System Administrator creates a new entry. |
No, but there is a trick you can use. Put following into your config file:
Attributes = Author, ...
Preset Author = $long_name
Locked Attributes = Author
Options Author = Admin{1}, other{2}
{1}Suppress default = 1
Replace "Admin" with the name of the administrator. The "Author" field gets automatically set to the author name, and it's locked, so there will no be drop-down box which lets you select between "Admin" and "other". Now if the author is equal to "Admin", the condition {1} becomes true, and the "Supress default is executed. This check the "suppress email notificatio" box at the bottom, so normally no email gets sent from the administrator. |
1604
|
Wed Jan 18 12:57:30 2006 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | | | Re: In version 2.6 the themes do not work right on Windows. |
Quote: | The URL is fixed at whichever logbook that is selected (e.g. ELOG 2.5.9-4 is <link rel="stylesheet" type="text/css" href="default.css"> & ELOG 2.6.0-1 is <link rel="stylesheet" type="text/css" href="http://localhost:8080/demo/default.css">). |
So what is your problem? Can't you access http://localhost:8080/demo/default.css ?
If so, you could use an
URL = http://{your host}:8080/
option in your config file, where you replace {your host} with your real host name. |
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. |