To create a new virtual email domain, you must fill a single dialog. There are other tasks to do related to the DNS and IP alias and they are described in other section of this help. We will describe here the main dialog.
You must give a domain name. This is all that is required.
This is an optionnal field. Normally, when an email message is sent to an account of a virtual email domain, the following processing is done.
If the fallback field is defined, the email will be sent to the fallback address instead. The fallback address may be
The is the default case. The message is rejected.
The message is sent to a specific user of another domain
The message is sent to the same target account, but in another domain. For example, email sent to unknown@this_domain will be forward to unknown@another_domain.
The message is sent to another account of the same domain. This account may be an alias.
Each virtual domain has implicitly an aliases file named
/etc/vmail/aliases.domain
where domain is the domain
name. You can define up to two more. They will be used by
the vdeliver program. The implicit one has the highest priority.
vdeliver looks in the first one and then in the second one
until a match is found.
Note that, like normal aliases (/etc/aliases) processed by sendmail, alias definition may point to another alias and so on. Mailing list may be defined etc...
Aliases files are maintained by the same dialog as normal sendmail aliases and as such, offers the same capabilities.
It is possible to provide several domain name pointing to the same user pool. You can add as much as needed. For example, one may define the virtual domain foo.ca and later register foo.com. By using domain alias, both domains will be equivalent.