[Home]   i n s t r u c t i o n s
< back to index       Mail Forwarding
 
i n f o
   about us
   technical
   payment
   contact

s e r v i c e s
   packages
   server
   design
   sign up

s u p p o r t
   instructions
   F.A.Q.
   password

m i s c
   resellers
   offers
   free

h o m e

 

Email forwarding for your domain is controlled by special files you put in your home directory. All of these files begin with ".qmail-" and end with the username.

For example, joe@yourdomain.com would be controlled by the file ".qmail-joe". This is a text file, containing the list of destination addresses, one address per line.

If the file is empty (0 bytes), mail for that user will be delivered to you. (You need to be sure the file is zero bytes, an empty file of just one blank line will not work.)

These files must be uploaded in ASCII mode.

There is one special username called "default" (use the file ".qmail-default") that will forward all mail for your domain that is not already specified with its own forwarding file.

If this file is 0 bytes, all mail going to anybody at your domain will be delivered to you.

If you have a separate POP3 account for your domain, you need to forward the mail to that user. For example, a POP3 account named "jack" needs to have a ".qmail-jack" file with just the word "jack" inside.

If you don't do this, mail for jack will be delivered to the address given in the ".qmail-default" file (or to yourself if it's empty). If you don't have a default forwarding and don't set the forwarding for jack, mail to jack will be returned with a "user unknown" error message.

For email addresses with a dot in it (first.last@yourdomain.com), you need to change the . to : in the ".qmail-" file.
For example, joe.blow@yourdomain.com is controlled by the file ".qmail-joe:blow".

Be careful to never have any blank lines or spaces in a ".qmail-" file, and always put each destination address on a different line.

 

 
TOPICS
getting started
domain registration | mail forwarding | checking mail | uploading your site
basic features
web stats | hit counters | form-to-mail cgi | redirect cgi | autoresponders |
basic mailing lists | advanced mailing lists | search engine submission | frontpage extensions | password protected directory | custom error pages | subdomains
advanced features
cgi scripts | server-side includes | php | mysql |

 
All your hosting dreams come true!
P R O F E S S I O N A L
hkhosting.com
W E B   S E R V I C E S

Copyright © 1999-2003 HK Hosting Ltd. All rights reserved. Terms & Conditions