On Sat, Jul 29, 2000 at 02:35:56PM +0200, Olivier M. wrote:
> Currently trying qmail-autoresponder (http://em.ca/~bruceg/qmail-autoresponder/) : 

Great!

> Docs says:
> >- Limits rate of automatic responses (defaults to a maximum of one
> >  message every hour).
> 
> well, I always get _two_ messages,
> 
> shouldn't it be :
> 
>         /* If the user's count is already over the max,
>          * don't record any more. */
>         if(++count >= max)
>           return 0;

You are right.  The logic worked before the rewrite for 0.92, and I
guess I missed that one.  The tests also failed to catch this.  I'll
make sure they work this time.

> PS: the thing with "-s" is ok, but I like the "original" vacation
> feature with $SUBJECT in _BODY_ much better : do you plan to add
> it to qmail-autorespond ?

Reluctantly, yes.  Would something like "%S" work for you?  That would
greatly simplify the parsing logic.

> PPS: if there is a From: or a Reply-To: field, should the autoresponder
> respond to this address ? 

I think not.  Responding to the envelope sender is pretty much the only
safe thing to do, and it neatly avoids all the trouble one would get
into to properly parse an address field.
-- 
Bruce Guenter <[EMAIL PROTECTED]>                       http://em.ca/~bruceg/

PGP signature

Reply via email to