knockmail (python script)

About

This command deletes all the mail of the POP3 mailbox by '-- delate' option. (without download)

System requirements

This is python script.

Usage

$ ./knockmail.py -h
Usage: knockmail.py [options]

Options:
  -h, --help            show this help message and exit
  -H HOST, --host=HOST  
  -P PORT, --port=PORT  (default=110)
  -u USER, --user=USER  
  -p PASS, --passwd=PASS
  -a, --apop            
  -d, --delete          action: !! DELETE MAILS !!
  -l, --list            action: print 'mesg_num octets' lines
  --state               action: print 'count size' (default)

Download

knockmail-1.0.py