6.0.0-beta1
9/2/25

[#12819] Vacation with Start/End dates triggered a month later near midnight
Summary Vacation with Start/End dates triggered a month later near midnight
Queue Ingo
Queue Version 3.1.2
Type Bug
State No Feedback
Priority 1. Low
Owners Horde Developers (at)
Requester delrio (at) mie (dot) utoronto (dot) ca
Created 11/04/2013 (4320 days ago)
Due
Updated 02/01/2017 (3135 days ago)
Assigned 10/10/2016 (3249 days ago)
Resolved 02/01/2017 (3135 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/01/2017 09:35:31 AM Jan Schneider State ⇒ No Feedback
 
10/10/2016 09:46:44 PM Jan Schneider Comment #3
State ⇒ Feedback
Reply to this comment
Please try if the fix for bug #14486 fixed this too.
01/20/2016 03:05:39 PM delrio (at) mie (dot) utoronto (dot) ca Comment #2 Reply to this comment
I believe the fix would be to check only the first Received header.
For example, save the (first) Received header in a variable and 
compare only against that variable, but it would require the Sieve 
Variables extension.

(my own workaround was to modify the sieve script to check for 
"Received" "by our.server.example.com")
01/19/2016 08:03:53 PM Jan Schneider State ⇒ Assigned
Assigned to Horde DevelopersHorde Developers
 
11/04/2013 11:53:47 PM delrio (at) mie (dot) utoronto (dot) ca Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Vacation with Start/End dates triggered a month later near midnight
Queue ⇒ Ingo
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
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.

Saved Queries