Changes between Version 5 and Version 6 of clearing-spam-backscatter-from-mailq


Ignore:
Timestamp:
Oct 5, 2012, 11:59:17 AM (7 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • clearing-spam-backscatter-from-mailq

    v5 v6  
    3939
    4040{{{
    41 SPOOL=/var/spool/postfix/; for dir in $(ls $SPOOL);do echo "$dir: $(ls $SPOOL/$dir |wc -l)"; done
     41SPOOL=/var/spool/postfix/; for dir in $(ls $SPOOL);do echo "$dir: $(find $SPOOL/$dir -type f |wc -l)"; done
    4242}}}
    4343
    4444It looks something like this when run:
    4545{{{
    46 0 chavez:~# SPOOL=/var/spool/postfix/; for dir in $(ls $SPOOL);do echo "$dir: $(ls $SPOOL/$dir |wc -l)"; done
     460 chavez:/var/spool/postfix# SPOOL=/var/spool/postfix/; for dir in $(ls $SPOOL);do echo "$dir: $(find $SPOOL/$dir -type f |wc -l)"; done
    4747active: 2
    4848bounce: 0
    4949corrupt: 0
    50 defer: 16
    51 deferred: 16
    52 dev: 1
     50defer: 22
     51deferred: 22
     52dev: 0
    5353etc: 6
    5454flush: 0
    5555hold: 0
    5656incoming: 0
    57 lib: 12
     57lib: 6
    5858maildrop: 0
    5959pid: 17
    60 private: 26
    61 public: 5
     60private: 0
     61public: 0
    6262saved: 0
    6363trace: 0
    64 usr: 1
     64usr: 0
     650 chavez:/var/spool/postfix#
    6566}}}
    6667
    6768If the server were dealing with queue issues, some of those numbers would be in the thousands.
    68 
    69 '''Note:''' There's a gotcha here. the "defer" and "deferred" directories actually have sub directories. So if the counts don't look promising in the incoming or active dirs, try those.
    7069
    7170Make a note of which directories are full of spam.