mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-03-29 18:02:45 +00:00
Fix CLI option
This commit is contained in:
@@ -188,7 +188,7 @@ https://github.com/domainaware/parsedmarc/issues
|
||||
Installation
|
||||
============
|
||||
|
||||
``parsedmarc`` works with Python 2 or 3, but Python 3 is preferred.
|
||||
``parsedmarc`` works with Python 3 only.
|
||||
|
||||
On Debian or Ubuntu systems, run:
|
||||
|
||||
|
||||
@@ -1075,6 +1075,7 @@ def get_dmarc_reports_from_inbox(host, user, password,
|
||||
server.add_flags(processed_messages, [imapclient.DELETED])
|
||||
server.expunge()
|
||||
else:
|
||||
logging.warning("Moving ")
|
||||
if len(aggregate_report_msg_uids) > 0:
|
||||
server.move(aggregate_report_msg_uids,
|
||||
aggregate_reports_folder)
|
||||
@@ -1393,7 +1394,7 @@ def _main():
|
||||
arg_parser.add_argument("-H", "--host", help="IMAP hostname or IP address")
|
||||
arg_parser.add_argument("-u", "--user", help="IMAP user")
|
||||
arg_parser.add_argument("-p", "--password", help="IMAP password")
|
||||
arg_parser.add_argument("-r", "--report-folder", default="INBOX",
|
||||
arg_parser.add_argument("-r", "--reports-folder", default="INBOX",
|
||||
help="The IMAP folder containing the reports\n"
|
||||
"Default: INBOX")
|
||||
arg_parser.add_argument("-a", "--archive-folder",
|
||||
|
||||
Reference in New Issue
Block a user