How can I create a postfix mailbox in php

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • pyda001@ec.auckland.ac.nz

    How can I create a postfix mailbox in php

    Hi!

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

    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?

    Thanks!


    - Peder -

Working...