diff options
| author | Ahmed <git@gumx.cc> | 2026-06-14 16:30:47 +0300 |
|---|---|---|
| committer | Ahmed <git@gumx.cc> | 2026-06-14 16:30:47 +0300 |
| commit | 307ff4912bac1095ebf382d70241f19409b2f8b8 (patch) | |
| tree | a2c3d36634fa86705e48db4fc797437ba816e5e0 /mail.gumx.cc | |
| parent | fa568e13d04c0aacdb29ca252b783f1dcdb6bf23 (diff) | |
add: templating
Diffstat (limited to 'mail.gumx.cc')
| -rw-r--r-- | mail.gumx.cc/.well-known/autoconfig/mail/config-v1.1.xml | 22 | ||||
| -rw-r--r-- | mail.gumx.cc/body.html | 12 | ||||
| -rw-r--r-- | mail.gumx.cc/index.html | 12 | ||||
| -rw-r--r-- | mail.gumx.cc/meta | 2 |
4 files changed, 47 insertions, 1 deletions
diff --git a/mail.gumx.cc/.well-known/autoconfig/mail/config-v1.1.xml b/mail.gumx.cc/.well-known/autoconfig/mail/config-v1.1.xml new file mode 100644 index 0000000..8098148 --- /dev/null +++ b/mail.gumx.cc/.well-known/autoconfig/mail/config-v1.1.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<clientConfig version="1.1"> + <emailProvider id="gumx.cc"> + <domain>gumx.cc</domain> + <displayName>gumx mail</displayName> + <displayShortName>gumx</displayShortName> + <incomingServer type="imap"> + <hostname>mail.gumx.cc</hostname> + <port>993</port> + <socketType>SSL</socketType> + <authentication>password-cleartext</authentication> + <username>%EMAILADDRESS%</username> + </incomingServer> + <outgoingServer type="smtp"> + <hostname>mail.gumx.cc</hostname> + <port>587</port> + <socketType>STARTTLS</socketType> + <authentication>password-cleartext</authentication> + <username>%EMAILADDRESS%</username> + </outgoingServer> + </emailProvider> +</clientConfig> diff --git a/mail.gumx.cc/body.html b/mail.gumx.cc/body.html new file mode 100644 index 0000000..7a3e9fe --- /dev/null +++ b/mail.gumx.cc/body.html @@ -0,0 +1,12 @@ +<p>Self-hosted mail running <a href="http://www.postfix.org/">Postfix</a> and <a href="https://www.dovecot.org/">Dovecot</a>.</p> +<h2>contact</h2> +<p><a href="mailto:hi@gumx.cc">hi@gumx.cc</a></p> +<h2>IMAP / SMTP</h2> +<table> +<tr><th>IMAP</th><td>mail.gumx.cc:993 (TLS)</td></tr> +<tr><th>SMTP</th><td>mail.gumx.cc:587 (STARTTLS)</td></tr> +</table> +<h2>CalDAV / CardDAV</h2> +<p>Available at <code><a href="https://mail.gumx.cc/dav/">/dav/</a></code> via <a href="https://www.xandikos.org/">Xandikos</a>. Credentials on request.</p> +<h2>mailing list</h2> +<p>Site updates and discussion: <a href="/list">gumx.cc mailing list</a>.</p> diff --git a/mail.gumx.cc/index.html b/mail.gumx.cc/index.html index 9e5597c..e22b67a 100644 --- a/mail.gumx.cc/index.html +++ b/mail.gumx.cc/index.html @@ -2,6 +2,7 @@ <html lang="en"> <head> <meta charset="utf-8"> +<link rel="icon" type="image/svg+xml" href="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1IDUiPjxyZWN0IHg9IjEiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz48cmVjdCB4PSIyIiB5PSIxIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+PHJlY3QgeD0iMCIgeT0iMiIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPjxyZWN0IHg9IjEiIHk9IjIiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz48cmVjdCB4PSIyIiB5PSIyIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+PC9zdmc+"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>mail.gumx.cc</title> <style> @@ -14,15 +15,20 @@ main, header, footer { max-width: 800px; margin-inline: auto; padding: 0 2rem; } h1, header, footer { text-align: center; } main { text-align: justify; } p, h2, h3, h4 { margin: 1em 0 0 0; } +ol { margin: 0.5em 0 0 0; } table { margin: auto; border-collapse: collapse; } th, td { border: 1px solid; padding: 0.3em 0.8em; } +pre { margin: 1em 0; } +pre code { border: thin solid; padding: 1em; display: block; text-align: start; overflow-x: scroll; } code { font-size: 85%; } +hr { border: none; border-top: thin solid; margin: 1.25rem 0; } header { margin-bottom: 1em; } footer { margin-top: 3em; } a { color: inherit; } @media (max-width: 600px) { body { font-size: 0.9em; } h1 { font-size: 1.8em; } } @media (max-width: 400px) { body { font-size: 0.8em; } h1 { font-size: 1.6em; } } @media (prefers-color-scheme: dark) { html { filter: invert(1); } img { filter: invert(1); } } + </style> </head> <body> @@ -42,16 +48,20 @@ a { color: inherit; } <p>Available at <code><a href="https://mail.gumx.cc/dav/">/dav/</a></code> via <a href="https://www.xandikos.org/">Xandikos</a>. Credentials on request.</p> <h2>mailing list</h2> <p>Site updates and discussion: <a href="/list">gumx.cc mailing list</a>.</p> + </main> <footer> <hr> -<a href="https://gumx.cc">gumx.cc</a> / +<a href="https://twt.gumx.cc">twt</a> / <a href="https://git.gumx.cc">git</a> / <a href="https://mail.gumx.cc">mail</a> / <a href="https://irc.gumx.cc">irc</a> / +<a href="https://files.gumx.cc">files</a> / <a href="https://vpn.gumx.cc">vpn</a> / <a href="https://pgp.gumx.cc">pgp</a> / +<a href="https://demo.gumx.cc">demo</a> / <a href="https://wk.fo">wk.fo</a> </footer> + </body> </html> diff --git a/mail.gumx.cc/meta b/mail.gumx.cc/meta new file mode 100644 index 0000000..50375b1 --- /dev/null +++ b/mail.gumx.cc/meta @@ -0,0 +1,2 @@ +TITLE="mail.gumx.cc" +BREADCRUMB="mail" |
