diff options
| author | 2024-08-23 06:01:45 +0100 | |
|---|---|---|
| committer | 2024-08-23 16:52:21 +0100 | |
| commit | 5bd7a119f4715280a05b673ef86e920c490bcccf (patch) | |
| tree | 4abb6bf038779dec15db6d1ca297eca2b617a2ac /ansible/roles/dovecot/files/welcome.sh | |
| parent | Fix Postfix link (diff) | |
Add Welcome script
Diffstat (limited to 'ansible/roles/dovecot/files/welcome.sh')
| -rw-r--r-- | ansible/roles/dovecot/files/welcome.sh | 29 | 
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  |