zamri wrote:

>>     That's what I've done too. Users can add their own subdomains, mailboxes
>>     ... The main parts are dbmail, PowerDNS and PureFTP. Apache configs are
>>     generated from database content.
>
> well. this is good. Can you share the code to others and attach it here
> so that others can try and make improvements on it? I really need this.

I have to collect the pieces first. I'll try to do that this weekend.

A warning: to keep the application simple I moved logic to the database.
I have a table | userid | domainname | that has a trigger and rather big
stored procedure that modifies the PowerDNS tables on add/delete. That
way other applications can work on a easy to use domain table instead of
the much harder to use PowerDNS tables.
That is why this requires PostgreSQL.


Thomas

Reply via email to