At 10:37 AM 7/26/99 , Ira Abramov wrote:
>On Mon, 26 Jul 1999, Russell Nelson wrote:
>
>> Ira Abramov writes:
>> > to illustrate: my current set of rules for sendmail looks like this:
>> >
>> > @bothers.com [EMAIL PROTECTED]
>> > @building.com [EMAIL PROTECTED]
>> > [EMAIL PROTECTED] [EMAIL PROTECTED]
>>
>> So?
>>
>> #!/usr/bin/perl
> .
> .
> .
>> if ($left) {
>> writefile(">.qmail-$right-$left", "&$out");
>> } else {
>> writefile(">.qmail-$right-default", "&$out");
>
>there you go, again it means a gazillion files (well 11394 at the current
>count, this is an ISP) and that's both a waste of inodes, a mess in your
>eyes, and doesn't solve removing of the .qmail files as aliases are
>cancled. the current mechanism is the support person updatiing the file
>through a web interface, the cron pushes the file (with the additions or
>substractions) onto the mail server.
>
>hey, I'll time that perl script, if it's under a few seconds to parse the
>entire rules file I'll just chmod +t, delete all .qmail files and recreate
>them, then chmod -t. it's a kludge, it's heavier than want it, but it
>will work (still open to cleaner ideas, people)
Use fastforward? It supports /etc/aliases.
-Dustin