Managing alias domains

An alias domain is an alias for a domain that was previously added with the subcommand domainadd. All accounts, aliases and relocated users from the domain will be also available in the alias domain.
In the following is to be assumed that example.net is an alias for example.com.

Postfix will not accept erroneously e-mails for unknown.user@example.net and bounce them back later to the mostly faked sender. Postfix will immediately reject all e-mails addressed to nonexistent users.

An excerpt from the mail log as example:

Dec 26 06:45:19 hostname postfix/smtpd[22770]: connect from host.dom.tld[10.1.2.3]
Dec 26 06:45:19 hostname postfix/smtpd[22770]: 76F333CE155: client=host.dom.tld[10.1.2.3]
Dec 26 06:45:19 hostname postfix/smtpd[22770]: 76F333CE155: reject: RCPT from host.dom.tld[10.1.2.3]: 550 5.1.1 <unknown.user@example.net>: Recipient address rejected: User unknown; from=<sender@dom.tld> to=<unknown.user@example.net> proto=ESMTP helo=<host.dom.tld>
Dec 26 06:45:19 hostname postfix/cleanup[22788]: 76F333CE155: message-id=<20081226064511.B64C465C8@host.dom.tld>
Dec 26 06:45:19 hostname postfix/qmgr[22742]: 76F333CE155: from=<sender@dom.tld>, size=595, nrcpt=1 (queue active)
Dec 26 06:45:19 hostname postfix/smtpd[22770]: disconnect from host.dom.tld[10.1.2.3]
Dec 26 06:45:19 hostname deliver(a.user@example.net): msgid=<20081226064511.B64C465C8@host.dom.tld>: saved mail to INBOX
Dec 26 06:45:19 hostname postfix/pipe[22790]: 76F333CE155: to=<a.user@example.net>, relay=dovecot, delay=0.23, delays=0.21/0.01/0/0.01, dsn=2.0.0, status=sent (delivered via dovecot service)
Dec 26 06:45:19 hostname postfix/qmgr[22742]: 76F333CE155: removed

Adding an alias domain

Syntax:

This subcommand adds the new aliasdomain to the targetdomain that should be aliased.

Example:

hostname ~ # vmm aliasdomainadd example.net example.com
hostname ~ #

Alias domain information

Syntax:

This subcommand shows to which domain the aliasdomain is assigned to.

Example:

hostname ~ # vmm aliasdomaininfo example.net
Alias domain information
------------------------
        The alias domain example.net belongs to:
            * example.com

hostname ~ #

Switching the target domain

Syntax:

If the target of the existing aliasdomain should be switched to another targetdomain use this subcommand.

Example:

hostname ~ # vmm aliasdomainswitch example.net pаypal.tld
hostname ~ #

Deleting an alias domain

Syntax:

Use this subcommand if the alias domain aliasdomain should be removed.

Example:

hostname ~ # vmm aliasdomaindelete example.net
hostname ~ #

VMMWiki: UsingVMM/ManagingAliasDomains (last edited 2008-12-28 12:06:50 by PascalVolk)

SourceForge.net Logo