[Exim] Filters and date checks.

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jerry Wintrode
Dátum:  
Címzett: exim-users
Tárgy: [Exim] Filters and date checks.
I would like a way to build a filter (.forward) file that checks for a
date range as a condition before running vacation.

Something like:

if $tod_epoch > {epoch start #} and $tod_epoch < (epoch end #} then

vacation

elseif $tod_epoch > {epoch end #} then

start some clean up routine to get rid of .forward

endif



With the above I can build a web front end for users to build .forward
files with messing them up each time. And they automatically come down
when they should.

Any ideas?

Jerry Wintrode
Tripos, Inc.