Created
September 13, 2017 13:57
-
-
Save wytten/9b20ab2f06e72c0736f5fe8928c78015 to your computer and use it in GitHub Desktop.
Check for new mail once daily and mail summary
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/bin/find /var/mail/yourself -mtime -1 -size +600c | /bin/egrep '.*' > /dev/null && (from | grep -v 'FOLDER INTERNAL DATA' | /usr/bin/mail -s Summary yourself@gmail.com) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment