Be master of your domain

Commoditize your ISP and other services
Paul Elliott

Rule for dealing with Large
Companies
If they can't set the hookthey can't jerk youaround.

Stay off the Cloud
You might fall throughYou probably have nofourth amendment rights
on the cloud.
Your data should belong
to you.
On your computer.
Don't ask anyone's permission to use
your own data. Or move it, or reformatit.

Two ways ISPs set the hook
you@ISP.com
email address
http://www.ISP.com/~you/
web address.

Stop your ISP from setting theHook!

Get your ownDomain Name

your email address does notchange when you change
mail servers.
You control your webaddress, regardless who isserving it.

Basic strategy
Own your own domain, MyDomain.com
your email address is Me@MyDomain.com
your home pages is
http://www.MyDomain.com
or perhaps http://www.subdomain.MyDomain.com

When your ISP changes your email address andhome page address stays the same!

You do not have to have your own
DNS server!
Unless you are an über user you probably do notwant to run a DNS server.
You do not want to run a DNS server unless youhave at least 2 computers running all the time.
You can have your own domain without running a
DNS server.
You can get other people to run a DNS server foryou.

Keep Your ISP's brand off you
Double-click to add graphics

No hassle whenswitching ISPs.
Your ISP is acommodity, a company
that sells you
bandwidth.

Your ISP is a commodity
Double-click to add graphics

They sell you access tothe “series of tubes”
which is the Internet.

Shop for your domain registrar
Look for ability totransfer domain.
ease of usefeatures.
web management.
dynamic dns.
domain parking.
pop server.

Choose your domain name.
Don´t get so creative that you embarrass yourself.
References to popular culture are likely to beafflicted by trademark law.
Consider the virtues of boring.

Consider using google apps for anemail server.
Google gives web, imap, and smtp access toyour email.
Outsiders sending you mail, don't know you areusing google apps, that is, unless they look at
your domain's MX record.
Your email address looks likeYou@yourdomain.com.

Won't using google apps make medependent on Google?
NO!
Many services provide
essentially the same email
services as Google apps.
We only use those features ofgoogle apps that can be had
else where.
Strategy: If google apps
becomes uppity we simplymove.

Google Sites?
Google Sites is google's web hosting/content
management service.
I do not recommend Google Sites, because it
does not let you upload your own arbitrary html.
It would be difficult to migrate away from Google
sites.

Search for “google apps”

Welcome to google apps

Google Apps for BusinessUse standard unless you want topay for some more neat googlestuff.

Get Started

your.domain.nameFill out the bureaucratic form.

Google apps buys thru
godaddy or eNorm
Respectable services,can transfer out.
I prefer direct dealing.

Google apps chooses
randomly between
Godaddy and eNorm.
GoDaddy has nodynamic DNS support.

I use namecheap!
Inexpensive
Has dynamic
dns support

Google domain verification.
Googlerequires thatyou create aspecial
CNAME toverify thatyou own thedomain.

Google MX record.
Add the MX records
that google appssuggests.

We are done.
We can now send and receive email using
google app's Web interface.
Our email address is Me@mydomain.com

Linux email client support
The following LINUX email clients can be madeto talk to google apps:
Mutt
KmailEvolution
Mozzila Thunderbird
Sendmail / fetchmail
Probably others.

Signon to google apps.

Web management

Manage uses and groups
We wanttocreatea userfortesting.

Fill out form to add user

Google apps user is createdLogin to new accountURLs to remember.
Your inbox:
http://mail.google.com/a/yourdomain.com/

Your administrative login:https://www.google.com/a/yourdomain.com/ServiceLoginservice=CPanelInsure that IMAP is enabled.

Click on Settings

Gmail Settings Menu

Click on “Forwarding and POP/IMAP”

Forwarding and POP/IMAP

Insure that IMAP is enabled.

send/receive mail using webinterface

How to configure for gmail
Information on how to use gmail with “other email clients” can befound here:
http://mail.google.com/support/bin/answer.py?answer=78799

Configure Mozzilla Thunderbird

File / New / AccountNew Account Setup
Choose email account.

Specify the servers
Imap
imap.gmail.com
smtp.gmail.com

Specify email addresses.
Enter the email address
For incoming andoutgoing user names.

Specify account name.
Name the account.

Check the congratulations and finish
Click finish
But you are not doneyet!

Edit the account properties

