X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/ac44ccaff48a46b6369da88a55b9bfed07d5f7dd..d281db9defd2e0c0e6b9761736ff38a9df7391b0:/roles/postfix/files/check-for-local-mail diff --git a/roles/postfix/files/check-for-local-mail b/roles/postfix/files/check-for-local-mail new file mode 100644 index 0000000..4f70a66 --- /dev/null +++ b/roles/postfix/files/check-for-local-mail @@ -0,0 +1,8 @@ +#!/bin/bash +exists() { + [ -e "$1" ] +} + +if exists /var/mail/*; then + echo "There is mail for some users in /var/mail!" +fi