The .domains file
Tutorial

Maintaining

This tutorial is for all of our customers who have run into the ".domains nightmare" in the past.

The following is the basic format for the .domains file:

RECEIVING_ADDRESS [spc] FORWARDING_ADDRESS


And now a working example:

info@hostcentric.com #
jshaver@hostcentric.com jshaver
mark@hostcentric.com somewhere@somewhere.com
me@hostcentric.com you@there.com
default@hostcentric.com default
hostcentric.com default



So in this example any mail sent to info@hostcentric.com will be forwarded to MReply. The "#" tells the mail program to forward any mail to MReply.

Mail sent to jshaver@hostcentric.com will be forwarded to local user "jshaver". The means that jshaver has a POP account set up so we want his mail to go to that account.

Mail going to mark@hostcentric.com will be forwarded to somewhere@somewhere.com. The same goes for me@hostcentric.com. Since users "mark" and "me" don't have local POP accounts then we must forward their mail to a real e-mail address.

Now, these last 2 lines are important. "default" is the default username that you gave when you set the account up. That is the user that has ownership of the directory. Any mail going to default@hostcentric.com is going to be sent to default's local POP account. The last line is the "catch-all". This means that any unrecognized mail will automatically be sent to user "default". So if you were to send mail to lamer@hostcentric.com it would automatically be forwarded to "default" because there is no entry in the .domains file for lamer.

You can have as many forwardings as you like but keep in mind that if we forward mark@hostcentric.com to somewhere@somewhere.com, the somewhere account must be a valid account at somewhere.com

Suppose you want to have mail sent to foo@bar.com to 2 places. This is how you would do it:

foo@bar.com tom@netcom.net,tim@earthlink.com


So mail sent to foo@bar.com will be forwarded to both tom@netcom.net 
AND tim@netcom.com.




A few things that are VERY IMPORTANT:






Copyright © 1999 - 2001 MidAir Design, Inc. All rights reserved.