Article View: comp.mail.misc
Article #3989Re: Filter for email bounce messages
From: Wolfgang S. Rupprecht
Date: Wed, 23 Oct 1991 18:22
Date: Wed, 23 Oct 1991 18:22
40 lines
1574 bytes
1574 bytes
palkovic@mp.cs.niu.edu (John A. Palkovic) writes:
>This is a filter for email bounces which I hacked together over the
>summer. It uses an awk(1) script to do the work of removing the text
>and subject of the bounced message.
Why bother? Just have IDA not send the message back. Its a one line
change.
diff -c savemail.c.~1~ savemail.c
*** savemail.c.~1~ Mon Jun 24 12:23:02 1991
--- savemail.c Fri Oct 11 00:31:50 1991
***************
*** 244,252 ****
break;
}
}
if (returntosender(e->e_message != NULL ? e->e_message :
"Unable to deliver mail",
! q, TRUE) == 0)
{
state = ESM_DONE;
break;
--- 244,255 ----
break;
}
}
+
+ #define BOUNCE_WHOLE_MSG FALSE /* Was TRUE. DONT send back whole msg. -wsr */
+
if (returntosender(e->e_message != NULL ? e->e_message :
"Unable to deliver mail",
! q, BOUNCE_WHOLE_MSG) == 0)
{
state = ESM_DONE;
break;
--
Wolfgang Rupprecht wolfgang@wsrcc.com (or) uunet!wsrcc!wolfgang
Snail Mail Address: Box 6524, Alexandria, VA 22306-0524
Technical Details
Message-ID:
<1991Oct23.182254.19036@wsrcc.com>Path:
arc1-ca.pugleaf.net!wupost!uunet!wsrcc!wolfgangReferences:
<1991Oct22.163048.2156@mp.cs.niu.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.misc,comp.mail.sendmail,alt.sources Path: arc1-ca.pugleaf.net!wupost!uunet!wsrcc!wolfgang From: wolfgang@wsrcc.com (Wolfgang S. Rupprecht) Subject: Re: Filter for email bounce messages Message-ID: <1991Oct23.182254.19036@wsrcc.com> Date: Wed, 23 Oct 91 18:22:54 GMT Organization: Wolfgang S Rupprecht Computer Consulting, Washington DC. Keywords: sendmail bounces privacy References: <1991Oct22.163048.2156@mp.cs.niu.edu>