Share

QmailAdmin

Tracker: Bugs

5 need an autorespond.c AND a vacation.c - ID: 1156347
Last Update: Comment added ( mbowe )

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.


Michael Bowe ( mbowe ) - 2005-03-04 00:23

5

Open

None

Nobody/Anonymous

None

None

Public


Comments ( 3 )




Date: 2005-05-07 22:01
Sender: mbowe

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


Date: 2005-03-04 04:47
Sender: mbowe

Logged In: YES
user_id=795826

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


Date: 2005-03-04 04:43
Sender: mbowe

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




Log in to comment.

Attached Files ( 3 )

Filename Description Download
qmailadmin-1.2.3-one-vacation-response-per-sender-day.txt Only permit one vacation response per sender per day Download
autorespond-fixed.c Modified autoresponder as described in ticket Download
vacation-fixed.c vacation responder as described in ticket Download

Changes ( 3 )

Field Old Value Date By
File Added 124095: vacation-fixed.c 2005-03-04 04:48 mbowe
File Added 124094: autorespond-fixed.c 2005-03-04 04:47 mbowe
File Added 124091: qmailadmin-1.2.3-one-vacation-response-per-sender-day.txt 2005-03-04 04:43 mbowe