Great Circle Associates Majordomo-Workers
(October 1996)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Patch for infinite loop of messages
From: carl @ chage . com (Carl Hage)
Date: Thu, 17 Oct 96 11:48:24 PDT
To: majordomo-workers @ greatcircle . com

I'm not on any of the majordomo elists, so I won't see any replis to the
list. (I don't admin majordomo, just help run a list at another site.)
Please pass along this fix to the appropriate elists and newsgroup(s),
plus insert the fix into the 1.94 release.

~/majordomo/patchinfo.txt
WARNING TO ALL MAJORDOMO ADMINISTRATORS: The patch below is required
to prevent infinite loops of bounced messages from nonstandard mailers.

I've been hit by another infinite loop of bounced messages problem
in a majordomo email list. The problem is that a mailer does not
properly follow the "Errors-To:" header and bounces messages to the
elist. Moreover, the Subject: header does not conform to the "usual"
mailer error message (Unix sendmail is the "standard" behavior used
by nearly all Internet email systems), thus majordomo can't catch this
bug.

--------------------------------------------------------------------------

The main problem is that mailers ignore (or lose) the "Errors-To:"
header. This problem should be reported as a serious bug, and corporate
and government CIO's should ban such mailers in thier organization.
(CIO's should also ban mailers that lose the From: address, but since
big names like Lotus/ccmail do this, it's probably a lost cause.)

To determine if a mailer has this problem, send email to a bogus
user in the domain, e.g. bogus@????????, and set the Errors-To: to
some other email address. (This may need to be done from outside a
proprietary email system to test a gateway.) If the message does not
bounce to the Errors-To address, this system could cause an infinite
loop if the subject line in the bounce message doesn't match a "usual"
email system.

--------------------------------------------------------------------------

Here is a patch to majordomo-1.93.tar.Z which will filter many of the
bounced messages that cause infinite loops, including some vacation
programs: (use "patch" or manually edit)

diff -c resend.orig resend
*** resend.orig	Fri Sep  8 17:03:56 1995
--- resend	Thu Oct 17 11:04:16 1996
***************
*** 206,218 ****
  		       && (/^subject:\s*subscribe\b/i ||
  			   /^subject:\s*unsubscribe\b/i ||
  			   /^subject:\s*help\b/i ||
! 			   /^subject:\s*RCPT:\b/ ||
! 			   /^subject:\s*Delivery Confirmation\b/ ||
! 			   /^subject:\s*NON-DELIVERY of:/ ||
! 			   /^subject:\s*Undeliverable Message\b/ ||
! 			   /^subject:\s*Receipt Confirmation\b/ ||
! 			   /^subject:\s*Failed mail\b/ ||
! 			   /^subject:\s.*\bchange\b.*\baddress\b/ ||
  			   /^subject:\s*request\b.*\baddition\b/i)) {
  		       &bounce("Admin request");
  		       } 
--- 206,232 ----
  		       && (/^subject:\s*subscribe\b/i ||
  			   /^subject:\s*unsubscribe\b/i ||
  			   /^subject:\s*help\b/i ||
! 			   /^subject:\s*RCPT:\b/i ||
! 			   /^subject:\s*Delivery Confirmation\b/i ||
! 			   /^subject:\s*NON-DELIVERY of:/i ||
! 			   /^subject:\s*Undeliverable Message\b/i ||
! 			   /^subject:\s*Receipt Confirmation\b/i ||
! 			   /^subject:\s*Failed mail\b/i ||
! 			   /^subject:\s*Mail failure\b/i ||
! 			   /^subject:\s*Message not deliverable\b/i ||
! 			   /^subject:\s*Delivery of Certified mail\b/i ||
! 			   /^subject:\s*Service Message\b/i ||
! 			   /^subject:\s*Delivery problems with your mail\b/i ||
! 			   /^subject:\s*Delivery(-| )Report\b/i ||
! 			   /^subject:\s*AUTO-REPLY\b/i ||
! 			   /^subject:\s*Waiting Mail\b/i ||
! 			   /^subject:\s*REJECTED:/i ||
! 			   /^subject:\s*Invalid destination\b/i ||
! 			   /^subject:\s*Non-Receipt Notification\b/i ||
! 			   /^subject:\s*Returned mail\b/i ||
! 			   /^subject:\s*unable to deliver mail\b/i ||
! 			   /^subject:\s.*\baway from my mail\b/i ||
! 			   /^subject:\s.*\bchange\b.*\baddress\b/i ||
  			   /^subject:\s*request\b.*\baddition\b/i)) {
  		       &bounce("Admin request");
  		       } 
