Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
057e66f945
|
|||
|
49bc12f93b
|
|||
|
0dd09e2d5a
|
@@ -118,10 +118,9 @@ def list_quarantine_emails(config, args):
|
|||||||
metadata["date"]))
|
metadata["date"]))
|
||||||
row["mailfrom"] = metadata["mailfrom"]
|
row["mailfrom"] = metadata["mailfrom"]
|
||||||
row["recipient"] = metadata["recipients"].pop(0)
|
row["recipient"] = metadata["recipients"].pop(0)
|
||||||
if "subject" in emails[quarantine_id]["headers"].keys():
|
if "subject" not in emails[quarantine_id]["headers"].keys():
|
||||||
row["subject"] = emails[quarantine_id]["headers"]["subject"][:60]
|
emails[quarantine_id]["headers"]["subject"] = ""
|
||||||
else
|
row["subject"] = emails[quarantine_id]["headers"]["subject"][:60]
|
||||||
row["subject"] = ""
|
|
||||||
rows.append(row)
|
rows.append(row)
|
||||||
|
|
||||||
if metadata["recipients"]:
|
if metadata["recipients"]:
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
__version__ = "0.0.6"
|
__version__ = "0.0.8"
|
||||||
|
|||||||
Reference in New Issue
Block a user