blob: 9acd52f5d121ae622c06de0b4048ea9159e2bb08 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
|
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Edit domain <TMPL_VAR NAME=name></title>
<link href="/css/style.css" media="all" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="header">
<div class="left column">
<a href="../">Root</a> /
<a href="./"><TMPL_VAR NAME=name></a> /
</div>
<div class="right column">
Logged as <a href="<TMPL_VAR NAME=userURI>/?a=edit"
><TMPL_VAR NAME=user_localpart>@<TMPL_VAR NAME=user_domainpart></a>
| <a href="../?a=logout">Log out</a>
</div>
<br/>
</div>
<hr/>
<div id="content">
<h1>Edit domain <span class="domain"><TMPL_VAR NAME=name></span></h1>
<TMPL_IF NAME=newChanges>
<TMPL_IF NAME=error>
<div class="fail">Error: <TMPL_VAR NAME=error></div>
<TMPL_ELSE>
<div class="success">Your changes have succesfully been submitted.</div>
</TMPL_IF>
<TMPL_ELSE>
<br/>
</TMPL_IF>
<br/>
<form class="editform" name="editform" method="post" action="?">
<div class="editform">
<input type="hidden" name="a" value="edit" />
<h4 class="label" id="status">Status</h4>
<select name="isActive">
<option value="1" <TMPL_IF NAME=isActive>selected="selected"</TMPL_IF>>Active</option>
<option value="0" <TMPL_UNLESS NAME=isActive>selected="selected"</TMPL_UNLESS>>Inactive</option>
</select>
<div class="help">
<b>Warning</b>: emails are <i>not</i> delivered to users,
aliases or lists under inactive domains.
</div>
<hr/>
<h4 class="label" id="description">Description</h4>
<textarea name="description" cols="50" rows="5" ><TMPL_VAR NAME=description></textarea>
<div class="help">
An optional description. (HTML tags are allowed.)
</div>
<hr/>
<h4 class="label" id="catch-all">Catch-All aliases</h4>
<textarea name="catchAlls" cols="50" rows="5" ><TMPL_VAR NAME=catchAlls></textarea>
<div class="help">
An optional list of destinations (one e-mail address per line) that
will receive mail sent to <i>non existing</i> recipients.
Domain aliases can be defined by leaving the local part of
the destination empty, like in <span class="email">@example.org</span>:
email to <span class="email">inexisting@<TMPL_VAR NAME=name></span>
will then be sent to <span class="email">inexisting@example.org</span>.
</div>
<TMPL_IF NAME=isPostmaster>
<hr/>
<h4 class="label" id="canAddAlias">Grant right to create aliases</h4>
<textarea name="canAddAlias" cols="50" rows="5" ><TMPL_VAR NAME=canAddAlias></textarea>
<div class="help">
An optional list of e-mails (one address per line) that are
allowed to create aliases under your domain
<span class="domain"><TMPL_VAR NAME=name></span>.
It is possible to grant right for a whole domain by leaving out
the local part: For instance, listing
<span class="email">@example.org</span> here will give every user
under <span class="domain">example.org</span> the right to
create aliases under
<span class="domain"><TMPL_VAR NAME=name></span>.
<i>Note</i>: You already have this right, so there is no need to
list your e-mail here.
</div>
<hr/>
<h4 class="label" id="canAddList">Grant right to create lists</h4>
<textarea name="canAddList" cols="50" rows="5" ><TMPL_VAR NAME=canAddList></textarea>
<div class="help">
An optional list of e-mails (one address per line) that are
allowed to create mailing lists under your domain
<span class="domain"><TMPL_VAR NAME=name></span>.
It is possible to grant right for a whole domain by leaving out
the local part: For instance, listing
<span class="email">@example.org</span> here will give every user
under <span class="domain">example.org</span> the right to
create mailing lists under
<span class="domain"><TMPL_VAR NAME=name></span>.
<i>Note</i>: You already have this right, so there is no need to
list your e-mail here.
</div>
</TMPL_IF>
<hr/>
<br/>
<input type="submit" name="submit" value="Submit" />
<input type="submit" name="cancel" value="Cancel" />
</div>
</form>
</div>
</body>
</html>
|