The autorespond.c program has been coded to behave
(naturally enough) as an autoresponder
However qmailadmin calls this program for servicing both
autoresponder duties ("mail robots"), and also for
vacation duties
autorespond.c can be easily tweaked to work nicely
either as a autoresponder OR as a vacation message
prog. However it cant do BOTH tasks, the required
functionality / exit codes are mutually exclusive
-----------------
What I propose is :
* we make a copy the autoresponder.c and call it
vacation.c
* Edit vacation.c and tweak the exit codes appropriately
(Jeremy Kitchen has already posted about this - look at
the patches section ticket 808962)
* Modify qmailadmin so that when writing .qmail files for
robots we call autorespond binary, and when
writing .qmail files for vacation we call the vacation
binary.
Logged In: YES
user_id=795826
When calling the vacation binary, we need to modify the
parameters that are being installed into the .qmail file.
I reckon a good combo is to allow max one vacation message
to any given sender in each 24 hour period
Only permit one vacation response per sender per day
Logged In: YES
user_id=795826
I have attached my examples of the tweaked autorespond.c
and vacation.c
Modified autoresponder as described in ticket
vacation responder as described in ticket
Logged In: YES
user_id=795826
This is link for Jeremy Kitchen's post
http://sourceforge.net/tracker/index.php?
func=detail&aid=808962&group_id=6691&atid=306691