0d98d92642
test / test (push) Waiting to run
Port 25 accepts only configured domains and listed recipients, then forwards to an upstream; the outbound path is unchanged when the flag is off. Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
876 B
HTML
21 lines
876 B
HTML
{{define "content"}}
|
|
<h1>Delete {{.Domain.Name}}</h1>
|
|
|
|
{{template "back_link" (back (printf "/inbound/%d" .Domain.ID) (printf "Back to %s" .Domain.Name))}}
|
|
|
|
<div class="card">
|
|
<h2>Confirm deletion</h2>
|
|
<p>You are about to stop accepting inbound mail for <strong>{{.Domain.Name}}</strong>. This will:</p>
|
|
<ul>
|
|
<li>remove it from <code>relay_domains</code> and the recipient map;</li>
|
|
<li>stop forwarding{{if ne .Upstream "—"}} to <strong>{{.Upstream}}</strong>{{end}};</li>
|
|
<li>leave outbound sending domains untouched.</li>
|
|
</ul>
|
|
<p class="muted">This cannot be undone from a backup of inbound maps alone
|
|
unless you restore one. Remove the MX if you do not plan to re-add the domain.</p>
|
|
<form method="post" action="/inbound/{{.Domain.ID}}/delete">
|
|
<button type="submit" class="danger">Delete {{.Domain.Name}}</button>
|
|
</form>
|
|
</div>
|
|
{{end}}
|