Great Circle Associates Majordomo-Users
(February 1996)
 

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

Subject: Re: administrivia
From: Evan Welsh <R . E . Welsh @ quadstone . co . uk>
Date: Sat, 10 Feb 1996 14:15:41 GMT
To: Merrill Cook <mcook @ ecunet . org>
Cc: majordomo-users @ greatcircle . com
In-reply-to: Merrill Cook's message of Fri, 9 Feb 1996 05:40:41 -0500 (EST)
References: <9602090540.ab08364@pcusa01.ecunet.org>

Merrill Cook writes:

mcook> Resend is letting things through with "Failed mail" and "Mail failed"
mcook> on the subject line.  I've tried adding those words in the section
mcook> of resend that goes 

mcook>> if (defined($opt_s) && ! defined($approved)
mcook>> && (/^subject:\s*subscribe\b/i ||
mcook>> /^subject:\s*unsubscribe\b/i ||
mcook>> /^subject:\s*help\b/i ||
mcook>> /^subject:\s*RCPT:\b/ ||
mcook>> /^subject:\s*Delivery Confirmation\b/ ||
mcook>> /^subject:\s*NON-DELIVERY of:/ ||
mcook>> /^subject:\s*Undeliverable Message\b/ ||
mcook>> /^subject:\s*Receipt Confirmation\b/ ||
mcook>> >>>>                 /^subject:\s*Failed/ ||
mcook>> >>>>                 /^subject:\s*Mail fail/ ||
mcook>> /^subject:\s*Returned mail\b/||
mcook>> /^subject:\s.*\bchange\b.*\baddress\b/ ||
mcook>> /^subject:\s*request\b.*\baddition\b/i)) {
mcook>> &bounce("Admin request");
mcook>> }

mcook> But resend is still letting the mail through.

The problem is the lack of an 'i' flag (case-insensitive) at the end of
some of the lines which means that 'subject' doesn't match. Make sure each
line has an 'i' after the '/' (as on the first three regexps) and you'll be
sorted.

Cheers...

-- 
#######################################################################
#  Evan Welsh <evan@quadstone.co.uk>                   Quadstone Ltd  #
#  http://www.quadstone.co.uk/~evan/             +44 (0)131 220 4491  #
#######################################################################


References:
  • administrivia
    From: Keith Reding From majordomo-users-owner Fri Feb 9 05:54:18 1996
Indexed By Date Previous: I Need Help
From: david@TreeO.com (David E. Le Vine - TreeO)
Next: regular or digest first?
From: emelle@coopnet.org (Michael Laurenson)
Indexed By Thread Previous: administrivia
From: Keith Reding From majordomo-users-owner Fri Feb 9 05:54:18 1996
Next: Error generated by new-list
From: Robin Findlay <c0robfin@cecomm.co.uk>

Google
 
Search Internet Search www.greatcircle.com