Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 339 of 807  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icon Author Author Email Category OS ELOG Versiondown Subject
  67821   Mon Mar 9 17:24:42 2015 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.9.2Re: Is it possible to only send an email based on the value of multiple attributes?

Darren Hollinrake wrote:
My current setup notifies users if downtime = yes.
Email Downtime Yes = user1@xyz.com, user2@xyz.com

Is it possible to only send an email based on the value of multiple attributes?
For my use:
user1 only needs notifications if Platform = Workstation and Downtime = Yes
user2 only needs notifications if Platform = Network and Downtime = Yes


This is currently not implemented, but it's a good idea. I will keep it in mind for the next release.
  67822   Thu Mar 12 09:53:57 2015 Reply Andreas Luedekeandreas.luedeke@psi.chQuestionWindows2.9.2Re: Is it possible to only send an email based on the value of multiple attributes?

Darren Hollinrake wrote:
My current setup notifies users if downtime = yes.
Email Downtime Yes = user1@xyz.com, user2@xyz.com

Is it possible to only send an email based on the value of multiple attributes?
For my use:
user1 only needs notifications if Platform = Workstation and Downtime = Yes
user2 only needs notifications if Platform = Network and Downtime = Yes



I think there is a solution, although it is complicated and I haven't tested it:

You can have an invisible field that is set based on a calculation from several fields, and use this field for the conditional email notification.
Just to give an idea, something like:

Subst myUser1Note = $shell( if [ $Platform = "Workstation" ] && [ $Downtime = "Yes" ] then echo "notify";else echo "idle";fi)
Email myUser1Note notify = user1@xyz.com

And if you like you make this field invisible by skipping it in:
Show Attributes = ...
and
Show Attributes Edit = ...


Just an idea...

Andreas
  67912   Tue May 19 12:26:39 2015 Question Jacky Lizli@hawaii.eduQuestionLinux2.9.2Entry size too large for email notification

Hi,

I am doing an inline image that is about 2.2 MB.  When I do a submit, I got the following message:

Error sending Email via <i>"<email server>"</i>: Entry size too large for email notification.

May I know what is the limit of the entry size and how do I change it?  Thank you.

Jacky

  67913   Tue May 19 12:27:01 2015 Question Jacky Lizli@hawaii.eduQuestionLinux2.9.2Entry size too large for email notification

Hi,

I am doing an inline image that is about 2.2 MB.  When I do a submit, I got the following message:

Error sending Email via <i>"<email server>"</i>: Entry size too large for email notification.

May I know what is the limit of the entry size and how do I change it?  Thank you.

Jacky

  67914   Tue May 19 16:34:20 2015 Reply Andreas Luedekeandreas.luedeke@psi.chQuestionLinux2.9.2Re: Entry size too large for email notification
Hi Jacky,
if I read the source code correctly then the maximum size of a base64 encoded email is hard coded to be 10 MB in elogd.h (recompile after changing it):
#define MAX_CONTENT_LENGTH 10*1024*1024
But I think that an 2.2 MB image should easily fit into that.
Andreas
Jacky Li wrote:

Hi,

I am doing an inline image that is about 2.2 MB.  When I do a submit, I got the following message:

Error sending Email via <i>"<email server>"</i>: Entry size too large for email notification.

May I know what is the limit of the entry size and how do I change it?  Thank you.

Jacky

  67929   Fri May 22 13:43:14 2015 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.9.2Re: Entry size too large for email notification

The size is defined by the variable MAX_CONTENT_LENGTH in elogd.c which is set to 10 MB. But email attachments are encoded in ASCII form, so they take useually 3-4 times the space of the binary format. If you have problems with large emails, you can use the option "Email Format = 111" which causes only the names of attachments to be included in email notifications. Users can then still click on the elog link inside the email notification and download the attachment from the elog page.

Jacky Li wrote:

Hi,

I am doing an inline image that is about 2.2 MB.  When I do a submit, I got the following message:

Error sending Email via <i>"<email server>"</i>: Entry size too large for email notification.

May I know what is the limit of the entry size and how do I change it?  Thank you.

Jacky

 

  68024   Mon Jun 15 19:38:58 2015 Question Michael Ciancimcianci@lhs.orgQuestionWindows2.9.2Limited access to an attribute

Is there a way to limit access to an attribute "Reviewed by" to only supervisors?

Thank you for your help

Mike

  68025   Mon Jun 15 22:00:40 2015 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.9.2Re: Limited access to an attribute

No.

Michael Cianci wrote:

Is there a way to limit access to an attribute "Reviewed by" to only supervisors?

Thank you for your help

Mike

 

ELOG V3.1.5-3fb85fa6