Difference between revisions of "Webmin-lamp-webmail-ext"
m (Protected "Webmin-lamp-webmail-ext" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
|||
Line 27: | Line 27: | ||
mydomain = example.com | mydomain = example.com | ||
− | Creating mailbox. | + | Restart postfix |
+ | service postfix restart | ||
+ | |||
+ | Creating mailbox test@example.com. | ||
Log in to your server with ssh and use the following commands: | Log in to your server with ssh and use the following commands: | ||
+ | useradd test | ||
+ | passwd test | ||
+ | mkdir /home/test/Maildir | ||
+ | chown test:test /home/test/Maildir | ||
+ | chmod -R 700 /home/test/Maildir | ||
+ | |||
+ | That's it! Now you can send and receive emails. | ||
+ | |||
+ | Webmail: http://YourIP/webmail<br/> | ||
+ | username: test (as example) | ||
+ | password: password that you have set during creation of user "test". |
Latest revision as of 16:51, 8 July 2014
If you have installed the OS from our list named "CentOS 6 x86 Webmin LAMP extended [vpsget]", here is something you should know about it.
Webmin
Webmin: https://YourIP:10000
username: root
password: your root password.
phpMyAdmin
Before accessing phpMyAdmin you need to set MySQL root password. To do so, please log in to your server with ssh and use the following command:
mysqladmin -u root password <password>
phpMyAdmin: http://YourIP/phpmyadmin
username: root
password: the password you have just set in example above.
mail server
Configuring postfix.
All you need to do is open the file /etc/postfix/main.cf and edit the line so that it contains your domain:
mydomain = example.com
Restart postfix
service postfix restart
Creating mailbox test@example.com.
Log in to your server with ssh and use the following commands:
useradd test passwd test mkdir /home/test/Maildir chown test:test /home/test/Maildir chmod -R 700 /home/test/Maildir
That's it! Now you can send and receive emails.
Webmail: http://YourIP/webmail
username: test (as example)
password: password that you have set during creation of user "test".