we gonna start to make a lamp server with Mandriva Linux, and after that, we gonna install a mail server with postfix dovecot and squirrelmail.

firts of all we update our repos so we can install any software from urpmi, we can update our repos from

http://easyurpmi.zarb.org/

after we have update our repos we can start installin apache in our server:

#urpmi apache

after installing apache we can start the service by typing

#/etc/rc.d/init.d/httpd start

after that we gonna install phpmyadmin, that way we can have php and mysql on it

#urpmi phpmyadmin

it is gonna ask if we want to install php and some other files we say yes

after that, we have install apache, php, mysql, phpmyadmin

to access phpmyadmin we can go to

http://localhost/phpmyadmin

now, we gonna start installin postfix, dovecot, webmin, squirrelmail, for our mail server.

we start installing postfix

#urpmi postfix

after install postfix we can start the service by typing

#service postfix start

after that we install dovecot

#urpmi dovecot

after that we install webmin to config the postfix and dovecot aesy.

#urpmi webmin

after install webmin we can start the service by typing

#service webmin start

after we have install webmin we can access it on

https://localhost:10000/

and now to finish it we install squirrelmail

#urpmi squirrelmail

to access squirrelmail we can go to

http://localhost/squirrelmail/

to config squirrelmail we can go to

#cd /var/www/squirrelmail/conf

then

#ls

and there is the config file conf.pl , and we can config it like this

#./conf.pl

we choice D to select an IMAP server and after that we choice dovecot for our default IMAP server

Note:to allow port 80 to be open, use drakfirewall as a root

#drakfirewall

and to config apache web server use drakwizard as a root also

#drakwizard

so with this we finish to install a lamp server and also a mail server, i hope this can be usefull for some one.