Commit c023e821 authored by Vitaly Lipatov's avatar Vitaly Lipatov

add mail files

parent ec781a49
#!/bin/sh
cat print_spam_id.sh.idlog | postsuper -v -d -
#!/bin/sh
#TEXT='CronDaemon'
TEXT='NO knowledge'
>$0.idlog
for i in /var/spool/postfix/active /var/spool/postfix/deferred ; do
echo "Find in $i"
for f in $(find $i -type f) ; do
test -s $f || continue
if postcat $f | grep "$TEXT" ; then
echo $f
basename $f >>$0.idlog
fi
done
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment