| By
Chris Jackson <chris@future-i.com> |
| Status: Draft Version |
.qmail files in your home directory for mail to be recieved. Default behaviour is for the mail to bounce.
.qmail file defines a destination for messages, i.e. it is very easy to route messages to multiple destination.
/home/user/.email delivers to the file .email in user's home directory.
/home/user/Maildir/email delivers to the directory Maildir in user's home directory.
chris routes to the user chris.
& bounces mail to an email address, e.g. &chris@coldmail.com redirects mail to the address chris@coldmail.com
| pipes mail through a command, e.g. |myhandler pipes mail through the command myhandler. Note, to filter with procmail, it's normal to user | preline procmail
.qmail-extra_string, using the same syntax as normal .qmail files. The file .qmail-default will handle any extra_string without it's own .qmail file. Note that extra_string is converted to lowercase before matching so all .qmail-extra_string files should be in lowercase.
user_string@virtual_domain is delivered locally to username-user_string, where username is the owner of virtual_domain
alias, then routed as normal, using .qmail files in the home directory.
More info in dot-qmail(5) and at http://www.nrg4u.com/