Next Previous Contents

2. Virtual domain definition dialog

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.

2.1 A name

You must give a domain name. This is all that is required.

2.2 Fall back destination

This is an optional field. Normally, when an email message is sent to an account of a virtual email domain, the following processing is done.

If the fall back field is defined, the email will be sent to the fall back address instead. The fall back address may be

Empty

The is the default case. The message is rejected.

another_user@another_domain

The message is sent to a specific user of another domain

@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.

account

The message is sent to another account of the same domain. This account may be an alias.

2.3 Allocate UID from

Normally, user ID for virtual email accounts starts at 60,000 for all domains. You can control the start of the allocation range if you wish. This is mainly use for people wanting to play with disk quota. Note that the vdeliver program can limit the size of the user inbox as well.

2.4 Limit user inbox to (k)

Enter the limit, in kilobytes, for the user inbox. This is the default for the domain. You can override it user by user if needed.

The default is no limit.

2.5 Match user full name

When enable, the delivery agent will try to match the user full name. It replace the spaces in the full name by dots and tries to match against this. So user joe, with full name "joe who" may receive email as joe@domain.com or joe.who@domain.com.

2.6 Filter program + args (opt)

You can specify an optional program which will filter the messages when they are appended to the user inbox folder. The filtering may be use to check for some bad content (virus ?).

The filtering program receives the message on its standard input and write the modified message (or nothing) on its standat output.

You can specify some arguments as well. Specify the full path of the filter.

2.7 Alternat aliases files

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.

2.8 Aliases for this domain

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.


Next Previous Contents