Sieve based a day of week
andre at schild.ws
Fri Sep 20 03:12:05 EDT 2013
Am 18.09.2013 20:20, schrieb Stefan G. Weichinger:
> Am 13.03.2013 15:04, schrieb André Schild:
>> we have a customer where they have two persons working each 4 days a week.
>> On friday in the email of User1 there should be a auto answer for friday
>> On Monday in the mail of User2, there should be a auto answer for monday
>> I think this should be possible when RFC 5260 is implemented,
>> but according to this, we don't have it yet.
>> Is there another way I could activate/deactivate the auto answers
>> on day-per-week automatically ?
> I also need that ... any answer found yet?
> AFAI googled the "date" extension would be able to do that ... but I
> don't have that in my gentoo installation.
Since cyrus currently does not allow this, I had to switch to a CRON
I use two files for each "state" we wish to have.
The script file to set the new sieve rules:
cd /opt/auto-sieve/user at domain.ch
sieveshell --user=user at domain.ch --password=XXXXXX
--authname=user at domain.ch --execfile=activate.ss localhost
And the file with the commands to put the sieve file to the server
And finally the sieve script for friday.
With best regards
More information about the Info-cyrus