Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-admin-essentials
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etersoft-admin-essentials
Commits
c023e821
Commit
c023e821
authored
Feb 03, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add mail files
parent
ec781a49
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
pclean_spam_id.sh
mail/pclean_spam_id.sh
+2
-0
print_spam_id.sh
mail/print_spam_id.sh
+16
-0
No files found.
mail/pclean_spam_id.sh
0 → 100755
View file @
c023e821
#!/bin/sh
cat
print_spam_id.sh.idlog | postsuper
-v
-d
-
mail/print_spam_id.sh
0 → 100755
View file @
c023e821
#!/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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment