The minimum days is 1, so repeated messages from the same sender on the same day will not be responded to. This is an RFC requirement, and although I think it might be reasonable to set ":days 0" in the vacation command to force a plain auto-reply, not even the DBMail auto-reply does this (er, it's not supposed to...)
As for the tests, you should be able to construct appropriate Sieve header tests and put the vacation command inside and if block. If you come up with a nice script, consider posting it to the DBMail wiki! Aaron On Fri, 2006-08-18 at 14:15 -0400, Matthew T. O'Connor wrote: > OK, so now that I have Sieve working I'm trying to do an auto-reply type > thing but using Sieve. > > I want to send an auto-reply to emails sent to a particular email > address, but only of they match certain criteria (Certain words in the > subject, certain other header values etc...). > > I thought the Sieve vacation command would do this for me, but it's not > really what I'm looking for because it will only reply only once per > <days variable>. I want a straight auto-response feature. > > The only solution I have thought of is to use sieve to redirect the > message to a special mailbox that will send the auto-reply, however this > is suboptimal since the auto-reply will be coming from the special > mailbox, not from the user that the email was originally sent to. > > Help! > _______________________________________________ > Dbmail-dev mailing list > [email protected] > http://twister.fastxs.net/mailman/listinfo/dbmail-dev
