Menu

Problem creating New Mailbox for a domain

Sh1n0b1
2009-01-21
2013-01-23
  • Sh1n0b1

    Sh1n0b1 - 2009-01-21

    Hi Forum,

    Installed PostfixAdmin 2.2.1.1. on Debian - Etch yesterday, but I can't create mailboxes in any of the domains I setup.
    Every time I create a mailbox, I get an error saying
         "You have reached your limit to create mailboxes!"
    but I haven't created one yet. It's the first mailbox I'm trying to create.

    Quota related info is :

       $CONF['aliases'] = '100';
       $CONF['mailboxes'] = '50';
       $CONF['maxquota'] = '500';

       $CONF['quota'] = 'NO';

    I played with these values a bit, but it didn't make a difference.
    Any thoughts on this are appreciated.

    This is what the setup.php reported, after I edited the config.in.php file :

    Running software:

        * PHP version 5.2.0-8+etch13
        * Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4 PHP/5.2.0-8+etch13 mod_perl/2.0.2 Perl/v5.8.8

    Checking for dependencies:

        * Warning: Magic Quotes: ON (internal workaround used)
        * Depends on: presence config.inc.php - OK
        * Checking $CONF['configured'] - OK
        * Depends on: MySQL 3.23, 4.0 - OK
        * Depends on: MySQL 4.1 - OK (change the database_type to 'mysqli' in config.inc.php!!)
        * Testing database connection - OK - mysql://postfix:xxxxx@localhost/postfix
        * Depends on: session - OK
        * Depends on: pcre - OK
        * Depends on: multibyte string - OK
        * Depends on: IMAP functions - OK

    Everything seems fine... attempting to create/update database structure

    Thanks for whatever input you might have.
    - Sh1n0b1

     
    • Charles

      Charles - 2009-01-21

      Any chance you can try  the new 2.3beta? It has had a LOT of fixes and improvements...

      https://sourceforge.net/forum/forum.php?thread_id=2891170&forum_id=676076

       
    • YBZ

      YBZ - 2009-02-04

      I'm using the new 2.3beta and suffer from the same problem. No matter what I do the system resets the number of aliases and mailbox in the domain definition to -1 (=disable).

      What can be done?

       
    • Marco  Gomez

      Marco Gomez - 2009-02-21

      I have the same problem with postfixadmin 2.3beta.

      Pls uncheck the backup MX option. Then u will notice that things stick. 

       
    • GingerDog

      GingerDog - 2009-02-24

      Hi guys,

      As the code currently is, if you have backupmx set to true, it sets aliases, mailboxes and quota all to -1.

      I've not really used postfixadmin for backupmx's - so presume this behaviour to be correct.

      Am I incorrect - i.e. do you actually create mailboxes etc on backupmxs (perhaps to not blindly accept everything on the backup mx?).. in which case you want the values in the fields to be used....?

      thanks
      David.

       
      • Simon Hobson

        Simon Hobson - 2009-02-24

        I haven't found anything on how backup mx was/is supposed to work/be used.

        The way I've done it, I need to create an alias for each address that is valid in the domain, and so I modified the code to NOT set aliases to -1.

         
    • GingerDog

      GingerDog - 2009-02-25

      OK. create-domain.php has now been changed to respect whatever you type in.

      This should fix the problem!

      thanks
      David.

       
    • Christian Boltz

      Christian Boltz - 2009-02-26

      Gingerdog, your fix did not fix everything ;-) See
      https://sourceforge.net/tracker2/index.php?func=detail&aid=2613791&group_id=191583&atid=937964

      @everybody: Please test with SVN r571 - this should have everything related fixed.

       

Log in to post a comment.