Mail Server Installation
first time [root@mail~]# alternatives config mta (and postfix select) 1. Installation of PostfixAdmin: a) Download postfixadmin.tar file & Untar that file in /var/www/html/postfixadmin Make a directory in /var/www/html [root@mail~]# cd /var/www/html [root@mail~]# mkdir postfixadmin [root@mail~]# cd postfixadmin #cp Desktop/postfixadmin*.tar.gz /var/www/html/posfixadmin tar xvf postfixadmin*.tar.gz [root@mail~]# cd postfixadmin* Rename that file [root@mail~]# cp config.inc.php.sample config.inc.php.sample_org [root@mail~]# mv config.inc.php.sample config.inc.php [root@mail~]# cp setup.php setup.php_org b) open config.inc.php & edit following lines: [root@mail~]# vi config.inc.php And change these lines $CONF['admin_email'] = '
[email protected]'; $CONF['encrypt'] = 'cleartext';(make it cleartext) 'abuse' => '
[email protected]',
'hostmaster' => '
[email protected]', (note: here era.in is your domain naume) 'postmaster' => '
[email protected]', 'webmaster' => '
[email protected]' $CONF['domain_path'] = 'YES'; $CONF['domain_in_mailbox'] = 'YES'; $CONF['vacation_domain'] = 'autoreply.changethistoyour.domain.tld'; $CONF['footer_text'] = 'www.keenable.in'; $CONF['footer_link'] = 'www.keenable.in'; $CONF['show_footer_text'] = 'NO'; c) go to templates directory: cd templates [root@mail~]# cd templates [root@mail~]# copy header.tpl & footer.tpl [root@mail~]# cp header.tpl header.tplold [root@mail~]#cp footer.tpl footer.tplold edit header.tpl [root@mail~]# vi header.tpl and make changes:
Eta Mail Admin comment these lines ( // )
// print "
\n"; // print "
\n"; save & quit edit footer.tpl [root@mail~]# vi footer.tpl
remove all lines except these lines