~mailman-coders/mailman/2.1

1025.1.3 by Barry Warsaw
Because the admin directory is no longer included, the www directory isn't
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
<html>
3
<head>
4
<link rel="STYLESHEET" href="mailman-install.css" type='text/css' />
5
<link rel="first" href="mailman-install.html" title='GNU mailman - installation Manual' />
6
<link rel='last' href='about.html' title='About this document...' />
7
<link rel='help' href='about.html' title='About this document...' />
8
<link rel="next" href="node29.html" />
9
<link rel="prev" href="node27.html" />
10
<link rel="parent" href="node16.html" />
11
<link rel="next" href="node29.html" />
12
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
13
<meta name='aesop' content='information' />
14
<title>6.2.12 Virtual Domains</title>
15
</head>
16
<body>
17
<div class="navigation">
18
<div id='top-navigation-panel' xml:id='top-navigation-panel'>
19
<table align="center" width="100%" cellpadding="0" cellspacing="2">
20
<tr>
21
<td class='online-navigation'><a rel="prev" title="6.2.11 doing VERP with"
22
  href="node27.html"><img src='previous.png'
23
  border='0' height='32'  alt='Previous Page' width='32' /></a></td>
24
<td class='online-navigation'><a rel="parent" title="6.2 using the Exim"
25
  href="node16.html"><img src='up.png'
26
  border='0' height='32'  alt='Up one Level' width='32' /></a></td>
27
<td class='online-navigation'><a rel="next" title="6.2.13 list Verification"
28
  href="node29.html"><img src='next.png'
29
  border='0' height='32'  alt='Next Page' width='32' /></a></td>
30
<td align="center" width="100%">GNU Mailman - Installation Manual</td>
31
<td class='online-navigation'><img src='blank.png'
32
  border='0' height='32'  alt='' width='32' /></td>
33
<td class='online-navigation'><img src='blank.png'
34
  border='0' height='32'  alt='' width='32' /></td>
35
<td class='online-navigation'><img src='blank.png'
36
  border='0' height='32'  alt='' width='32' /></td>
37
</tr></table>
38
<div class='online-navigation'>
39
<b class="navlabel">Previous:</b>
40
<a class="sectref" rel="prev" href="node27.html">6.2.11 Doing VERP with</a>
41
<b class="navlabel">Up:</b>
42
<a class="sectref" rel="parent" href="node16.html">6.2 Using the Exim</a>
43
<b class="navlabel">Next:</b>
44
<a class="sectref" rel="next" href="node29.html">6.2.13 List Verification</a>
45
</div>
46
<hr /></div>
47
</div>
48
<!--End of Navigation Panel-->
49
50
<h3><a name="SECTION0016212000000000000000">
51
6.2.12 Virtual Domains</a>
52
</h3>
53
54
<p>
55
One approach to handling virtual domains is to use a separate Mailman
56
installation for each virtual domain.  Currently, this is the only way to have
57
lists with the same name in different virtual domains handled by the same
58
machine.
59
60
<p>
61
In this case, the <var>MAILMAN_HOME</var> and <var>MAILMAN_WRAP</var> macros are useless
62
- you can remove them.  Change your director (router) to something like this:
63
64
<p>
65
<div class="verbatim"><pre>
66
  require_files = /virtual/${domain}/mailman/lists/${lc:$local_part}/config.pck
67
</pre></div>
68
<p>
69
and change your transport like this:
70
71
<p>
72
<div class="verbatim"><pre>
73
  command = /virtual/${domain}/mailman/mail/mailman \
74
            ${if def:local_part_suffix \
75
                 {${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}}
76
                 {post}} \
77
              $local_part
78
  current_directory = /virtual/${domain}/mailman
79
  home_directory = /virtual/${domain}/mailman
80
</pre></div>
81
<p>
82
83
<div class="navigation">
84
<div class='online-navigation'>
85
<p></p><hr />
86
<table align="center" width="100%" cellpadding="0" cellspacing="2">
87
<tr>
88
<td class='online-navigation'><a rel="prev" title="6.2.11 doing VERP with"
89
  href="node27.html"><img src='previous.png'
90
  border='0' height='32'  alt='Previous Page' width='32' /></a></td>
91
<td class='online-navigation'><a rel="parent" title="6.2 using the Exim"
92
  href="node16.html"><img src='up.png'
93
  border='0' height='32'  alt='Up one Level' width='32' /></a></td>
94
<td class='online-navigation'><a rel="next" title="6.2.13 list Verification"
95
  href="node29.html"><img src='next.png'
96
  border='0' height='32'  alt='Next Page' width='32' /></a></td>
97
<td align="center" width="100%">GNU Mailman - Installation Manual</td>
98
<td class='online-navigation'><img src='blank.png'
99
  border='0' height='32'  alt='' width='32' /></td>
100
<td class='online-navigation'><img src='blank.png'
101
  border='0' height='32'  alt='' width='32' /></td>
102
<td class='online-navigation'><img src='blank.png'
103
  border='0' height='32'  alt='' width='32' /></td>
104
</tr></table>
105
<div class='online-navigation'>
106
<b class="navlabel">Previous:</b>
107
<a class="sectref" rel="prev" href="node27.html">6.2.11 Doing VERP with</a>
108
<b class="navlabel">Up:</b>
109
<a class="sectref" rel="parent" href="node16.html">6.2 Using the Exim</a>
110
<b class="navlabel">Next:</b>
111
<a class="sectref" rel="next" href="node29.html">6.2.13 List Verification</a>
112
</div>
113
</div>
114
<hr />
1670 by Mark Sapiro
Rebuilt docs.
115
<span class="release-info">Release 2.1, documentation updated on August 26, 2016.</span>
1025.1.3 by Barry Warsaw
Because the admin directory is no longer included, the www directory isn't
116
</div>
117
<!--End of Navigation Panel-->
118
119
</body>
120
</html>