%% End %%

I sent a similar fix last year. If you applied these fixes, you need to
apply the following patch:

diff -c resend.9508 resend
*** resend.9508	Thu Oct 17 09:45:08 1996
--- resend	Thu Oct 17 11:04:16 1996
***************
*** 212,217 ****
--- 212,228 ----
  			   /^subject:\s*Undeliverable Message\b/i ||
  			   /^subject:\s*Receipt Confirmation\b/i ||
  			   /^subject:\s*Failed mail\b/i ||
+ 			   /^subject:\s*Mail failure\b/i ||
+ 			   /^subject:\s*Message not deliverable\b/i ||
+ 			   /^subject:\s*Delivery of Certified mail\b/i ||
+ 			   /^subject:\s*Service Message\b/i ||
+ 			   /^subject:\s*Delivery problems with your mail\b/i ||
+ 			   /^subject:\s*Delivery(-| )Report\b/i ||
+ 			   /^subject:\s*AUTO-REPLY\b/i ||
+ 			   /^subject:\s*Waiting Mail\b/i ||
+ 			   /^subject:\s*REJECTED:/i ||
+ 			   /^subject:\s*Invalid destination\b/i ||
+ 			   /^subject:\s*Non-Receipt Notification\b/i ||
  			   /^subject:\s*Returned mail\b/i ||
  			   /^subject:\s*unable to deliver mail\b/i ||
  			   /^subject:\s.*\baway from my mail\b/i ||
%% End %%

For majordomo-1.94a3 users, the corresponding patch is:

diff -c sample.cf.orig sample.cf
*** sample.cf.orig	Thu Oct 17 11:10:25 1996
--- sample.cf	Thu Oct 17 11:21:17 1996
***************
*** 202,207 ****
--- 202,217 ----
  /^subject:\s*Returned mail\b/i
  /^subject:\s*unable to deliver mail\b/i
  /^subject:\s.*\baway from my mail\b/i
+ /^subject:\s*Message not deliverable\b/i
+ /^subject:\s*Delivery of Certified mail\b/i
+ /^subject:\s*Service Message\b/i
+ /^subject:\s*Delivery problems with your mail\b/i
+ /^subject:\s*Delivery(-| )Report\b/i
+ /^subject:\s*AUTO-REPLY\b/i
+ /^subject:\s*Waiting Mail\b/i
+ /^subject:\s*REJECTED:/i
+ /^subject:\s*Invalid destination\b/i
+ /^subject:\s*Non-Receipt Notification\b/i
  END
  
  # Taboo body contents to catch and forward to the approval address
%% End %%
--------------------------------------------------------------------------
Carl Hage                                              C. Hage Associates
<email:carl@chage.com> Voice/Fax: 1-408-244-8410       1180 Reed Ave #51
<http://www.chage.com/chage/>                          Sunnyvale, CA 94086


Follow-Ups:
Indexed By Date Previous: Re: More problems with 1.94b5
From: Ben Parker <ben@dha.unon.org>
Next: Approved: lines in resend using cc:Mail
From: "Earle F. Ake Mr" <akee@wpdis03.wpafb.af.mil>
Indexed By Thread Previous: Re: Onother oddity about 1.94b5
From: Dave Wolfe <dwolfe@risc.sps.mot.com>
Next: Re: Patch for infinite loop of messages
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>

Google
 
Search Internet Search www.greatcircle.com