Great Circle Associates Majordomo-Users
(June 2001)
 

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

Subject: Re: Message duplication problem
From: wings @ wingscc . com (Jardine Parrot Web)
Date: Sat, 16 Jun 2001 22:09:44 -0500
To: Majordomo-users @ greatcircle . com

I use a perl script to backup and sort my lists.
The only argument is the listname subscriber file.

#!/usr/bin/perl
$list = $ARGV[0];
system("mv $list $list.bak ; cat $list.bak | tr A-Z a-z | sort -t@ -k2 >
       $list ; chmod 660 $list ; chown majordomo:majordomo $list\n");
exit(0);

Note the 4th line is a continuation of the system command on the 3rd line.

First backup the subscriber file, then cat the file piping output to the tr
program to translate uppercase chars to lowercase chars.  Output from tr is
piped to sort, using '@' as a separator and starting the sort after the
'@'.  This will sort by domain, and then output to the original list
filename.  Mode and ownership are then correctly set on the file, in case I
run the program as root.

At 03:38 AM 6/15/01 -0500, Daniel Liston wrote:
>The most common reason for this is that your sendmail is starting to run
another
>delivery queue before the first one is completed.  You could speed this up
by 
>keeping your "large" list sorted by domain, and using bulk_mailer.
Bulk_mailer
>would probably be most beneficial.


Indexed By Date Previous: Re: Digest version or archive
From: Dan Liston <dliston@netscape.com>
Next: What can I do against a mail loop.
From: "Mirko Scholz" <mscholz@scholz.net>
Indexed By Thread Previous: Re: Bulk_mailer
From: Dan Liston <dliston@netscape.com>
Next: [Fwd: MAJORDOMO ABORT (mj_majordomo)]
From: Kit <kompukit@naisp.net>

Google
 
Search Internet Search www.greatcircle.com