Menu

#63 need an autorespond.c AND a vacation.c

open
nobody
None
5
2005-03-04
2005-03-04
No

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.

Discussion

  • Michael Bowe

    Michael Bowe - 2005-03-04

    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

     
  • Michael Bowe

    Michael Bowe - 2005-03-04

    Logged In: YES
    user_id=795826

    I have attached my examples of the tweaked autorespond.c
    and vacation.c

     
  • Michael Bowe

    Michael Bowe - 2005-03-04

    Modified autoresponder as described in ticket

     
  • Michael Bowe

    Michael Bowe - 2005-03-04

    vacation responder as described in ticket

     
  • Michael Bowe

    Michael Bowe - 2005-05-07

    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

     

Log in to post a comment.