[Tickets #12819] Vacation with Start/End dates triggered a month later near midnight

noreply at bugs.horde.org noreply at bugs.horde.org
Mon Nov 4 23:53:47 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12819
------------------------------------------------------------------------------
  Ticket             | 12819
  Created By         | delrio at mie.utoronto.ca
  Summary            | Vacation with Start/End dates triggered a month later
                     | near midnight
  Queue              | Ingo
  Version            | 3.1.2
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


delrio at mie.utoronto.ca (2013-11-04 23:53) wrote:

User set vacation with Start date Sept 30 and End date Oct 2, but  
Autoreply got triggered again near midnight  on Nov 1 (a month later)  
for certain senders on a different timezone.

The emails that triggered the late autoreply had "Received" headers on  
different timezones, e.g.

Received: ... Nov 1 (local timezone)
Received: ... Oct 31 (remote timezone)

The part of the sieve script that checks for Oct. 01-02 match is (simplified):

if header :regex "Received" "^.*(Oct)... {
    if header :regex "Received" "^.*([0 ]1|[0 ]2)... {
      vacation ...
   }
}

but this also matches emails on Nov 01 that have at least one Received  
header on Oct 31.






More information about the bugs mailing list