Full-Sized Screenshot in Chrome

Open Chrome and head to the web page you want to capture. Once there, click the three dots, point to “More Tools,” then click on “Developer Tools.”
Alternatively, you can press Ctrl+Shift+I on Windows or Command+Shift+I on Mac to open the Developer Tools pane.

In the top right corner of the pane, click the three dots icon, then click “Run Command.” Alternatively, press Ctrl+Shift+P on Windows and Command+Shift+P on Mac.

In the command line, type “Screenshot,” then click “Capture full-size screenshot” from the list of commands available.

The image should save automatically, but if you’re prompted to save the screenshot, select a destination on your computer, then click “Save.”

File sync and sharing services

Sugarsync

http://www.sugarsync.com

SugarSync’s online backup, file sync and sharing service makes it easy to stay connected. With SugarSync you get secure cloud storage for all your files — documents, music, photos, and videos. Connect with our community and learn how other customers are using SugarSync in their work and personal lives.

Price: http://www.sugarsync.com/products/sync_pricing.html

Box

http://www.box.net/

Box.net’s online file storage makes it easy to securely share content as a link or a shared folder with anyone — inside or outside your company .
Lite-Free : 1 GB of web-storage, 25 MB file size limit.

Price: http://www.box.net/pricing

Zumodrive

http://www.zumodrive.com/

Upload your files to ZumoDrive and access them from any device. It’s that easy!
Free Plus 1GB bonus when you complete the Dojo

Price: http://www.zumodrive.com/pricing

Dropbox

http://www.dropbox.com

Dropbox is the easiest way to store, sync, and, share files online. There’s no complicated interface to learn. Dropbox works seamlessly with your operating system and automatically makes sure your files are up-to-date. Available for Windows, Mac, and Linux.
Create Basic Free 2GB Account: http://www.dropbox.com/referrals/NTQ0MTc2MTU5

Price: https://www.dropbox.com/pricing

IDriveSync

http://www.idrivesync.com/

Sync Files Online and share across multiple PCs seamlessly share files with friends and associates. Available for Windows only.
IDriveSync – Basic Free 2 GB free sync storage (upto 5 PCs).

Price: https://www.idrivesync.com/pricing.htm

FilesAnywhere

http://www.filesanywhere.com

Online Storage, Online Backup, Send Large Files, Dropbox, Free File Drive, WebDAV, Photos Online.Desktop (Windows/Mac)
Free Plan, 1GB of Free Storage

Price: https://www.filesanywhere.com/PricingPage.aspx

 

MobileMe

http://www.me.com
http://www.apple.com/mobileme

Apple – MobileMe – Your iPhone, iPad, Mac, and PC. In perfect sync. MobileMe automatically pushes new email, contacts, and calendar events to your iPhone, Mac, and PC. So your devices always stay in perfect sync.

Price: http://www.apple.com/mobileme/pricing/

 

 

Blackest-black – CMYK is C-75 M-68 Y-67 K-90

Tip CMYK Black:

RGB documents are meant for screens, and CMYK documents are meant for printing.

Therefore, when you print a CMYK document and you need a really rich black it’s important to remember one thing: 100% K isn’t the blackest black you can get.
The blackest-black you can get when printing in CMYK is C-75 M-68 Y-67 K-90.

Domain redirect keeping the URL path – URL Masking

I had a site hosted at a domain and the client asked me to change the domain.

There are many ways to do such a thing.

Method1:
Apache .htaccess file associated with mod_rewrite? Most of the hosting services supports this.

RewriteEngine On
RewriteBase /
Redirect 301 / http://mynewdomain.com/

This way, all requests to the root of my old domain get redirected to the root of my new domain.
But what if I try yo access some path inside my old domain? It would raise a 404 error because it does not have the content anymore.
I want that if the user access http://myolddomain.com/path/ it redirects him to http://mynewdomain.com/path/. So I ended up with this:

RewriteEngine On
RewriteBase /
RedirectMatch 301 (.*)$ http://mynewdomain.com$1

 

Method2:

Using The FRAMESET Tag For URL Masking.

This method hides all visual cues that the web page being displayed is not at the URL in the browser’s address bar (unless the web page being displayed itself contains images or wordage that provide clues).

What you do is create a FRAMESET web page that loads the target web page.

Make a web page with the following code. Change the URL in the third line of the code to the URL of the web page to be displayed in the browser.

