Menu

Install

2001-07-12
2001-07-13
  • Nobody/Anonymous

    I can't find any read me files or any message talk about to install the mailadmin
    moreover I would like to know more about your documentation.
    please be kind and post in there
    thankyou very much

     
    • Chris Bowlby

      Chris Bowlby - 2001-07-12

      Hello,

      I did at one point have documentation included with the older versions of mailadmin, but I found them more confusing then helpful so I removed them for the initial release of 1.5.1. The installation itself is very simle, you can untar the package in any location on your system.

      tar -xzvf mailadmin-1.5.1.tar.gz

      When it is untarred, you must tell your Web Server where to find the mailadmin package. I personally set mine up under a domain of it's own. Once that is done, you need to configure mailadmin itself.

      In the includes directory, you'll see a file called config.inc.dist This file needs to be moved to config.inc and edited so that the fields match the specifics of your domain. Once this is done, you should be able to access the mailadmin interface via a standard web browser.

      The mailadmin utility has currently been tested under Apache with Cyrus as it's IMAP/POP3 daemon, please refer to <A HREF="http://sourceforge.net/forum/forum.php?thread_id=118024&forum_id=83772">which mta is needed?</A> for further information in relation to setting it up.

      I plan on configuring mailadmin for other IMAP daemons once I get a chance to as well as other web servers.

      I hope I have helped you out, I do plan on getting some more informative documentation into the package as soon as I can.

       
      • Chris Bowlby

        Chris Bowlby - 2001-07-13

        Something I forgot to mention and only now just thought of. You'll need the saslpasswd utility as it is able to change the cyrus passwords via the interface I have provided. The catch is that the saslpasswd application needs to run SUID as the nobody.nogroup account would need to be able to write to the sasldb file so that passwords can be changed.

         
    • Nobody/Anonymous

      can you tell me more about the database setup?
      becuase I saw your config.inc asking me for database name, table name, admin account & password

       
      • Chris Bowlby

        Chris Bowlby - 2001-07-13

        The database configuration should be fairly straight forward as well. There are 7 fields for the database server that need to be filled in before things will work properly. As long as you have a PostgreSQL based database (I've not as yet added other databases but will be doing so) you should enable it by setting

        $enable_database = "Yes";
        $dbase_type = "pgsql";

        then you need to configure where your database is sitting. The hostname of the machine where the database needs to be entered in the dbase_host field as such:

        $dbase_host = "hostname"

        with the database name itself in the following field:

        $dbase_name = "database_name";

        then it is a matter of configuring the port, username and password that are used to access the above database:

        $dbase_port = "5432";
        $dbase_user = "testuser";
        $dbase_password = "mypassword";

        once you do that there is an sql file in the mailadmin/sql path that can be loaded into the database. You should connect to the database:

        psql -h hostname -p port database_name user_name

        and enter in the password if so prompted, once you are in you can type:

        \i path/to/mailadmin=pg.sql

        after that is done you should be ready to go.

         

Log in to post a comment.