Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 297 of 807  Not logged in ELOG logo
ID Date Icondown Author Author Email Category OS ELOG Version Subject
  66676   Wed Jan 13 11:00:57 2010 Reply Stefan Rittstefan.ritt@psi.chBug reportWindows2.7.8Re: email message id

David Pilgram wrote:

Stefan Ritt wrote:

george papalexis wrote:

We noticed some elog email messages were not showing up in our inboxes at random.  What we believe is happening is when a elog entry is created it is assigned a message id that the mail servers will use.  If a message is edited that same message id is used and some mail servers involved will ignore the duplicate message id.  We have also noticed when a elog entry is deleted the next entry created will assume the deleted entry message id and just like above the email will be ignored since it has a duplicate message id. 

The message ID is part of the "user data" of the email, not of the standard email header. So the mail servers "do not know" about the message ID, which make it strange that double messages are filtered. Nobody else reported this problem before. Maybe is it related to your SPAM filter? Can you check if the double entries are classified as SPAM in your case? 

 Hi Stefan,

I seem to recall this behaviour on this forum.  I was writing an entry, and due to mis-typing, submitted the entry before I had finished.  So I edited it, but there was only the one email sent.  I thought that this was how the thing was supposed to work.  To try it now, I am going to submit this, then edit the entry a little further, and we can all see if one or two emails are generated.

Well, I see just one email notification, have you already submitted your second? I tried on the "Demo" logbook here and I got two notifications. This can of course be turned off with the option "Suppress email on edit = 1". Maybe you are using this? 

  66677   Wed Jan 13 11:15:10 2010 Reply David PilgramDavid.Pilgram@epost.org.ukInfoLinux2.7.8Re: Proxy Error
> Having made one entry in the thread about message ID, I could neither edit the entry or add an additional reply
> without getting "Proxy Error" messages.  I've had this trouble on this forum before, a long time ago.  Perhaps
> it is connected with the html coding?
Hi Stefan,

I now cannot even reply to you in the message id thread; I keep getting:

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST /elogs/Forum/.

Reason: Error reading from remote server

Apache/2.2.3 (Scientific Linux) Server at midas.psi.ch Port 443

