1 ====================== |
|
2 Managing alias domains |
|
3 ====================== |
|
4 An alias domain is an alias for a domain that was previously added with the |
|
5 subcommand :ref:`domainadd`. |
|
6 All accounts, aliases and relocated users from the domain will be also |
|
7 available in the alias domain. |
|
8 In the following is to be assumed that example.net is an alias for example.com. |
|
9 |
|
10 Postfix will not accept erroneously e-mails for unknown.user\@example.net |
|
11 and bounce them back later to the mostly faked sender. |
|
12 Postfix will immediately reject all e-mails addressed to nonexistent users. |
|
13 |
|
14 This behavior is ensured as long as you use the recommended database queries |
|
15 in your :file:`{$config_directory}/pgsql-*.cf` configuration files. |
|
16 |
|
17 aliasdomainadd |
|
18 -------------- |
|
19 Syntax: |
|
20 | **vmm aliasdomainadd** *fqdn destination* |
|
21 | **vmm ada** *fqdn destination* |
|
22 |
|
23 This subcommand adds the new alias domain (*fqdn*) to the *destination* |
|
24 domain that should be aliased. |
|
25 |
|
26 Example: |
|
27 |
|
28 .. code-block:: console |
|
29 |
|
30 root@host:~# vmm aliasdomainadd example.net example.com |
|
31 |
|
32 aliasdomaindelete |
|
33 ----------------- |
|
34 Syntax: |
|
35 | **vmm aliasdomaindelete** *fqdn* |
|
36 | **vmm add** *fqdn* |
|
37 |
|
38 Use this subcommand if the alias domain *fqdn* should be removed. |
|
39 |
|
40 Example: |
|
41 |
|
42 .. code-block:: console |
|
43 |
|
44 root@host:~# vmm aliasdomaindelete e.g.example.com |
|
45 |
|
46 aliasdomaininfo |
|
47 --------------- |
|
48 Syntax: |
|
49 | **vmm aliasdomaininfo** *fqdn* |
|
50 | **vmm adi** *fqdn* |
|
51 |
|
52 This subcommand shows to which domain the alias domain *fqdn* is assigned to. |
|
53 |
|
54 Example: |
|
55 |
|
56 .. code-block:: console |
|
57 |
|
58 root@host:~# vmm adi example.net |
|
59 Alias domain information |
|
60 ------------------------ |
|
61 The alias domain example.net belongs to: |
|
62 * example.com |
|
63 |
|
64 aliasdomainswitch |
|
65 ----------------- |
|
66 Syntax: |
|
67 | **vmm aliasdomainswitch** *fqdn destination* |
|
68 | **vmm aos** *fqdn destination* |
|
69 |
|
70 If the destination of the existing alias domain *fqdn* should be switched |
|
71 to another *destination* use this subcommand. |
|
72 |
|
73 Example: |
|
74 |
|
75 .. code-block:: console |
|
76 |
|
77 root@host:~# vmm aliasdomainswitch example.name example.org |
|