<frameset rows="100%">
  <frameset cols="100%">
    <frame src="http://domain.com/page.html" frameborder="0" scrolling="no">
  </frameset>
</frameset>

Put only the above into the FRAMESET web page. Use no HTML or BODY or other normal web page tags.
Upload the FRAMESET web page to your server. Load the FRAMESET web page into your browser.
You’ll notice that the URL of the FRAMESET web page is in your browser’s address bar even while a different web page, the one you specified in the third line of the above code, is displayed in the browser window.
That’s the simplicity of URL masking with a FRAMESET tag.

 

Method3:

Using IFRAME Tag For URL Masking.

This method can leave visual cues that the page being displayed is not the page at the URL in the browser’s address bar.

The clues can be (other than clues the web page being displayed itself may contain), depending on the dimensions of the IFRAME compared to the dimensions of the displayed web page:

  1. Scrollbars appear on the IFRAME. When the displayed web page is larger than the dimensions of the IFRAME tag, and the IFRAME is allowed to display scroll bars, scroll bars will appear for the site user.

  2. Part of the displayed web page is cut off. When the displayed web page is larger than the dimensions of the IFRAME tag, and the IFRAME is prevented from displaying scroll bars, the excess of the displayed web page is cropped.

  3. The browser window scroll bars allow the user to scroll down past the end of the displayed page. When the dimensions of the IFRAME tag exceed that of the displayed web page, and the dimensions are larger than the browser window itself, scrollbars for the browser window will let the user scroll past the end of the displayed web page.

To use an IFRAME for URL masking, create a web page with an IFRAME that loads the target web page.

Make a web page with the following code. Change the URL in the fourth line of the code to the URL of the web page to be displayed in the browser.

<html>
<body>
<iframe 
  src="http://domain.com/page.html" 
  frameborder="0" 
  width="960" 
  height="2500" 
  scrolling="no">
</frameset>
</body>
</html>
</iframe>

Upload the IFRAME web page to your server. Load the IFRAME web page into your browser.
You’ll notice that the URL of the IFRAME web page is in your browser’s address bar even while a different web page, the one you specified in the fourth line of the above code, is displayed in the IFRAME tag.

Here are three methods for importing large SQL files

Method 1: Bigdump

http://www.ozerov.de/bigdump.php

I used a script called BigDump.php, a staggered SQL dump importer. It executes only a small part of the huge dump and restarts itself. The next session starts where the last was stopped to keep you from running into your server’s limits. Instructions for using it are on the BigDump website. Basically you place your SQL file in a folder on your server, along with the bigdump.php file. You edit that file with your database information and then visit the page on your server and set the import to go. This is a fairly quick process and will save you a lot of time.

 

Method 2: SSH

If you have root access to your server, create a backup using SSH

cd to the directory where you want to store your dump file:

cd /var/www/vhosts/yourdomain.com/httpdocs/sqldump

Then tell mysql to dump it out:

mysqldump –add-drop-table -u dbuser -p your_db > mybackup.sql

It will prompt you for your password. Everything should dump out without a problem.

*Note: The directory where you’re sending the dump file needs to be writeable by the server. Also, you don’t really want to leave it in that folder permanently. Just drop it there and pull it off your server so that you can manipulate it if you have to.
How to Import a Large SQL File

Importing is usually a bit messier. If you’re duplicating this database for testing purposes or moving your site to a new server, a large dump file, even when gzipped, can pose some challenges in the import process. This is the part where things can really stall out, and you need a few tricks up your sleeve.

Ordinarily I would just use phpMyAdmin to import the file. Because it’s so large, the first thing you should do is try importing via SSH:

mysql -u your_database -p db_user < mybackup.sql
Common Error when using SSH:

"got a packet bigger than ‘max_allowed_packet’ bytes"

Now what? Depending on the size of your file, running this command may fix it for you:

mysql> set global max_allowed_packet=1000000000;
mysql> set global net_buffer_length=1000000;

Then try importing your database after this. If it still doesn’t work, you might try splitting it up.

 

Method 3: splitting up your SQL file

Download a program that will split up your SQL file, such as SQLDumpSplitter2. This is a free SQL dump file splitter that will let you determine how big your chops will be and will automatically cut and save your split SQL file. Yes, this is a pain, but it is sometimes the only way to get this accomplished.

http://www.rusiczki.net/2007/01/24/sql-dump-file-splitter/

