I forgot two other important pieces. >>You're not understanding, i'm going to put myDNS administration and >>proftpd all togheter in the same application, so any pre existing tool >>will not work for me. > > 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. And exim4.
> I did that in PHP, this is the code I use to add a new mail user (should > be self explaining I hope): To receive mails for the mailbox users have to add at least one alias too - one liner, shouldn't be necessary to post the code. They can either add single addresses like [EMAIL PROTECTED] or a catchall example.com. exim uses the alias table at smtp time to find out if the recipient exists and rejects if not. > HTH, > Thomas
