Hi,

maybe you can write a small bash script and run it with cron.

#!/bin/bash

DAYOFWEEK=$(date +"%u")

if [[ ($DAYOFWEEK -eq 3) ]]; then
grep -qsxF '{ vacation :days 1 :addresses ["your@mail.address"] text: I'm out 
of office.; }' /path/to/your/sieve/sogo.sieve || printf "{ vacation :days 1 
:addresses ["your@mail.address"] text: I'm out of office.; }" >> 
/path/to/your/sieve/sogo.sieve

elif
sed -i '{ vacation :days 1 :addresses ["your@mail.address"] text: I'm out of 
office.; }/d' /path/to/your/sieve/sogo.sieve

fi

untested :)

Juergen

Am Donnerstag, Mai 20, 2021 10:31 CEST, "Pierre Fumet" (p...@zdn.fr) 
<users@sogo.nu> schrieb:
 Hi all,

SOGo webmail can activate vacation auto-reply and schedule beginning and end 
for this activation.

But would it be possible to schedule auto-reply only one day each week, eg. on 
wednesday ?

Cheers,

--
Pierre Fumet
--
users@sogo.nu
https://inverse.ca/sogo/lists


--
Mit freundlichen GrÃŒssen
JÃŒrgen EchterECHTER KÃŒchen & Elektro GmbH
Augsburger Str. 49

86529 Schrobenhausen

Tel: 08252 / 8976 - 0
Fax: 08252 / 8976 - 10
e-mail: i...@echter-kuechen-elektro.de
web: www.echter-kuechen-elektro.deReg.-Gericht: Ingolstadt Nr. HR B 101907

Ust.-Id. Nr.: DE234419866

Steuernummer: 124/125/51166

GeschÀftsfÌhrer: Thomas Echter
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to