Create the splits and then upload them to a directory on your server.

If you want to restore the dump, you have to execute the yourdatabase_DataStructure.sql first because it contains the Tables structure. After that, you can execute the other .sql-files as they contain the data of the now existing tables. Using SSH, CD to your directory again and make sure to send this first:

mysql -u db_user -p db_name < yourbackup_DataStructure.sql

Then your splits:
mysql -u db_user -p db_name < yourbackup_1.sql
mysql -u db_user -p db_name < yourbackup_2.sql
etc…

 

Cycling apps for Iphone and Blackberry

Iphone / Ipad cycling apps

Cyclemeter GPS Cycling Computer for Road & Mountain Bikingvan Abvio LLC

Cyclemeter turns your iPhone into a powerful GPS stopwatch, giving you feedback and motivation to go farther, become faster, be healthier, and live longer. ?

Supports iOS 4 and multitasking! ? Named Best of Show at Macworld 2010 by Beatweek. ?

Featured by Apple in What’s Hot in the App Store. ? For a complete product tour, see

http://www.abvio.com/cyclemeter/

Bike Docter

Bicycle maintenance for everyone

Bike Doctor will show you everything you need to know to keep your bike in perfect working order. Simply choose a part of the bike you want to look at and follow the repair.

http://bikedoctorapp.com/

iMapmyRide

