aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/pgp/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman_pgp/pgp/utils.py')
-rw-r--r--src/mailman_pgp/pgp/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mailman_pgp/pgp/utils.py b/src/mailman_pgp/pgp/utils.py
index 1701c63..cc0bda0 100644
--- a/src/mailman_pgp/pgp/utils.py
+++ b/src/mailman_pgp/pgp/utils.py
@@ -20,3 +20,5 @@ def copy_headers(from_msg, to_msg):
for key, value in from_msg.items():
if key not in to_msg:
to_msg[key] = value
+ if to_msg.get_unixfrom() is None:
+ to_msg.set_unixfrom(from_msg.get_unixfrom())