On Mon, 2009-06-15 at 11:48 +0200, Jan P. Kessler wrote: > EASY steve.h...@digitalcertainty.co.uk schrieb: > > Probably a stupid question, but in practical terms is it possible to set > > a header filter that will reject (or ideally defer) mail on time range? > > For example during the hours of 00:00 -> 07:00. > > > > postfwd a policy server would do this with the following rule: > > id=TIME_01; time=00:00:00 - 07:00:00; action=REJECT > > another example > id=TIME_02; days=Tue - Thu; action=REJECT > I have to be honest, I looked at Postfwd a couple of weeks back and it left me with a bad feeling. It was utter dependency hell to install - like Russian Dolls for one thing - and to see your logs littered with Perl errors like;
postfwd: warning - "Use of uninitialized value $_ in scalar chop at /usr/sbin/postfwd line 1958. kind of pushed me away from it. I don't doubt it's very flexible, but it's just not for me. I like things to be very light on resources and fast. Despite Wietse being quite cutting and dismissive at times, his Postfix still rocks and is dead stable. I don't like to make it *unstable* by putting things on it unless really necessary. I watched Barracuda do this and break stuff and don't want to go down that road. That's all a different story and I'm very grateful for all the input I have had in dealing with time ranges.