summaryrefslogtreecommitdiffstats
path: root/tcpproxy-smtpstatus-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'tcpproxy-smtpstatus-html.lsp')
-rw-r--r--tcpproxy-smtpstatus-html.lsp15
1 files changed, 15 insertions, 0 deletions
diff --git a/tcpproxy-smtpstatus-html.lsp b/tcpproxy-smtpstatus-html.lsp
new file mode 100644
index 0000000..c639424
--- /dev/null
+++ b/tcpproxy-smtpstatus-html.lsp
@@ -0,0 +1,15 @@
+<% local view, viewlibrary, page_info, session = ...
+require("viewfunctions")
+%>
+
+<% displaycommandresults({"delsmtpentry", "delsmtpfile"}, session) %>
+
+<H1>SMTP Proxy Status</H1>
+<DL>
+<% displayitem(view.value.version) %>
+</DL>
+
+<% if viewlibrary and viewlibrary.dispatch_component then
+ viewlibrary.dispatch_component("listsmtpentries")
+ viewlibrary.dispatch_component("listsmtpfiles")
+end %>