[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exim and right permissions for execution of a perl script



On Thu, 2002-08-22 at 10:24, Jaco Engelbrecht wrote:
<snip>
>  
> Something funky would be to pipe the message to a perl script which will put the data into a MySQL/Postgres DB.
> 
> You then run a perl script from cron every few minutes to generate a named.conf.new file, do a diff between named.conf and named.conf.new, if a diff, copy named.conf.new over the existing named.conf and reload your name server.
> 
> The Mysql/Postgres DB would be simple, just a field for domain, allowed_xfer_hosts, owner_email, type (master/slave), and ns_to_load_zone_from (if slave domain).

I think I will use this on my webserver - I need to simplify the
addition and chrooting of ftp users when we add a domain we are going to
host....
> 
> Look at the CPAN libraries for Perl to talk to MySQL (seach.cpan.org) if you're interested in going this way .. or drop me a line if you get stuck.

Thanks, and I will drop much more than a line when I get stuck :-D
> 
> my 2c :)
> 
> -- 
> bje at serendipity.org.za
> the faculty of making fortunate discoveries
> 
-- 
Patrick J Okui
Systems Administrator
One2Net (U) Ltd


-----
This is the afnog mailing list, managed by Majordomo 1.94.5

To send a message to this list, e-mail afnog at afnog.org
To send a request to majordomo, e-mail majordomo at afnog.org and put
your request in the body of the message (i.e use "help" for help)

This list is maintained by owner-afnog at afnog.org