Great Circle Associates Majordomo-Users
(November 1999)
 

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

Subject: Re: better way to automate bounces?
From: Bryan Blackwell <bryan @ skiblack . com>
Organization: Skiblack Associates
Date: Sun, 21 Nov 1999 22:14:23 -0500
To: Vicki Brown <vlb @ cfcl . com>
Cc: Majordomo-Users @ GreatCircle . COM
References: <199910070800.BAA01902@honor.greatcircle.com> <v04220808b45d013e4426@[205.158.144.206]>
Reply-to: bryan @ skiblack . com

What I did was set up a special user to receive the bounced mail, then run
a command every day that looks for bounces due to unknown user errors. 
It's not perfect, but it has worked ok for me for a list of about 600. 
Here's the cron entries:

00 23 * * * cat /dev/null > /var/spool/mail/trap
00 08 * * * grep 550 /var/spool/mail/trap > ~/dead.users

It keeps my mail spool small.  The error number for unknown user is 550, so
you get a file with one line per bad message.

-- 
Bryan Blackwell bryan@skiblack.com
http://www.geocities.com/MotorCity/9164
  '61 Corvair Lakewood, '65 Corvair Corsa, '66 E-type, '69 Road Runner,
  '76 Ford F-250, '88 Acura Integra, '89 Camaro RS, '99 Neon R/T
"Why do something if you're not going to obsess about it?"


References:
Indexed By Date Previous: majorcool
From: John Lord <lord@beachin.net>
Next: majorcool site down
From: Malcolm Caldwell <malcolm@it.ntu.edu.au>
Indexed By Thread Previous: better way to automate bounces?
From: Vicki Brown <vlb@cfcl.com>
Next: [Majorcool] New mailing list
From: "Jerome Delgrange" <jdelgrange@parthenon.net>

Google
 
Search Internet Search www.greatcircle.com