Hello...
After a bit more thinking i've come with this:
Let's create a ONE table per domain and call it "functions"
It'll contain 3 fields:
name - this is the "before @" thing
type - numeric type of account:
0 - alias
1 - forward
2 - forward & store
3 - run a program
4 - run a program and store
parameter - this is the parameter for certain type ie. if it's alias, then
it's another login in the same domain, if it's a forward then this is the
destination e-mail, and if it's a program, this is it's invocation.
It's easy to keep it in both sql and cdb.
There is also an urgent need for mysql powered autoresponder (both message
and counters in the database), anyone wants to implement it?
Kris