[Exim] Filters and date checks.

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jerry Wintrode
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [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.