:: What is DBMA
DBMail is an open source, Unix IMAP/POP3 mail storage and retrieval system which together with an MTA (Mail Transfer Agent) like Postfix enables vastly scalable mail systems with SQL database (RDBMS) storage (i.e.: MySQL, PostgreSQL) and retrieval of all e-mail and user data. – dbma
 
:: How to install DBMail Administrator
+ Download and extract

wget //dbma.ca/DBMA_SQL_V2.tar.gz
tar -xzf DBMA_SQL_V2.tar.gz -C /var/www

+ change permission

chmod 777 /var/www/dbmailadministrator
chmod 755 /var/www/dbmailadministrator/*.cgi

+ installing Perl Modules

perl -MCPAN -e shell
CPAN> install Digest::MD5
CPAN> install Bundle::libnet
CPAN> install DBI
CPAN> install DBD::mysql
CPAN> install CGI

+ setup vhost / httpd.conf

# enable perl script on httpd
AddHandler cgi-script .cgi .pl
# change / setup on your vhost
<VirtualHost *:80>
    DocumentRoot /var/www/dbmailadministrator
    ServerName sub.domainname.com
        <Directory "/var/www/dbmailadministrator/">
		AllowOverride None
  		Options ExecCGI MultiViews
  		Order allow,deny
  		Allow from all
  		AuthUserFile /var/www/dbmailadministrator/.htpasswd
  		AuthGroupFile "apache"
  		AuthType Basic
  		AuthName "Enter username and password."
  		require valid-user
		order allow,deny
        </Directory>
</VirtualHost>

+ create .htpasswd

htpasswd -c  /var/www/dbmailadministrator/.htpasswd useradmin

+ restarting httpd

/etc/init.d/httpd restart

+ testing
open your DBMail Administrator using your browser on

//sub.domainname.com

and setup your DBMail Administrator info.

 
:: Link
+ Google
+ Dbma

Hi, I’m Sysadmin.ID

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *