File: checkfilter.sh

package info (click to toggle)
mailfilter 0.8.3-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 3,116 kB
  • ctags: 1,840
  • sloc: cpp: 2,456; sh: 1,413; ansic: 1,259; lex: 566; yacc: 468; makefile: 169; perl: 72
file content (11 lines) | stat: -rw-r--r-- 317 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
#####
# (C) Kay Schulz
# Licensed under the same terms as Mailfilter, GPL v2 or later.
# Use at your own risk!
# Checks for deleted mails and send the filter applied
# Good for crontab to see if mails you should
# get were deleted
#####
grep Deleted /home/kay/log/mailfilter.log | mail -s "Mailfilter" kay