View Issue Details

IDProjectCategoryView StatusLast Update
0003727SOGoBackend Mailpublic2017-05-08 19:02
Reportersorintpro Assigned Toludovic  
PriorityurgentSeverityminorReproducibilityalways
Status closedResolutionsuspended 
Platform[Server] LinuxOSRHEL/CentOSOS Version6
Product Version3.1.2 
Summary0003727: Vacation message with always send = True and delay of one day does not get re-delivered after 24 hours
Description

If we try to send it after 24 hours, the vacation message does not get delivered again. If we try to send it after one day calculated with (hour of first send) + (hours to the end of the day) + 24 hours it does not get delivered. If we wait 3/4 days it gets delivered again.

I only have a doubt: it seems like every email resets the one day count. Is this the case?

Steps To Reproduce

Create a mailbox, set the vacation message, one day delay and always send message to True

TagsNo tags attached.

Activities

ludovic

ludovic

2016-06-14 11:46

administrator   ~0010361

SOGo doesn't send vacation messages - your mailstore (Dovecot/Cyrus/etc.) does.

sorintpro

sorintpro

2016-06-14 13:14

reporter   ~0010368

This is quite clear, thank you for your answer. How is SOGo sieve rule supposed to work? It does not work as supposed to do with cyrus, squirrel rule does work on the same cyrus, and since the sieve rule cannot be modified without patching and recompiling SOGo, I'm trying to clarify it before going that way.

ludovic

ludovic

2016-06-14 13:16

administrator   ~0010369

What do you mean by "the sieve rule cannot be modified without patching and recompiling SOGo" ? That doesn't make sense.

SOGo generates Sieve scripts and uploads them on the Sieve server. That's it - the rest is handled your mailstore.

sorintpro

sorintpro

2016-06-14 23:24

reporter   ~0010376

It means that SOGo generates a Sieve script from an hardcoded string. The sieve script that squirrelmail generates works fine on the same cyrus installation so, since it's not possible to modify the hardcoded string without patching and recompiling SOGo, I am asking you if you have a clue on why SOGo sieve script does not work as expected under cyrus.

ludovic

ludovic

2016-06-14 23:26

administrator   ~0010377

We have tons of Cyrus + SOGo installation that works perfectly.

So figure out what is wrong in the script.

sorintpro

sorintpro

2016-06-15 09:23

reporter   ~0010378

Have you specifically tested the one day delay with the option to always reply on cyrus 2.1.22 (RHEL5) ?

Anyway, I really don't understand why I should figure out what's wrong with the script if you hardcoded it in SOGo. If it's the script, it's a SOGo bug with cyrus 2.1.22. Isn't this thing supposed to be a bug tracker? It looks so to me.

ludovic

ludovic

2016-06-15 20:14

administrator   ~0010381

If it works with Squirrelmail, compare the generated script with the one from SOGo - that is what I suggested. It'll help you see what could be wrong from the script.

Also, I strongly suggest you drop the attitude - otherwise you won't get any help from anybody.

sorintpro

sorintpro

2016-07-05 09:13

reporter   ~0010466

Last edited: 2016-07-05 09:14

I just updated to 3.1.3 and I'm repeating the test.

Here is the rule that SOGo generated (from sieveshell):

get sogo
require ["vacation"];
vacation :days 1 :subject "Out of office" :addresses ["sogo@XXX"] text:
I'm out of office until 12 of august
.
;

And here is what squirrel generates:

get phpscript

This script has been automatically generated by avelsieve

(Sieve Mail Filters Plugin for Squirrelmail)

Warning: If you edit this manually, then the changes will not

be reflected in the users' front-end!

#AVELSIEVE_VERSIONYTo0OntzOjU6Im1ham9yIjtpOjE7czo1OiJtaW5vciI7aTo5O3M6NzoicmVsZWFzZSI7aTo5O3M6Njoic3RyaW5nIjtzOjU6IjEuOS45Ijt9
#AVELSIEVE_CREATED1467709495
#AVELSIEVE_MODIFIED1467709495
require ["fileinto","envelope","reject","vacation","imapflags","relational","comparator-i;ascii-numeric","regex","notify"];
#START_SIEVE_RULEYTo4OntzOjQ6ImNvbmQiO2E6MTp7aTowO2E6Mjp7czo0OiJraW5kIjtzOjc6Im1lc3NhZ2UiO3M6NDoidHlwZSI7czozOiJhbGwiO319czo0OiJ0eXBlIjtzOjE6IjEiO3M6OToiY29uZGl0aW9uIjtzOjM6ImFuZCI7czo2OiJhY3Rpb24iO3M6MToiNiI7czoxMzoidmFjX2FkZHJlc3NlcyI7czoyNDoic3F1aXJyZWxAaXRhbHNlbXBpb25lLml0IjtzOjExOiJ2YWNfc3ViamVjdCI7czoxMzoiT3V0IG9mIG9mZmljZSI7czo4OiJ2YWNfZGF5cyI7czoxOiIxIjtzOjExOiJ2YWNfbWVzc2FnZSI7czozNjoiSSdtIG91dCBvZiBvZmZpY2UgdW50aWwgMTIgb2YgYXVndXN0Ijt9END_SIEVE_RULE
if true
{
vacation :days 1 :addresses ["squirrel@XXX"] :subject "Out of office" text:
I'm out of office until 12 of august
.
;
}

I'm updating on the test tomorrow here if the rule works.
Thanks

sorintpro

sorintpro

2016-07-05 09:31

reporter   ~0010467

As a reference, I'm attaching the rule generated by SOGo 3.0, not working with cyrus-imapd-2.3.7-2.el5:

[root@imap test1]# cat sogo.script
require ["vacation"];
vacation :days 1 :subject "Out of office" :addresses ["test1@XXX"] text:
(null)
.
;

ludovic

ludovic

2017-05-08 19:02

administrator   ~0011801

Reopen if it still occurs with 3.2.9.

Issue History

Date Modified Username Field Change
2016-06-14 09:31 sorintpro New Issue
2016-06-14 11:46 ludovic Note Added: 0010361
2016-06-14 11:46 ludovic Status new => closed
2016-06-14 11:46 ludovic Assigned To => ludovic
2016-06-14 11:46 ludovic Resolution open => no change required
2016-06-14 13:14 sorintpro Note Added: 0010368
2016-06-14 13:14 sorintpro Status closed => feedback
2016-06-14 13:14 sorintpro Resolution no change required => reopened
2016-06-14 13:16 ludovic Note Added: 0010369
2016-06-14 23:25 sorintpro Note Added: 0010376
2016-06-14 23:25 sorintpro Status feedback => assigned
2016-06-14 23:26 ludovic Note Added: 0010377
2016-06-14 23:26 ludovic Severity major => minor
2016-06-15 09:23 sorintpro Note Added: 0010378
2016-06-15 20:14 ludovic Note Added: 0010381
2016-07-05 09:13 sorintpro Note Added: 0010466
2016-07-05 09:14 sorintpro Note Edited: 0010466
2016-07-05 09:31 sorintpro Note Added: 0010467
2017-05-08 19:02 ludovic Note Added: 0011801
2017-05-08 19:02 ludovic Status assigned => closed
2017-05-08 19:02 ludovic Resolution reopened => suspended