MapMy (powered by MapMyFitness is a location-based application that uses the built in GPS technology on your iPhone to allow runners, cyclists, (or any outdoor fitness activity) to track their daily training data, including:

* Total Time

* Total Distance (in miles or kilometers)

* Pace (minutes per km/mile) or current speed

* Average Speed / Pace (km/mile)

* View your running maps directly on your iPhone

* Training Log including Distance, Calories Burned, Time, and Date

* Add Your Workout to Twitter

http://www.imapmy.com/

http://www.mapmyride.com/

Bicycle Gear Calculator — Bike GearsBy JPMartineau

Designed by a cyclist, for cyclists, Bike Gears is the premier Bicycle Gear Calculator for the iPhone/iPod Touch.

Calculate Gear Ratios, Gear Inches, Development and Gain Ratios using your bike’s measurements.

The app now has over 200 preset tire sizes and also lets you enter your own custom tire size for personalized measurements.

http://www.bikegearsapp.com

MotionX GPS LiteBy MotionX™

MotionX-GPS is for your outdoor life:

That’s Walking, Hiking, Running, Cycling, Sailing, Skiing, Flying, Racing, Geocaching.

MotionX is committed to constant improvement. We listen to our millions of MotionX users and continuously add the most requested features. Recently added user-requested features include:

Live Speed and Altitude graphs.

Ascent / Descent and gradient information.

Share tracks up to 5MB.

Map Storage Interface: Downloading and storing maps is faster and easier than ever.

MotionX Terrain and Road maps can be stored for worldwide use and no data fees.

High contrast skin style for easy daytime viewing.

Support for GPX file import enables wirelessly importing of GPS tracks and waypoints from any source, anywhere.

http://gps.motionx.com/iphone/

B.iCycle – GPS cycling computer for Road & Mountain Biking

B.iCycle provides all the information you need on the bike. Our stylish user interface combined with maximum ease of use create a new experience on the bike that beats an ordinary bike computer by far!

http://b-icycle.com

Cychosis

Cychosis is a cycling journal for the the Apple iPhone with the following features:

Charting

See colorful high resolution charts of your training and riding progress for Weekly, Monthly, Yearly, and All time.

Chart your distance, average speed, and time.

Twitter

Optional automatic tweet (twitter) of each ride after you enter it lets your friends and family follow you on your bike!

Export ride data to CSV — private access to last 5 exports via Cychosis exports server.

Bikes:

Keeps track of the mileage and number of rides on any number of bikes.

Goals:

Set any number of distance goals and track progress against them.

Routes:

Keeps track of common routes, distance, elevation, notes, etc.

Automatically keeps stats for each route.

Rides:

Quickly record rides as soon as you’re finished.

Filter rides to current week, month, or year

Optional summary totals for current filtered period

Shows stats for each ride.

Pre-fill a new ride with one of your pre-defined routes, or enter a new name quickly.

http://www.cychosis.com/

Pedal Brain

Pedal Brain can be thought of as three integrated products. First, it’s an iPod and iPhone ANT+ accessory. Second, it’s a complete training log. Third, it’s a coaching platform.

Each of these products have been designed together and as such integrate perfectly well. There’s no distinction between your workouts on the web and your workouts on the iPhone or iPod.

Simply go for a ride and all your performance data is uploaded in realtime to the web where coaches, teammates and friends can see it (if you allow them to). There’s no post workout data upload step with Pedal Brain.

Similarly there’s no need to copy your workouts onto paper and stuff in your jersey before heading out. It’s already there on your iPhone or iPod

http://en.pedalbrain.com

Trails – GPS trackerBy Felix Lamouroux

Record maps while hiking, on bike trips or while jogging directly on your iPhone. Easily import tracks and follow hikes of others!

You can export your tracks with two clicks in the standard GPX Format. This allows you to geotag and geocode your non-iPhone photos (via e.g. HoudahGeo) or to share your track with others via Google Earth, etc

http://trails.lamouroux.de

EveryTrail

EveryTrail is the best way to share trips, connect with other travelers and find great new things to do.

Map a trip route with your phone or GPS

Add trip photos to your map instantly

Add maps & photos to your blog or website

Explore and share in the EveryTrail community

http://www.everytrail.com/

Distance Meter ProBy Future Apps Inc.

Distance meter is an easy to use, multi-purpose GPS distance tracker. Ever wonder what the distance of your favorite walking trail is? Distance Meter can find it! Need to know how fast your traveling while biking? Distance meter can tell you that too. Distance Meter can even show you how many calories you have burned!

Since Distance Meter takes advantage of the iPhone 3G’s built in GPS Receiver, its accuracy is much improved over a standard step pedometer that cost ten times as much. Distance Meter’s calculations can be accurate to within a few feet with a good GPS signal.

Go walking, hiking, jogging, running, biking, and distance meter will automatically calculate your distance traveled, current pace or speed, and much more!

http://www.future-apps.net/Distance_Meter/Distance_Meter.html

The Bike Computer By GlobalMotion Media, Inc

In addition to being the world’s most beautiful and easy to use cyclocomputer, the bike computer is also a GPS tracking application, which means it records and uploads a track of your bike ride.

Our website, www.everytrail.com, helps you visualize and annotate your ride, and to share it with your friends, family, and our fast growing community from over 130 countries.

http://itunes.apple.com/gb/app/the-bike-computer/id296643185?mt=8&ign-mpt=uo%3D6

Bike Your Drive

Bike Your Drive by REI is an iPhone app that helps you join the self-propelled revolution by logging your Bike rides with some cool features.

The app keeps a GPS log of your bike rides, whereever you go.

You can also snap photos on your route which are automatically geotagged with the location of the photo.

The stats screen of the app shows you a summary of your speed, distance, and time elapsed. Also you see your average speed, elevation and compass heading along with health and environmental impacts.

There is also a map view which not only shows your current location bu also plots your photos to where they were taken on your route. The app saves your drive details online at everytrail.com

http://www.appsafari.com/go/315344672/bikeyourdriverei

LiveRider

LiveRider is the first Wireless Cycling Computer and mounting system for iPhone and iPod touch. Incorporating advanced 2.4 GHz wireless technology from New Potato, a single permanently-sealed sensor unit is mounted on the frame near the rear wheel that measures both bike speed and pedal cadence and transmits that information to a receiving unit attached to the 30 pin connector of the iPhone.

Captured securely in a sleek and aerodynamic shock-absorbing handlebar mounted cradle that protects against vibration and debris, the rider’s iPhone is immediately accessible, yet can be quickly removed along with the receiver dongle.

Unlike other cycling computers, LiveRider is able to leverage the advanced features of the iPhone and iPod touch to provide the user a hi-res color touch screen interface, GPS features providing location and tracking, and accelerometer features to record inclination. LiveRider includes a file system to save the detailed data from each ride which can be reviewed graphically or exported via email and imported into any spreadsheet, document, or database.

http://www.newpotatotech.com/LiveRider/liverider.html

Blackberry cycling apps

Cycling Log

* Helps you to track your workouts & cycling logs on a calendar.

* Record your workouts and rest days with this application, and see your history and trends on the visual calendar and summary.

* Now, completely record, monitor, track & recall all your workouts for the entire year.

* So, now stick to all your goals & achieve them using this application.

* Have a quick view of all the data on the calendar itself.

FEATURES:

* Record all the data along with the basic information like name, photo, etc.

* See changes and improvements over time

* Motivate yourself to improve your fitness

* Send the data through Email.

* Quick glance of the cycling log data.

http://appworld.blackberry.com/webstore/content/8928

iMapMyRide

iMapMyRide features real-time ride gps tracking with distance, time, pace, and speed display, support for mile or km output, synchronization with your cycling training log and biking routes on MapMyRide.com, viewing of your cycling history with maps from your BlackBerry® smartphone, and Twitter integration.

GPS-location must be enabled and 3rd party access supported by your carrier. For example, this product does not work with Verizon and the Curve/Bold however it does work with Verizon and the Storm. This product also does not work with most international carriers. Please check with your carrier before you purchase this application as we are unable to provide refunds through the App Store.

With iMapMyRide, you can instantaneously get your cycling maps and view them in Google or Google Earth, view elevation profiles, post them to your blog or website, email them to friends, or print them out for an event or group ride.

When you ride, iMapMyRide.com automatically breaks your rides into 5-mile splits so you can compare segments of your workout.

http://appworld.blackberry.com/webstore/content/5366

AllSport GPS

Track runs, bike rides, walks, and fitness workouts with AllSport GPS. Download a FREE 7-day trial version today; just click “Download Trial.” After 7 days, we will ask for a one-time fee of $19.99.

Turn your BlackBerry® into a personal trainer and workout collector. AllSport GPS uses the built-in GPS on your BlackBerry® to track all your workouts and fitness stats. Plus, use our website to analyze, store, plan, and share your training sessions. With AllSport GPS you can:

* Track your workout routes on a map

* Collect fitness stats (time, speed, distance traveled, and calories burned).

* Store weekly, monthly, and annual workouts. Compare workouts online too.

* View speed and elevation graphs.

* Download street, aerial, and trail maps wirelessly to your BlackBerry®.

* Send workouts wirelessly to the trimbleoutdoors.com to see more maps and stats.

* Share and exchange rides, runs, and runs with friends.

* Retrieve trips from your online account on your phone.

* Access thousands of public trips submitted by our online community and the editors of Bicycling magazine.

* Keep workouts private or share them with our active community.

* Race against previous workouts to better your personal records.

http://appworld.blackberry.com/webstore/content/139

Bike-O-Meter

Bike-O-Meter is a “must have” App for every cycling or walking enthusiast. The App works equally well in an vehicle or automobile.

Bike-O-Meter is both a speedometer and odometer that allows instantaneous speed and distance whether you are walking, riding a bicycle or a vehicle.

The Bike-O-Meter App employs some very sophisticated algorithms to calculate speeds and distances very accurately.

It provides the ability to monitor speed, distance, elapsed time, heading/direction and locations that are important to a serious traveler. Bike-O-Meter tracks your trip, your overall speed, distance and elapsed time.

Mount it on your vehicle or carry it in your pocket/holster. All cellphone functions are available while you Bike-O-Meter runs in the background.

Bike-O-Meter supports 18 functions

http://appworld.blackberry.com/webstore/content/9112

VeloComputer

Transforms your phone into an advanced cycling computer. Strap it on your thigh and get cadence from accelerometer and speed from GPS. Keep your eyes on the road, not your display with audible VeloTones.

http://appworld.blackberry.com/webstore/content/1838

Chrome Extensions Re-Order

Until an official way is developed, you could disable and re-enable your extensions in the order you want them to appear (this of course becomes less practical if you have lots of extensions or add new ones often). but this might help a few people bring a bit of order to ‘the toolbar.’

Godmode in Windows 7 / Vista

godmode

Godmode in Windows 7

1. Create a new folder and then rename the folder with the following:

GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}

