Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/postfix/greyfix | ||
|---|---|---|
| 21 | 21 |
Configuration |
| 22 | 22 |
============= |
| 23 | 23 |
|
| 24 |
There are some settings that can be tweaked by adding statements to the
|
|
| 24 |
There are some settings that can be tweaked by adding statements to the |
|
| 25 | 25 |
munin-node config: |
| 26 | 26 |
|
| 27 | 27 |
[greyfix] |
| ... | ... | |
| 36 | 36 |
# graph the greylisted triplets separate from the whitelisted ones (default: yes) |
| 37 | 37 |
env.greylist_step no |
| 38 | 38 |
|
| 39 |
Please note that the last step has no end date, so it includes all triplets
|
|
| 40 |
older than the second last step. I.e., the defaults (as named above) create a
|
|
| 41 |
graph that shows 10 steps of one week each, and one last step for everything
|
|
| 42 |
older than 10 weeks. Also, the separate greylist step is not considered
|
|
| 39 |
Please note that the last step has no end date, so it includes all triplets |
|
| 40 |
older than the second last step. I.e., the defaults (as named above) create a |
|
| 41 |
graph that shows 10 steps of one week each, and one last step for everything |
|
| 42 |
older than 10 weeks. Also, the separate greylist step is not considered |
|
| 43 | 43 |
when applying num_steps. |
| 44 | 44 |
|
| 45 | 45 |
""" |
| ... | ... | |
| 72 | 72 |
if greyfix.returncode > 0: |
| 73 | 73 |
print '# greyfix exited with exit code %i' % (greyfix.returncode) |
| 74 | 74 |
sys.exit(greyfix.returncode) |
| 75 |
|
|
| 75 |
|
|
| 76 | 76 |
triplets = [] |
| 77 | 77 |
for line in stdout.split("\n"):
|
| 78 | 78 |
triplet = line.split("\t")
|
Formats disponibles : Unified diff