It is, I think, something to do with the html coding (as I normally use plain, I don't come across this as an issue).

However, in the cause of the experiment, I will submit this entry, then go back and edit it, and if I don't get
Proxy Error, then that certainly will be something to do with the html coding.

And this is an extra edited line - if you see this, I got past the proxy error issue this time.  But did you get two
emails?
  66678   Wed Jan 13 11:17:39 2010 Reply David PilgramDavid.Pilgram@epost.org.ukInfoLinux2.7.8Re: Proxy Error
> > Having made one entry in the thread about message ID, I could neither edit the entry or add an additional reply
> > without getting "Proxy Error" messages.  I've had this trouble on this forum before, a long time ago.  Perhaps
> > it is connected with the html coding?
> Hi Stefan,
> 
> I now cannot even reply to you in the message id thread; I keep getting:
> 
> Proxy Error
> 
> The proxy server received an invalid response from an upstream server.
> The proxy server could not handle the request POST /elogs/Forum/.
> 
> Reason: Error reading from remote server
> 
> Apache/2.2.3 (Scientific Linux) Server at midas.psi.ch Port 443
> 
> It is, I think, something to do with the html coding (as I normally use plain, I don't come across this as an issue).
> 
> However, in the cause of the experiment, I will submit this entry, then go back and edit it, and if I don't get
> Proxy Error, then that certainly will be something to do with the html coding.
> 
> And this is an extra edited line - if you see this, I got past the proxy error issue this time.  But did you get two
> emails?

That is interesting.  I can make 1 (one) submission to a thread which uses html coding, then I get hit by proxy errors. 
But I can edit, play around or whatever if it is in plain coding.  Yet to see how many emails were generated...
  66679   Wed Jan 13 11:19:59 2010 Reply David PilgramDavid.Pilgram@epost.org.ukInfoLinux2.7.8Re: Proxy Error
> > > Having made one entry in the thread about message ID, I could neither edit the entry or add an additional reply
> > > without getting "Proxy Error" messages.  I've had this trouble on this forum before, a long time ago.  Perhaps
> > > it is connected with the html coding?
> > Hi Stefan,
> > 
> > I now cannot even reply to you in the message id thread; I keep getting:
> > 
> > Proxy Error
> > 
> > The proxy server received an invalid response from an upstream server.
> > The proxy server could not handle the request POST /elogs/Forum/.
> > 
> > Reason: Error reading from remote server
> > 
> > Apache/2.2.3 (Scientific Linux) Server at midas.psi.ch Port 443
> > 
> > It is, I think, something to do with the html coding (as I normally use plain, I don't come across this as an issue).
> > 
> > However, in the cause of the experiment, I will submit this entry, then go back and edit it, and if I don't get
> > Proxy Error, then that certainly will be something to do with the html coding.
> > 
> > And this is an extra edited line - if you see this, I got past the proxy error issue this time.  But did you get two
> > emails?
> 
> That is interesting.  I can make 1 (one) submission to a thread which uses html coding, then I get hit by proxy errors. 
> But I can edit, play around or whatever if it is in plain coding.  Yet to see how many emails were generated...

Hi Stefan,

I only got one email in response to the second entry of this thread, no email was received after the edit of the entry.  The
next email received was due to the third entry of this thread.
  66680   Wed Jan 13 11:34:51 2010 Reply Stefan Rittstefan.ritt@psi.chInfoLinux2.7.8Re: Proxy Error
> I only got one email in response to the second entry of this thread, no email was received after the edit of the entry.  The
> next email received was due to the third entry of this thread.

Ok, let me try (sorry to all the users who subscribe to this forum for pestering you...):

1st reply to your entry.

1st reply edited.
  66681   Wed Jan 13 11:39:23 2010 Reply Stefan Rittstefan.ritt@psi.chInfoLinux2.7.8Re: Proxy Error
> > I only got one email in response to the second entry of this thread, no email was received after the edit of the entry.  The
> > next email received was due to the third entry of this thread.
> 
> Ok, let me try (sorry to all the users who subscribe to this forum for pestering you...):
> 
> 1st reply to your entry.
> 
> 1st reply edited.

I got two email notifications, the second one I attached as a screen shot. So I don't know what happened in your case. The problem 
with the proxy is sometimes related to slow internet connections. If the HTML code transported over the internet has some delay 
between packets, the proxy server sometimes drops the connection. I don't know how to fix that in my Apache. If you edit in HTML, 
your browser downloads the JavaScript code and icons for the edit window, which is a lot of data, so the dropping is much more 
likely.
Attachment 1: Capture.png
Capture.png
  66682   Wed Jan 13 12:00:04 2010 Reply David PilgramDavid.Pilgram@epost.org.ukInfoLinux2.7.8Topic changed to: emails sent/received after edited entries.
> > > I only got one email in response to the second entry of this thread, no email was received after the edit of the entry.  The
> > > next email received was due to the third entry of this thread.
> > 
> > Ok, let me try (sorry to all the users who subscribe to this forum for pestering you...):
> > 
> > 1st reply to your entry.
> > 
> > 1st reply edited.
> 
> I got two email notifications, the second one I attached as a screen shot. So I don't know what happened in your case. The problem 
> with the proxy is sometimes related to slow internet connections. If the HTML code transported over the internet has some delay 
> between packets, the proxy server sometimes drops the connection. I don't know how to fix that in my Apache. If you edit in HTML, 
> your browser downloads the JavaScript code and icons for the edit window, which is a lot of data, so the dropping is much more 
> likely.
Hi Stefan,

I confirm that this is a slow internet line, so that explains the Proxy Error.  

Maybe I should just keep my head down on threads where people use html coding ;-)

Did you receive two emails to my entry 66677?  I only received one.

I only received one email to your posting 66680 - the first entry, not the edited version.
  66683   Wed Jan 13 12:18:54 2010 Reply Stefan Rittstefan.ritt@psi.chInfoLinux2.7.8Topic changed to: emails sent/received after edited entries.
> > > > I only got one email in response to the second entry of this thread, no email was received after the edit of the entry.  The
> > > > next email received was due to the third entry of this thread.
> > > 
> > > Ok, let me try (sorry to all the users who subscribe to this forum for pestering you...):
> > > 
> > > 1st reply to your entry.
> > > 
> > > 1st reply edited.
> > 
> > I got two email notifications, the second one I attached as a screen shot. So I don't know what happened in your case. The problem 
> > with the proxy is sometimes related to slow internet connections. If the HTML code transported over the internet has some delay 
> > between packets, the proxy server sometimes drops the connection. I don't know how to fix that in my Apache. If you edit in HTML, 
> > your browser downloads the JavaScript code and icons for the edit window, which is a lot of data, so the dropping is much more 
> > likely.
> Hi Stefan,
> 
> I confirm that this is a slow internet line, so that explains the Proxy Error.  
> 
> Maybe I should just keep my head down on threads where people use html coding ;-)
> 
> Did you receive two emails to my entry 66677?  I only received one.
> 
> I only received one email to your posting 66680 - the first entry, not the edited version.

I checked my email server and found that the second message really went though it. But then I realized that there is indeed the "Message-
ID:" in the email header (which I completely forgot in meantime). So maybe George Paplexis is right in that some mail 
server/forwarder/receiver ignore a second email if it has the same ID. That would mean however that I have to introduce a "revision 
number" for elog entries, which gets incremented on each edit and gets attached the the message-ID, so that it becomes unique again. 
That's quite some work and has to wait a bit.
ELOG V3.1.5-3fb85fa6