Hello,

On 09/14/1999 16:27 -0400, Thomas Blauvelt ([EMAIL PROTECTED]) wrote:
> On Mon, 13 Sep 1999, Anand Buddhdev wrote:
> > man qreceipt
> 
> Yes, but is anyone sucessfully using this? 

what is successful usage in your opinion? If the program doesn't
crash or pose similar problems, this is successful enough for me.

> Are there any mailers which use the necessary 
> Notice-Requested-Upon-Delivery-To header  field?

Well, I wanted an unconditional reply, w/o any special headers, to anybody
who sends me mail. So I made the following patch to qreceipt.c (qmail-1.03,
what is qmail-1.04 anyway?):

$ rcsdiff -u qreceipt.c
===================================================================
RCS file: RCS/qreceipt.c,v
retrieving revision 1.1
diff -u -r1.1 qreceipt.c
--- qreceipt.c  1999/09/24 10:51:26     1.1
+++ qreceipt.c  1999/09/24 12:15:40
@@ -111,6 +111,10 @@
      if (!stralloc_copy(&messageid,h)) die_nomem();
      break;
    case H_NOTICEREQUESTEDUPONDELIVERYTO:
+   case H_TO:
+   case H_CC:
+   case H_BCC:
+   case H_APPARENTLYTO:
      doordie(h,token822_parse(&hfin,h,&hfbuf));
      doordie(h,token822_addrlist(&hfrewrite,&hfaddr,&hfin,rwnotice));
      break;


This sends me a DELIVERY SUCCESS -story any time I get a mail...
I think this can be easily customized using hfield.[ch], but have
not tested this.



Regards,

Toni.

--------                                        NIC: TM2155
Oeko.neT Mueller & Brandt GbR                   sales: [EMAIL PROTECTED]
v: +49 2261 979364 f: +49 2261 979366           http://www.oeko.net
Unix, networking, administration, consulting, programming, Internet services


Reply via email to