[SOGo] Vacation, cronjob and sieve filter
Sorry, i need an explanation. I don't understand why sogo's develepers use a cronjob for disable vacation. A cronjab executed every hour with this script: sogo-tool expire-autoreply authname:authpasswd Sorry, but i don't like it :-) I have made some test and created manually a filter like this: require [date,relational,vacation,fileinto]; if allof ( currentdate :value ge date 2012-03-03, currentdate :value le date 2012-03-09, 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* ) {vacation :days 7 :addresses [ales...@nethesis.it] text: Ciao ciao . ; } - no cronjob - no sogo-tool - startdate (that sogo-tool not implements) - endate - consistent with other filters My dovecot supports all http://wiki.dovecot.org/LDA/Sieve#Vacation_auto-reply It works, why not use this? -- Alessio Fattorini (alessio.fattor...@nethesis.it) nethesis srl - Via degli Olmi 16/4 - 61100 Pesaro (PU) tel. +39 0721 405516 - fax +39 0721 268147 www.nethesis.it - i...@nethesis.it -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Vacation, cronjob and sieve filter
Completely agree that sogo should manage this without cronjob, but inverse needs to support Cyrus which doesn't implement the sieve date extention: http://www.sogo.nu/bugs/view.php?id=1530 -jf -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Vacation, cronjob and sieve filter
Nella citazione in data gio 08 mar 2012 15:39:26 CET, Jan-Frode Myklebust ha scritto: Completely agree that sogo should manage this without cronjob, but inverse needs to support Cyrus which doesn't implement the sieve date extention: Thank you very much. -- Alessio Fattorini (alessio.fattor...@nethesis.it) nethesis srl - Via degli Olmi 16/4 - 61100 Pesaro (PU) tel. +39 0721 405516 - fax +39 0721 268147 www.nethesis.it - i...@nethesis.it -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Vacation, cronjob and sieve filter
... Completely agree that sogo should manage this without cronjob, but inverse needs to support Cyrus which doesn't implement the sieve date extention: http://www.sogo.nu/bugs/view.php?id=1530 ... I agree. But with Dovecot as sieveIMAP provider I limited the issues mentioned in the bug report by making the (manage)sieve port only available for the sogo hosts (localhost in my case) and limiting the master user to sieve: passdb { driver = passwd-file master = yes args = /etc/dovecot/passwd.%s } with the master user password for sieve in '/etc/dovecot/passwd.sieve'. Still only a very limited workaround of course. -- users@sogo.nu https://inverse.ca/sogo/lists