Utopian: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
JohnCompanies bought a customer (col01114) business called Utopian.net. They had a dedicated server (running several virtuals) and a FreeBSD Jail running their static web page and e-mail for their customers. | = Intro to Utopian = | ||
JohnCompanies bought a customer (col01114) business called Utopian.net. They had a dedicated server (Oahu.utopian.net), running several virtuals (using vserver on Debian), and a FreeBSD Jail running their static web page and e-mail for their customers. | |||
* Oahu - Main Dedicated Server that | * Oahu - Main Dedicated Server, running Debian Linux, that hosts several virtual servers with vserver command | ||
* Molokai - Virtual Server on Oahu that hosts normal Word Press Customers | * Molokai - Virtual Server on Oahu (Debian Linux) that hosts normal Word Press Customers | ||
* | * Maui - Virtual Server on Oahu (Debian Linux) that hosts http://pomfolio.com - which is a Word Press Network Admin | ||
* Lanai - Virtual Server on Oahu (Debian Linux) that hosts Scott Hull | |||
* www.utopian.net - a virtual server on Jail17 that hosts e-mail and the Utopian Website http://utopian.net | * www.utopian.net - a virtual server on Jail17 that hosts e-mail and the Utopian Website http://utopian.net | ||
* webmail - http://utopian.net/webmail | |||
Useful commands: | |||
vserver-stat - will show current status | |||
man -k vserver | |||
vserver maui enter | |||
vtop | |||
vps | |||
== Create a customer user mailbox == | |||
* Login to www.utopian.net as user. | |||
<pre> | |||
ssh user@www.utopian.net | |||
</pre> | |||
* su to root | |||
<pre> | |||
sudo su - root | |||
</pre> | |||
* update postfix tables | |||
<pre> | |||
cd /usr/local/etc/postfix | |||
vi virtual-mailboxes # add mailboxes to file virtual-mailboxes | |||
sh makeLookupTables.sh # update the hash tables | |||
postfix reload # load hash tables into postfix | |||
exit | |||
</pre> | |||
* Update cyrus imap | |||
<pre> | |||
su - cyrus | |||
cyradm -u cyrus@www.utopian.net localhost | |||
l1gram1therrepar # pwd = l1gram1therrepar | |||
create user.<name@domainname.tld> | |||
sq user.<name@domainname.tld> 512000 # sets a mailbox quota, in kilobytes. So this = ~512MB | |||
saslpasswd2 <name@domainname.tld> | |||
exit | |||
saslpasswd2 -c <name@domainname.tld> | |||
</pre> |
Latest revision as of 17:41, 29 August 2014
Intro to Utopian[edit]
JohnCompanies bought a customer (col01114) business called Utopian.net. They had a dedicated server (Oahu.utopian.net), running several virtuals (using vserver on Debian), and a FreeBSD Jail running their static web page and e-mail for their customers.
- Oahu - Main Dedicated Server, running Debian Linux, that hosts several virtual servers with vserver command
- Molokai - Virtual Server on Oahu (Debian Linux) that hosts normal Word Press Customers
- Maui - Virtual Server on Oahu (Debian Linux) that hosts http://pomfolio.com - which is a Word Press Network Admin
- Lanai - Virtual Server on Oahu (Debian Linux) that hosts Scott Hull
- www.utopian.net - a virtual server on Jail17 that hosts e-mail and the Utopian Website http://utopian.net
- webmail - http://utopian.net/webmail
Useful commands:
vserver-stat - will show current status man -k vserver vserver maui enter vtop vps
Create a customer user mailbox[edit]
- Login to www.utopian.net as user.
ssh user@www.utopian.net
- su to root
sudo su - root
- update postfix tables
cd /usr/local/etc/postfix vi virtual-mailboxes # add mailboxes to file virtual-mailboxes sh makeLookupTables.sh # update the hash tables postfix reload # load hash tables into postfix exit
- Update cyrus imap
su - cyrus cyradm -u cyrus@www.utopian.net localhost l1gram1therrepar # pwd = l1gram1therrepar create user.<name@domainname.tld> sq user.<name@domainname.tld> 512000 # sets a mailbox quota, in kilobytes. So this = ~512MB saslpasswd2 <name@domainname.tld> exit saslpasswd2 -c <name@domainname.tld>