Re: Sending a deferral warning back to the sender?

2001-06-07 Thread Frank Tegtmeyer

Jack McKinney [EMAIL PROTECTED] writes:

 nice to be able to specify it on the command line, that way I can run
 multiple versions in order to generate, for example, a 15m warning, a 4h
 warning, and a 3d warning.
 Before I get too far into proving a race condition and writing around
 this, has this issue come up before?

There is an (earlier) alternate implementation in Perl called
'qmail_bounce'. I used it for years without problems (after some small
changes to notify only senders from our domains).

On qmail.org:

* Brian T. Wightman has written a delayed-mail notifier. 
* Another delayed-mail notifier is available from Matt Ranney.

I use the one from Brian.

Regards, Frank



Sending a deferral warning back to the sender?

2001-06-06 Thread Jack McKinney

 I have been searching the archives for this, but found nothing so
far.

 sendmail would send the sender a warning after 2 hours (actually, this
time was configurable) if it has been unable to send the message.  Can qmail
do this?  Currently, if our support staff sends a customer an email, they
may not find out for 5 days that the email never reached the customer for
whatever reason (badly typed email address, etc.).
 I have looked through the man pages and done several searches through
the archives to no avail.  The fact that I did not find a discussion of
why qmail does not do this (especially when someone posted a long list of
sendmail 'features' that qmail was missing, but did not list this one)
gives me hope that it is actually in there somewhere.  I also found nothing
on the web site or in the FAQ, so now I am tackling source code 8-(.

--
There is no parameter that makes it impossibleJack McKinney
 for you to perform still more excellently.   [EMAIL PROTECTED]
   -Mario Cuomo, on the lack of a clock in baseballhttp://www.lorentz.com
1024D/D68F2C07 4096g/38AEF076

 PGP signature


Re: Sending a deferral warning back to the sender?

2001-06-06 Thread Charles Cazabon

Jack McKinney [EMAIL PROTECTED] wrote:
  I have been searching the archives for this, but found nothing so
 far.

See qmail.org.  The answer is there.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: Sending a deferral warning back to the sender?

2001-06-06 Thread peter green

* Jack McKinney [EMAIL PROTECTED] [010606 13:54]:
  I have been searching the archives for this, but found nothing so
 far.

(Hint: try searching the archives on ``notify''.)

  sendmail would send the sender a warning after 2 hours (actually, this
 time was configurable) if it has been unable to send the message.  Can qmail
 do this?  Currently, if our support staff sends a customer an email, they
 may not find out for 5 days that the email never reached the customer for
 whatever reason (badly typed email address, etc.).

[http://untroubled.org/qmail-notify/]

/pg
-- 
Peter Green : Architekton Internet Services, LLC : [EMAIL PROTECTED]
---
All language designers are arrogant. Goes with the territory...
(By Larry Wall)




Re: Sending a deferral warning back to the sender?

2001-06-06 Thread Jack McKinney

Big Brother tells me that Charles Cazabon wrote:
 Jack McKinney [EMAIL PROTECTED] wrote:
   I have been searching the archives for this, but found nothing so
  far.
 
 See qmail.org.  The answer is there.

As I indicated, I did search there.  I found nothing.  Could you be
more specific?


 PGP signature


Re: Sending a deferral warning back to the sender?

2001-06-06 Thread Jack McKinney

Big Brother tells me that peter green wrote:
 * Jack McKinney [EMAIL PROTECTED] [010606 13:54]:
   I have been searching the archives for this, but found nothing so
  far.
 
 (Hint: try searching the archives on ``notify''.)
 
 [http://untroubled.org/qmail-notify/]
 
Thank you.  I'll check this out.

 PGP signature


Re: Sending a deferral warning back to the sender?

2001-06-06 Thread Jack McKinney

Big Brother tells me that peter green wrote:
 
 [http://untroubled.org/qmail-notify/]

OK.  I installed this and am running it from a cron job, with an
expiration of 15 minutes.  It seems to work fine.  I note two things,
though.  Firstly, it appears that there might be a race condition in
the time checking/saving code that could cause a message to slip through
the cracks and not generate a notification.  Secondly, there is only one
notification timestamp file to record when the last run is.  It would be
nice to be able to specify it on the command line, that way I can run
multiple versions in order to generate, for example, a 15m warning, a 4h
warning, and a 3d warning.
Before I get too far into proving a race condition and writing around
this, has this issue come up before?


 PGP signature