Thats its your ready to tweak your system from one easily accessible control panel. From Checking your security status to task scheduling. Have fun.

**NB The ‘godmode’ works with both the 32 & 64-bit versions of Windows 7, Vista 32-bit, Windows Server 2008 32-bit should also work. ** However, it is known to crash 64-bit versions of Vista : you may need to boot in safe mode or to the command line to delete the folder. Be warned..

godmode

[tag light="true"]your code here[/tag]

Wampserver, hmailserver with spamassasin, filezilla server

For one project it was necessary to install a web server, I had access to a Windows 2003 server.
I’ve searched the internet and have found a few articles.
Here’s an overview:

1 wampserver

Download the latest release of Wampserver
Optionally add as much Apache, PHP and MySQL releases as you want
Once you download WAMP, double click the icon and begin the install process.

image_menu_wamp

start wampserver with windows startup
start>run> type in ‘services.msc’ and press enter

scroll down to the two servcies

wampapache
wampmysql

right click them and select properties.

on the general tab change startup from manual to automatic.

also there is a log on tab which u can supply a password and it will start it up with out needing to be logged in

SETTING UP VIRTUAL HOST

** Left click the white half circle -> Apache -> httpd.conf (this opens the file)

** Find:
# Virtual hosts
#Include conf/extra/httpd-vhosts.conf

