How can I create a postfix mailbox in php

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


I have postfix running and working as it should. I can add, remove and
administer mailboxes and aliases using postfixadmin. All well there

Now, I want to be able to add mailboxes and aliases using my own
php-code. Therefore I studied the postfixadmin code (which is working),

and it looked like the only thing needed was entries in the postfix
database. Nevertheless, I must be missing something. My code adds the
appropriate entries for the mailbox and alias, yet I can't log in and
get an imap error. I also thought postfix added the appropriate
directories automatically for the new mailboxes. What am I missing?


- Peder -

Site Timeline