Majordomo-1.94.5
Linux Mandrake 8.0
Qmail 1.03 (heavily customized)
I have a particular need to do pre-posting (before an approved message is
actually mailed) processing and post-posting (after the major has finished
submitting the messages to the resend agent) am highly knoledgeable on
majordomo I'm in and out of the majors scripts all the time but this project
just came in and now I need to do both mentioned functions on a subscriber
mailing list..
What I need to do is the following
On a sucessfully authenticated message for posting I need major to pause and
run a CGI script which will split a list of 180k into three and drop each
one into a spacific folder and then resume it's operation however I also
need major to send messages to 3 resend agents (injectors) meanig that I
need it to loop through the address list as it normally does but instead of
submitting all addresses to a single resend I want it to submit 1 address to
each resend and keep looping through the list untill it is done. So in
effect I'll be cracking a 180k list down into 3 seperate lists each one
being 60k addresses for which major will then send to.
I can think of several ways to do this...
1. Divide the list into three then have a seperate cf for each one and one
(which is what I am doing now)
2. New scripting for the actual major script which would look in the cf
files for a list of resnd agents and then use them as it normally would
I can think of more but I believe either one of the two above would be the
easiest to figure out. I already have a temp system figured out for the
client now. I run a cron job at midnight which splits the list into three
and each one has it's own cf file while the main list (the master) remains
untouched so sub and unsub commands all work the same way they always have
Then for posting I have a special alias setup which sends to all there
cf's... He just can't post untill little after midnight which he is fine
with but I'm not. I'd rather like to figure out a better way for major to
accomplish this and remove the time restriction I had to give him.
Normally this would be a problem becuase the way I have our qmqp servers
setup we process a list of 40k in 11 minutes so speed is not the issue
however the client is heavy into media services and political stuff and he
has a list of some 180k+ addresses that he wants to send to 3 times a day
(sigh not looking forward to looking at my abuse account) however at 3 times
a day and defferals and murfys law .. I think I need to figure out how to
have major do some of this work so I don't have to worry about when he's
posting and if the lists were split before he posted and everything else you
can think of.
Any help would be appreciated.
--JT
Network Administrator
http://www.webcommanders.com
References:
-
HTML
From: "Robert Miller" <RMILLER@mail.gov.nf.ca>
-
Re: HTML
From: "George R.Kasica" <georgek@netwrx1.com>
|
|