your desired username (numbers and lowercase letters only, no spaces)
diff --git a/signup/signup-handler.php b/signup/signup-handler.php
new file mode 100644
index 0000000..e63e2c1
--- /dev/null
+++ b/signup/signup-handler.php
@@ -0,0 +1,74 @@
+setUsername('postmaster@mg.tilde.team')
+ ->setPassword(file_get_contents("mg.key"));
+$mailer = new Swift_Mailer($transport);
+
+if ($_SERVER["SERVER_NAME"] != "localhost")
+ require_once "/home/ben/ultimate-email/support/smtp.php";
+
+$message = "";
+if (isset($_REQUEST["username"]) && isset($_REQUEST["email"])) {
+ // Check the name.
+ $name = trim($_REQUEST["username"]);
+ if ($name == "")
+ $message .= "
please fill in your desired username ";
+ if (strlen($name) > 32)
+ $message .= "
username too long (32 character max) ";
+ if (!preg_match('/^[A-Za-z][A-Za-z0-9]{2,31}$/', $name))
+ $message .= "
username contains invalid characters (lowercase only, must start with a letter) ";
+ if (posix_getpwnam($name))
+ $message .= "
sorry, the username $name is unavailable ";
+
+ // Check the e-mail address.
+ $email = trim($_REQUEST["email"]);
+ if ($email == "")
+ $message .= "
please fill in your email address ";
+ else {
+ $result = SMTP::MakeValidEmailAddress($_REQUEST["email"]);
+ if (!$result["success"])
+ $message .= "
invalid email address: " . htmlspecialchars($result["error"]) . " ";
+ elseif ($result["email"] != $email)
+ $message .= "
invalid email address. did you mean: " . htmlspecialchars($result["email"]) . " ";
+ }
+
+ if ($_REQUEST["sshkey"] == "") {
+ $message .= "
ssh key required: please create one and submit the public key ";
+ }
+
+
+ if ($message == "") { // no validation errors
+ $forwardmail = $_REQUEST["forward_email"] == "on"
+ ? '
yes ' : "no";
+
+ $msgbody = "
tilde.team signup
+
+ desired username:
{$_REQUEST["username"]}
+ contact email:
{$_REQUEST["email"]}
+ reason:
{$_REQUEST["interest"]}
+ forward mail?:
$forwardmail
+ ssh key:
{$_REQUEST["sshkey"]} ";
+
+ $message = (new Swift_Message('tilde.team signup'))
+ ->setFrom(['sys@tilde.team' => 'tilde'])
+ ->setTo(['admin@tilde.team'])
+ ->setReplyTo([$_REQUEST["email"]])
+ ->setBody($msgbody, 'text/html');
+
+ $result = $mailer->send($message);
+
+ echo '
';
+ } else {
+ ?>
+
+ please correct the following errors:
+ =$message?>
+
+
\ No newline at end of file
diff --git a/virus/index.php b/virus/index.php
deleted file mode 100755
index 5cbec71..0000000
--- a/virus/index.php
+++ /dev/null
@@ -1,3 +0,0 @@
-
a.anchor {
@@ -37,7 +34,7 @@ if (!isset($_GET["page"]) || !file_exists("pages/{$_GET['page']}.md")) {
foreach (glob("pages/*.md") as $page) {
$yaml = $parser->parse(file_get_contents($page))->getYAML();
if (!$yaml["published"]) continue; ?>
-
">=$yaml["title"]?>
+
">=$yaml["title"]?>
-
< ~wiki
+
< ~wiki
=$pg->getContent()?>
diff --git a/wiki/pages/email.md b/wiki/pages/email.md
new file mode 100644
index 0000000..8da6136
--- /dev/null
+++ b/wiki/pages/email.md
@@ -0,0 +1,16 @@
+---
+author: ~ben
+published: true
+title: email
+category:
+ - main
+---
+
+# email
+
+
+currently, tilde.team email is handled through our domain registrar, google domains. if you opted in to email forwarding when you signed up, the address you signed up with was added as the recipient of all mail sent to your username@tilde.team.
+
+if you want to send mail as your username@tilde.team, see [this support answer](https://support.google.com/domains/answer/3251241?hl=en) under the section for "sending mail from your forwarded address".
+
+registrar forwarding isn't a great solution. i'd like to look into running a tilde.team mailserver with imap, smtp, and some slick local mutt and alpine setups. let [~ben](https://tilde.team/~ben/) know if you have any ideas or would like to help figure out a better solution here!
diff --git a/wiki/pages/faq.md b/wiki/pages/faq.md
deleted file mode 100644
index 2ac950b..0000000
--- a/wiki/pages/faq.md
+++ /dev/null
@@ -1,23 +0,0 @@
----
-author: ~ben
-published: true
-title: faq
-category:
- - main
----
-
-## faq
-
-
-### [tildeblogs](https://github.com/cfenollosa/bashblog)
-
-tildeblogs are built with bashblog
-change to your ~/public_html/blog directory.
-type `bb post`
-write a post
-edit the ~/public_html/blog/.config file to change the name and url and other settings for your blog
-
-
-### [send mail as](https://support.google.com/domains/answer/3251241?hl=en)
-
-currently, tildemail is simple forwarding from the domain registrar. if you want to send mail from user@tilde.team, check this guide to use gmail smtp servers and use it as a send-from address.
diff --git a/wiki/view.php b/wiki/view.php
deleted file mode 100644
index 4c86795..0000000
--- a/wiki/view.php
+++ /dev/null
@@ -1,2 +0,0 @@
-