[ale] Having majordomo ignore messages

Michael H. Warfield mhw at wittsend.com
Fri Jul 28 08:42:18 EDT 2000


On Fri, Jul 28, 2000 at 08:36:19AM -0400, Dan Newcombe wrote:
> I'm having a problem with an ISP who can't get their crap together.  The
> upshot is that when their (NT) servers process their mailqueue, one will
> process it while the other is still working on it, causing tons of
> duplicates to go out.

> However, each of these duplicates have a header line of ... mail pickup
> service ...

> What I'd like to be able to do is modify majordomo to ignore anything with
> that in one of the headers.  I figure I'd have to do this in the resend
> process, and was looking for either an easier way, or someone who has
> already done this.

	I think you're trying to hard.  Majordomo already has this
capability.  Just edit your global majordomo.cf file and add the
appropriate information to the "global_taboo_headers" variable.
Here's what I have for one site.

# taboo headers to catch
#
$global_taboo_headers = <<'END';
/^subject: ndn: /i
/^subject:\s*RCPT:/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*Returned mail\b/i
/^subject:\s*failure notice\b/i
/^subject:\s*unable to deliver mail\b/i
/^subject:\s.*\baway from my mail\b/i
/^subject:\s.*Copy Games For Sale/i
/^subject:\s.*Bootleg Cds/i
/^from:\s.*WYNDMAIL-ADM at wynd.net/i
/^from:\s.*POSTMASTER at msmail.cst.cnes.fr/i
END

> 	-Dan

> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.

	Mike
-- 
 Michael H. Warfield    |  (770) 985-6132   |  mhw at WittsEnd.com
  (The Mad Wizard)      |  (770) 331-2437   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!

--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list