** and replace with:
# Virtual hosts
Include conf/extra/httpd-vhosts.conf

** Save httpd.conf

** open in notepad {WampServer install directory}\bin\apache\Apache2.2.11\conf\extra\httpd-vhosts.conf

** Find:
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#

** and remove everything under that.

** and replace with:
<VirtualHost *:80>
ServerAdmin webmaster@{DOMAIN}.localhost
DocumentRoot “{WampServer2.0c.exe install directory}/www/{YOUR PATH TO DOMAIN ROOT}”
ServerName {YOUR DOMAIN}.localhost
ServerAlias www.{YOUR DOMAIN}.localhost
ErrorLog “logs/{YOUR DOMAIN}.localhost-error.log”
CustomLog “logs/{YOUR DOMAIN}.localhost-access.log” common
</VirtualHost>

** Replace {YOUR DOMAIN} with any name you want, feel free to customize this.
** Replace {YOUR PATH TO DOMAIN ROOT} with a valid path your domain root (It can be anywhere).

** Save httpd-vhosts.conf

** open in notepad C:\windows\system32\drivers\etc\hosts

** at the end add:
127.0.0.1     {YOUR DOMAIN}.localhost

** Replace {YOUR DOMAIN} with the one you set in VirtualHost.

** Save hosts

** A windows restart is recommended.

2 hmailserver

Configuring your DNS records

Before we install your mail server it is a good idea to ensure you DNS records are correctly setup for email. DNS is vital to the operation of the Internet, and in a nutshell what it does is create a link between a human friendly domain name (e.g. example.com) and an IP addresses. When a user enters a web address into their browser, that domain is then resolved to an IP address which is then used to communicate. When hosting your own email server there are three very important types of DNS records to consider, and these are A, PTR and MX records.

An A record, or Address record is one of the most common types of DNS records you’ll come across. Its purpose is to simply create a link between an IP address and a domain name. For example for the domain name of example.com you would have an A record that contained the IP address of the server that was hosting example.com. With A records the domain must be unique, but the IP address does not. This means you can have as many domain names pointing to the same IP address as you want, and is used extensively these days for both Email and Web hosting. In regards to your Email environment, it is best to create a separate A record that identifies your email server. This can be something like mail.example.com or similar. You’ll need to create an A record for each server you plan on using as a mail server.

A PTR, or Pointer Record is unique in DNS in that you can only have one PTR address per IP address. This is because the function of a PTR record is to resolve a human friendly name from an IP address, instead of the other way around. Because you are resolving a domain name from an IP address, there can only be one authoritative record. If possible it is best to set your PTR record of the IP your email will be hosted from to be the same as your A record (e.g. mail.example.com), and you may need to contact your hosting company to do this for you.

Finally we have the MX, or Mail eXchange record which is used by other mail servers to direct email to the right place. Unlike an A or PTR record an MX record is not associated with an IP address in anyway, but instead contains the human friendly name of the A record you wish to use for your mail server. This might sound a little redundant as all it is doing is pointing from one record to another, but MX records also have one other important function. This is to establish the pecking order of your email servers by using a preference field in which you can enter a numerical value (the lower the number, the more important that server is) to define in what order other email servers should contact your email servers. If the email server with the highest preference (lowest number in preference field) is not contactable, then incoming email servers will simply use the server identified by the MX record with the next highest preference.

Installing hMailServer

That is most of the heavy stuff out of the way. From here on in it is all installing and configuring hMail, which is all done via a GUI interface meaning I can use screen shots to do the talking and is hopefully easier to follow. Click any of the images to get a pop-up window displaying a full sized image.

After downloading the latest stable hMail server installer package (currently 4.3.1) from the hmailserver website, double click on it to initiate the install process as shown below in figure 1.

hmailserver1

