aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ansible/roles/dovecot/files/welcome.sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/ansible/roles/dovecot/files/welcome.sh b/ansible/roles/dovecot/files/welcome.sh
new file mode 100644
index 0000000..89cddf7
--- /dev/null
+++ b/ansible/roles/dovecot/files/welcome.sh
@@ -0,0 +1,29 @@
+#!/usr/bin/env sh
+#
+# Ansible Managed
+
+USER="$1"
+
+(
+ echo "Subject: Welcome to PyDis Mail"
+ echo "From: PyDis DevOps Team <[email protected]>"
+ echo "To: [email protected]"
+ echo
+ echo "Hi $USER!"
+ echo
+ echo "Welcome to the Python Discord mailserver."
+ echo
+ echo "If you are seeing this, you have connected successfully over IMAP and"
+ echo "are ready to receive new mail destined for your address."
+ echo
+ echo "If you require any help with your mailbox then don't hesitate to ask"
+ echo "in the #dev-oops channel on Discord, or take a look at some of our"
+ echo "team documentation at https://docs.pydis.wtf/."
+ echo
+ echo "If you have any immediate questions, feel free to reply to this email"
+ echo "and a member of the DevOps team will get back to you!"
+ echo
+ echo "Thanks for flying with us!"
+ echo
+ echo "- PyDis DevOps Team"
+) | /usr/sbin/sendmail -t