what if /var/qmail/control/smtproutes was replaced with a fifo that
gave a different relay every time it was read?
#!/usr/local/bin/perl
while(++$count){
unlink '/var/qmail/control/smtproutes';
system 'mkfifo /var/qmail/control/smtproutes';
$c=$count % 5; # or however many there are
open R,">/var/qmail/control/smtproutes"; #block until it is read
print R ":bsdrelay$c.macrosys.com\n";
};
__END__
Will the above cause unexpected freezes?
A less intensive solution might be to overwrite the tenth
character in the static file every few seconds, to load up that
relay.
"Collin B. McClendon" wrote:
>
> Hello,
> Sounds good.
> Thanks,
> Collin
>
> -----Original Message-----
> From: David L. Nicol [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 11, 2001 9:58 AM
> To: Collin B. McClendon
> Subject: Re: Qmail and Large Scale Dynamic Mailings
>
> several slave BSD boxes with high concurrencies and a hacked qmail-remote
> that round-robins through them.
--
David Nicol 816.235.1187 [EMAIL PROTECTED]
"people with fish eyes and brown socks"