From 5bd7a119f4715280a05b673ef86e920c490bcccf Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Fri, 23 Aug 2024 06:01:45 +0100 Subject: Add Welcome script --- ansible/roles/dovecot/files/welcome.sh | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 ansible/roles/dovecot/files/welcome.sh (limited to 'ansible') 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 " + echo "To: $USER@pydis.wtf" + 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 -- cgit v1.2.3