smtpdummy: Add (incorrect) message ids
This commit is contained in:
parent
72e37e0921
commit
d689529aae
|
@ -9,6 +9,7 @@ import io
|
|||
import pprint
|
||||
import subprocess
|
||||
import sys
|
||||
import uuid
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
@ -72,6 +73,7 @@ if __name__ == "__main__":
|
|||
if args.password:
|
||||
password = args.password
|
||||
args.password = "********"
|
||||
mid = f"{uuid.uuid1()}@{args.helo}"
|
||||
|
||||
# Transmission content
|
||||
|
||||
|
@ -89,6 +91,7 @@ XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X"""
|
|||
From: {getattr(args, 'from')}
|
||||
Subject: {args.subject}
|
||||
To: {args.to}
|
||||
Message-ID: {mid}
|
||||
|
||||
Hello there,
|
||||
|
||||
|
|
Loading…
Reference in a new issue