View Issue Details

IDProjectCategoryView StatusLast Update
0005916SOGoWeb Administrationpublic2024-02-01 08:21
Reporterdanbet Assigned Toqhivert  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformvirtual machineOSDebianOS Version11
Product Version5.9.1 
Summary0005916: Automatic response with date and time does not work anymore since version 5.9.1
Description

Since version 5.9.1, when automatic response is enabled, no email is sent to the sender when using time information in the Sieve rule. The out-of-office email is sent without specifying a time, i.e. only with a date. With SOGo 5.9.0 it worked with time specifications.

However, I see no difference in the Sieve rule between the one created by version 5.9.1 and the one created by version 5.9.0. I use Dovecot as the IMAP server, this version has remained identical, only SOGo has been updated from 5.9.0 to 5.9.1.

Here is the rule as created by SOGo.
if allof ( not exists ["list-help", "list-unsubscribe", "list-subscribe", "list-owner", "list-post", "list-archive", "list-id", "Mailing -List"], not header :comparator "i;ascii-casemap" :is "Precedence" ["list", "bulk", "junk"], not header :comparator "i;ascii-casemap" :matches "To " "Multiple recipients of", currentdate :value "ge" "date" "2024-01-04", currentdate :value "le" "date" "2024-01-22", anyof ( date :value "ge" :zone "+0100" "date" "time" "17:00:00", date :value "lt" :zone "+0100" "date" "time" "16:00:00" ) ) { if header :matches "Subject" "" { set "subject" "${1}"; } vacation :days 1 :subject "Automatic reply: ${subject}" :addresses ["me@domain.tld"] text:
Here is the text.
.
;
}

For comparison, a rule like the one created by Roundcube with another account (not a SOGo account). From this account the automatic answer is sent.
if allof (currentdate :zone "+0100" :value "ge" "iso8601" "2024-01-04T16:00:00+01:00", currentdate :zone "+0100" :value "le" "iso8601" " 2024-01-22T17:00:00+01:00")
{
vacation :days 1 :addresses "me@otherdomain.tld" :subject "Notice of absence" text:
Here is the text.
.
;
}

Steps To Reproduce
  • Enter absence report with date and time
  • Send an e-mail to the relevant user in the desired time range.
  • Wait for the automatic reply
  • However, there is no
Tagssieve

Activities

qhivert

qhivert

2024-01-31 15:08

administrator   ~0017543

Hello,
Could you share me the fullscreen of your preferences -> mail -> vacation ?

danbet

danbet

2024-01-31 15:23

reporter   ~0017544

I hope this is what you need.

Automatische Antwort.png (217,497 bytes)   
Automatische Antwort.png (217,497 bytes)   
qhivert

qhivert

2024-01-31 15:39

administrator   ~0017545

Last edited: 2024-01-31 15:41

OK I think i've got it.
There is something very tricky because of the paramater's phrasing (I don't know how it sounds in german but it's the case in english).
What you set for the time period does not mean:
enable from 04.01.2024 17:00 to 22.01.204 08:00
But:
enable everyday from 04.01.2024 to 22.01.204 between 17:00 to 08:00 (through the night)

The other thing concerning is that tour sieve mention 16:00 instead of 08:00 :/

Could you first remove the hours limitation and test it ?

danbet

danbet

2024-01-31 20:59

reporter   ~0017546

The picture is incorrectly recreated. That's why it incorrectly says 8:00 a.m.

If I omit the time, the notification works. I wrote that at the very beginning.

You can also specify the days of the week on which an absence message should be sent. So it is now clear to me how the time indication should be understood.

Just one more thing: I have never seen it like this in any other program. Normally the times are used to fine tune the start and end of the automatic answer.

Issue History

Date Modified Username Field Change
2024-01-31 14:38 danbet New Issue
2024-01-31 14:38 danbet Tag Attached: sieve
2024-01-31 15:08 qhivert Note Added: 0017543
2024-01-31 15:08 qhivert Assigned To => qhivert
2024-01-31 15:08 qhivert Status new => feedback
2024-01-31 15:23 danbet Note Added: 0017544
2024-01-31 15:23 danbet File Added: Automatische Antwort.png
2024-01-31 15:23 danbet Status feedback => assigned
2024-01-31 15:39 qhivert Note Added: 0017545
2024-01-31 15:39 qhivert Note Edited: 0017545
2024-01-31 15:40 qhivert Status assigned => feedback
2024-01-31 15:40 qhivert Note Edited: 0017545
2024-01-31 15:41 qhivert Note Edited: 0017545
2024-01-31 20:59 danbet Note Added: 0017546
2024-01-31 20:59 danbet Status feedback => assigned
2024-02-01 08:21 qhivert Status assigned => closed
2024-02-01 08:21 qhivert Resolution open => fixed