Qmail options



.qmail

no longer used is .forward! Qmail forwarding/control tag is .qmail
There are five types of delivery instructions:  

(1) comment; 

# this is a comment

(2) program; 

|preline /usr/local/bin/procmail

(3) forwarder; 

&someone@getnet.net

(4) mbox; 

/export/home/s/someone/Mailbox.txt

(5) maildir.

/export/home/s/someone/Maildir/

***** Example ***** If you would like to forward your Getnet e-mail account
to another e-mail account you could create the .qmail file in your home
directory with a single file entry like this: &username@some.domain



&username@some.domain

***** Example *****
you may want to save your mail to the default Mailbox and send a copy to elsewhere.
so you would have two lines in your .qmail file.

/export/home/m/my_username/Mailbox
&username@domain.com

***** End Example *****



.qmail-* (Aliases)

With dot qmail you will have the ablility to have multiple alias using
your username as the base address.

example:

we have me@getnet.net as a email address.

we create a new .qmail file named .qmail-test in me's home directory 

now me-test@getnet.net will now be stored in the default mailbox for me

.qmail-* (Virtual Domains)

Virtual hosting can be handled by the user with .qmail files.
once the server is configured to send all messages to a user this
user can now configure where and how mail is handled for his domain
via the .qmail files.

.qmail-user 
will catch mail for user@domain.com

.qmail-default 
will catch all default mail

vacation program

you will need to login to trojan.getnet.net run the command "vacation -I"
this will generate three files in your home directory.

.vacation.dir
.vacation.msg
.vacation.pag

you will need to customize .vacation.msg to suit your needs.

your .qmail file should reads as:

| preline /bin/vacation your-user-name
./Mailbox

first line in your .qmail runs the vacation program and the next line will 
save a copy to you Mailbox file.


further reading on the vacation program
Vacation man pages
Further reading of the Qmail mailer
Qmail man pages
The Qmail home page
Qmail Home