Great Circle Associates Majordomo-Users
(June 1995)
 

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

Subject: Re: HELP - bounced mail
From: "glenn (g.) henshaw" <thraxisp @ bnr . ca>
Date: Tue, 20 Jun 1995 08:47:20 -0400
To: ronp%msmail . scopus . com @ bnr . ca, majordomo-users%greatcircle . com @ bnr . ca
X400-content-type: P2-1984 (2)
X400-mts-identifier: [/PRMD=BNR/ADMD=TELECOM.CANADA/C=CA/;<v01520d02ac0c72d8862f@[47.2.1.1]
X400-originator: /dd.id=1306203/g=glenn/i=g/s=henshaw/@bnr.ca
X400-received: by mta bnr.ca in /PRMD=BNR/ADMD=TELECOM.CANADA/C=CA/; Relayed; Tue, 20 Jun 1995 09:02:50 -0400
X400-received: by /PRMD=BNR/ADMD=TELECOM.CANADA/C=CA/; Relayed; Tue, 20 Jun 1995 08:47:25 -0400
X400-received: by /PRMD=BNR/ADMD=TELECOM.CANADA/C=CA/; Relayed; Tue, 20 Jun 1995 08:47:20 -0400
X400-received: by /PRMD=bnr/ADMD=telecom.canada/C=ca/; Relayed; Tue, 20 Jun 1995 08:47:22 -0400

At 95/6/19, ronp%msmail.scopus.com@bnr400 wrote:
>Late Friday, someone subscribed to the list with a bad e-mail address.  An
>"infinite loop" of e-mail messages were delivered to the list; a bounced
>mail
>from the bad address was resent to the list .. so on and so forth.
>
  I found a similar situation with our mail gateways. In the case of a bad
address, the message was being bounced back to the MD command handler
("majordomo"). Since it was not a well formed message, it was bounced back
to the sys-admin with help appended. I added the following (BNR specific)
code to the majordomo PERL code to abort the processing of messages
apparently from our gateway.

  diff follows:

*** 108,113 ****
--- 108,119 ----
  if (&addr_match($reply_to, $whoami)) {
      print STDERR "$whoami punting to avoid mail loop.\n";
      exit 0;
+ }
+
+ # bounce mail from the BNR Postmaster
+ if ($reply_to =~ /.*[Pp]ostmaster.*@bnr.ca/) {
+     print STDERR "$whoami punting to avoid mail to administration.\n";
+     exit 99;
  }

  if (! &valid_addr($reply_to)) {


   ... Glenn


--
Glenn Henshaw                     | ATM-10 HW Development, BNR
Phone: ESN 393-3963, (613)763-3963| Fax: ESN 395-2469, (613)765-2469



Indexed By Date Previous: Re: Messages sent to lists disappear
From: dwolfe@risc.sps.mot.com (Dave Wolfe)
Next: Re: X.400 address problems
From: Dave Barr <barr@math.psu.edu>
Indexed By Thread Previous: Re: HELP - bounced mail
From: Dave Barr <barr@math.psu.edu>
Next: Help with archives...
From: Billy Riske <riske@freenet.mb.ca>

Google
 
Search Internet Search www.greatcircle.com