Right click on the account name
Select “Properties”

Click on Server Settings

Change the server settings.
Change the port to 993
Change the security
settings to SSL

Changed Server settings
Not done yet
Click on “Outgoing
Server (SMTP)

Outgoing Server (SMTP) Settings
Click on edit

Change the SMTP server settings
Change the port to 587
Change the secureconnection type to“TLS”

Changed SMTP settingsClick OK.
And then click OK to
the account settings
dialog.
Setup done.

Configure KmailClick on Settings / Configure KmailConfigure KmailClick on Accounts

Setup for Sending and Receiving
Messages

In receiving, click add

Account TypeChoose IMAP
Click OK

Account Type: IMAP AccountGeneralFill in the fields:
Account Name
Login = email address
Password from gmail
host=imap.gmail.com
Port=993
Click security

Security
Use SSL for secure
mail download
Click OK

Setup for Sending and Receiving
Messages
Select “Sending”

Sending

Click Add

Transport
Select SMTP fortransport
And click OK

Transport: SMTPGeneralName
Host=smtp.gmail.com
Port=465
Then select security

Transport: SMTP
Security
Choose SSL
And Go back to“General”

General again
Click on “Serverrequires
authentication”
Add login=emailaddress
And password fromgoogle apps.
OKSetup for Sending and Receiving
Messages

Click on Identities

Manage Identities
Select default Identity
Click on modify

Identities
Fill in the email address
click ok.

Configure Kmail
Then click OK at thebottom to finish
configuring KmailConfigure evolution

Evolution setup assistant runs when you runevolution for the first timeIf you have already ran evolution...

You can edit these properties through “Edit /Preferences”

Skip backup

Identity

Fill in the email address for default account.

Receiving EmailServer type=IMAP
Server=imap.gmail.com:993
username=email address
SSL encryption
Authentication type=password

Receiving Options

Configure to taste.

Sending EmailServer type=SMTP
Server=smtp.gmail.com:587
Server requires authentication
Authentication type=login
Username=email addressAccount Management

Name this account to taste

Select the time zone

No freekin cities in Texas!

Configuration done
Click applyConfigure mutt
How do configure mutt is documented at:
http://crunchbanglinux.org/wiki/howto/howto_setup_mutt_with_gmail_imap

From #! CRUNCHBANG LINUXAlso relevant
http://myproblemsandtheirsolutions.blogspot.com/2009/04/using-mutt-with-gmail-google-apps.html

.muttrc Identity

set from = "marsupial@blackpatchpanel.com"
set realname = "Platapus Duck".muttrc IMAP login

set imap_user = "marsupial@blackpatchpanel.com"
set imap_pass = "xxxxxxxxxxx"

.muttrc (remote folders)set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set postponed ="+[Gmail]/Drafts"
set trash = "imaps://imap.gmail.com/[Gmail]/Trash”

.muttrc (Local Folders)set header_cache =~/.mutt/cache/headers
set message_cachedir =~/.mutt/cache/bodies
set certificate_file =~/.mutt/certificates.muttrc (SMTP login)

set smtp_url = "smtp://$imap_user@smtp.gmail.com:587/"
set smtp_pass = "xxxxxxxxxxx"

.muttrc (special keybindings)

bind editor <space> noop
macro index gi "<change-folder> =INBOX<enter>" "Go to inbox"
macro index ga "<change-folder> =[Gmail]/All Mail<enter>" "Go to all mail"macro index gs "<change-folder> =[Gmail]/Sent Mail<enter>" "Go to Sent Mail"macro index gd "<change-folder> =[Gmail]/Drafts<enter>" "Go to drafts"

.muttrc (secure multisession)
set move = no #Stop asking to "move read messages to mbox"!
set imap_keepalive = 900

Every mutt user will have his own customization
as wellMutt Setup
From the command line:
After this your mutt setup should be complete
Try it!
mkdir .mutt/cache .mutt/certificates -p
chmod 700 .muttrc

Choosing and managing a Web
Host is complicated business!
Beyond the scope of this talk.
You will probably use a program called “cPanel”.
Transfer files with ftp or ssh.
At some point the Web Host is going to want you
to point your NS record at its server.
Do you want your Web Host to control your entire
domain?

Give whole domain to Web HostControls all of blackpatchpanel.com

Only let your web host control asubdomain

Sub domain free.blackpatchpanel.com iscontrolled by my Web Host.