Select the installation path for hMail as shown below in figure 2.

hmailserver2

Select a full or custom install of hmail (full recommended) as shown below in figure 3.

hmailserver3

Select wether to use the MySQL server built into the hMail distribution, or use an external database. If this is a dedicated email server then it is recommended to use the built in database server as shown below in figure 4. However, if you already have MySQL installed (or are planning to) or would like to use Microsoft SQL server then select the external database server option.

hmailserver4

Set the start menu program group for hMail as shown below in figure 5.

hmailserver5

Confirm your settings as shown below in figure 6.

hmailserver6

Click install and hMailServer will be installed as shown below in figure 7.

hmailserver7

Once installation is complete, make sure the “Run hMailServer administrator” option is checked as shown below in figure 8 and click finish.

hmailserver8

Configuring hMailServer

With the installtion of hMailServer successfully completed, the next step is configuration. The configuration steps below show you how to add a domain, add an account, create an alias, setting the server host name, configure RFC settings and configure SMTP relay options to prevent open relay. Start by clicking the Add domain button as shown below in figure 9.

hmailserver9

Enter the domain name as shown below in figure 10, and then set the catch-all address. If a mail is sent to an address on your domain that does not have a POP account or alias, then it is redirected to the catch-all address. In this example we have set the catch-all address to postmaster@example.com. From here you can also set the global maximum mailbox size as well as the maximum message size for your domain. Once the domain is created you are also able to access several other tabs to set global settings, but they are not covered in this guide.

hmailserver10

With the domain setup, it is now time to create accounts. To be RFC compliant all domains should accept email to a postmaster account, and as we have set postmaster to be the catch-all we will now set up an account for it. Place the name of the account in the Account address feild, and then enter a password as shown below in figure 11. You can also set individual mailbox and message size, as well as many other options not covered in this guide such as Active Directory intergration, auto-reply, forwarding, signature and fetching of email from external accounts.

hmailserver11

Sometimes it is not practical or desirable to setup an account for every email address you want, and in this case it can be handy to uses an email alias that points to an existing account. In this example we will create an alias of abuse@example.com that points to the postmaster@example.com. Simply enter the alias you’d like to use (in this case abuse) in the Redirect from feild and enter the account and domain ( in this case postmaster and example.com repsectively) in the To feilds. Like the postmaster address, domains are also required to accept email to the abuse email address to be RFC compliant.

hmailserver12

Now that we have a domain, account and alias setup lets look at selecting what email services we want to use. Using the navigation window in the left, select and expand the Settings item and then select the Protocols option. Make sure you have at least the SMTP and POP3 servers ticked, as otherwise you will not be able to send or recieve mail. You may not wish to use the IMAP server, but you will need it if you wish to provide webmail functionality to your users.

hmailserver13

Next step is to set the server host name. In the navigation window on the left, expand the Protocols item and select SMTP. This can be very important as some email servers will not accept email or mark it as spam if the host name does not match the hostname specified in the MX record we set earlier. In the Host Name field enter the full host name you specified in your MX records. In this example we’ll use mail.example.com. Note: If you are looking to host your own email server over your home broadband connection, then you will want to enter the name of your ISP’s SMTP server in the Relayer field. If your ISP requires authentication, then you’ll also need to provide those details in the fields below.

hmailserver14

With the host name set we will now set some extra RFC compliance settings. From the page you are on, simply click on the RFC Compliance tabe at the top. It is important that your email server be RFC compliant as otherwise it is likely that many domains will mark your email as spam, and that is if they accept it at all. One of the RFC requirements for email servers is that they accpet a null sender address. You can enable this ticking the Allow empty sender address option. It is also a good idea to enable the Allow incorrectly formatted line endings option as several popular email server packages out their vary slightly in the way they terminate email messages, and without this option set you email server may not be able to recieve emails from them

hmailserver15

The final step in the basic configuration of your email server is to enure it is not an open relay. An open relay is when a server enables mails to be sent through it to other domains on behalf of domains that do not exist on the local server. Being an open relay is a very quick way in which to get yourself blacklisted, and it can be near impossible to get off these blacklists once you’re on it. Luckily hMailServer makes in very easy to prevent this, and in fact by default you should not have to change a thing. Just to be sure though it is always best to check the settings. In the navigation window to the left, select the select and expand the Advanced menu item from under the Settings tree. From here select the IP Ranges option and then select the Internet option. All you have to do here is ensure that the Local to local, Local to external, and External to local options are ticked from under the Allow deliveries from section. Finally also ensure that the To remote accounts option is ticked from under the Require authentication for deliveries section. All these options are shown below in figure 16.

