summaryrefslogtreecommitdiff
path: root/src/leap/mail/imap/server.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-09-08 18:45:28 -0400
committerKali Kaneko <kali@leap.se>2015-09-08 18:45:28 -0400
commit862ed843611bbb10664e06460faee48adce9e5aa (patch)
treec21031049b77eef6e8d72d015d1ecd37ee03791f /src/leap/mail/imap/server.py
parent43c920f38d1c114e9044d2da15d4a05d5faab79d (diff)
[feature] improve getmail utility
So now it: - Accepts credentials in a file pointed by environment variable. - Allows to specify the mailbox to select as a command line flag. - Allows to select a given message by subject. For example: BITMASK_CREDENTIALS=/tmp/bm.secrets ./getmail --mailbox INBOX --subject 'test mail The two flags are case-insensitive. This is intended to be used as a helper in end-to-end tests. Getting a message by subject it's suboptimal, but I think it's good enough for our testing purposes right now. Related: #7427
Diffstat (limited to 'src/leap/mail/imap/server.py')
0 files changed, 0 insertions, 0 deletions