aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/mta/deliver.py
diff options
context:
space:
mode:
authorJ08nY2017-08-04 00:31:13 +0200
committerJ08nY2017-08-04 00:31:13 +0200
commit4e4f91d64e32ccd601cb86fbb2a30bf3db3acf24 (patch)
treef7314a0990159d0c0c7123620083d648fc828744 /src/mailman_pgp/mta/deliver.py
parentd615ae7d93356ba9dfda0348db6a011ad1d24bdc (diff)
downloadmailman-pgp-4e4f91d64e32ccd601cb86fbb2a30bf3db3acf24.tar.gz
mailman-pgp-4e4f91d64e32ccd601cb86fbb2a30bf3db3acf24.tar.zst
mailman-pgp-4e4f91d64e32ccd601cb86fbb2a30bf3db3acf24.zip
Diffstat (limited to 'src/mailman_pgp/mta/deliver.py')
-rw-r--r--src/mailman_pgp/mta/deliver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman_pgp/mta/deliver.py b/src/mailman_pgp/mta/deliver.py
index 050a740..ef4713a 100644
--- a/src/mailman_pgp/mta/deliver.py
+++ b/src/mailman_pgp/mta/deliver.py
@@ -50,7 +50,7 @@ def deliver(mlist, msg, msgdata):
bulk_agent = BulkDelivery
pgp_list = PGPMailingList.for_list(mlist)
- if pgp_list:
+ if pgp_list and msgdata.get('pgp_is_posting', False):
personalized_agent = PGPPersonalizedDelivery
bulk_agent = PGPBulkDelivery