hmailserver16

Testing the configuration

Almost done now, the only thing left to do is test your email environment to make sure everything is configured correctly and ensure it is not an open relay. First stop is to plug your domain in at DNSReport.com which will give you a good overview of how well your email system is setup. If DNSReport finds any issues of concern it will notify you and offer advice on what needs to be fixed.

There are several tests available for free on the internet for testing your email server for open relay, and the ones I’d suggest using are the tests at abuse.net and aupads.org. Once you have passed these tests then you should be all clear to go ahead and start creating other account and finally sending and recieving email from your very own email server.

3How to Configure SpamAssassin for HMailserver in Windows

1. Download SAWin32 3.2.3.3, which is the latest windows build of SpamAssassin (As of September 8, 20009).
2. Download the latest SpamAssassin for Win32 command-line tools
3. Unzip both files into your computer with HMailServer installed under the path “c:\sa\”
4. Next we will have to create a new Windows Service called “SpamAssassin”. This will allow HMailServer to use SpamAssassin.
1. Install the Windows Server 2003 Resource Kit Tools. This will give you the necessary INSTSRV.EXE and SRVANY.EXE files to run SA as a service
2. Go to Start Menu -> Run -> cmd
3. Under the command line, enter in the following line (with quotes):
“C:\Program Files\Windows Resource Kits\Tools\INSTSRV.EXE” SpamAssassin “C:\Program Files\Windows Resource Kits\Tools\SRVANY.EXE”

4. Once installed, open up Regedit
5. Go to HKLM -> SYSTEM -> CurrentControlSet -> Services -> SpamAssassin
6. Add a new key called “Parameters”
7. Under Parameters, add a new String Value of Application, and set the value data to (without quotes):
“c:\sa\spamd.exe -l -s c:\sa\spamd.log –round-robin”

8. Then go to the services control panel and start up the spam assassin service.
9. If there are any issues, check the c:\sa\spamd.log file for more info
5. Then you might have to allow dccproc and spamassassin in your firewall
6. Adjust your hMailServer settings to allow the incoming e-mail check against SpamAssassin
7. And finally you might have to restart your hMailServer service for the new service to take effect.

Teamviewer + wampserver :

Instructions on how to disable TeamViewer from listening on Port 80. Instructions are as follows:

1. Open port 5938 (TCP) on your firewall.
2. Change the following registry keys.

* [HKEY_LOCAL_MACHINE\SOFTWARE\
TeamViewer\Version4] Key ’GatewayAllowed’ set to 0
*
[HKEY_LOCAL_MACHINE\SOFTWARE\TeamViewer\Version4] Key ’ListenHttp’ set to 0

After you make these changes, you should no longer have TeamViewer listening in on port 80, killing your local web server.

4FileZilla server

To install FileZilla server, please follow these steps:

1. Log into your server through Terminal Services or Remote Desktop Connection.
2. Open a Web browser and load http://sourceforge.net/project/showfiles.php?group_id=21558
3. Scroll to the bottom and download the latest install file under FileZilla Server, FileZilla_Server-0_9_23.exe.
4. Once the download completes, run the .exe file.
5. Read the License Agreement and choose “I Agree” to proceed.
6. Select the components you wish to install and click Next.

filezilla1

7. Select the Destination Folder and click Next. We recommend using the default settings.

filezilla2

8. Select how the services should be started and click Next. We recommend using the default settings.

filezilla3

9. Select how the server interface should be started and click Install. We recommend using the default settings.

filezilla4

10. Click Close to finish the installation.
11. Click OK to connect to the FileZilla server.

filezilla5

Once installation is complete, you may begin creating FTP users in FileZilla.

To create a Filezilla FTP user, please follow these steps:

1. From the Edit menu, select Users.

filezillauser1

2. Click Add.

filezillauser2

3. Enter the user name and click OK.

filezillauser3

4. Under Account settings, check the password box and enter a password.

filezillauser4

5. Click Shared folders in the left menu.
6. Under Shared Folders, click Add.

filezillauser5

7. Navigate to the folder the user will have access to and click OK.
8. Check the permissions the user should have on this folder.

filezillauser6

9. Click OK.