[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/master] Change b.e.server.MailContext to use twisted's SMTP max message length.
commit 4b568436bdc3cd1e8e2d2fb10731f7e30d222e2e
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Thu May 29 19:58:40 2014 +0000
Change b.e.server.MailContext to use twisted's SMTP max message length.
---
lib/bridgedb/email/server.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bridgedb/email/server.py b/lib/bridgedb/email/server.py
index 593713b..f2258a6 100644
--- a/lib/bridgedb/email/server.py
+++ b/lib/bridgedb/email/server.py
@@ -224,7 +224,7 @@ class MailContext(object):
self.distributor = distributor
self.schedule = schedule
- self.maximumSize = 32*1024
+ self.maximumSize = smtp.SMTP.MAX_LENGTH
self.includeFingerprints = config.EMAIL_INCLUDE_FINGERPRINTS
self.nBridges = config.EMAIL_N_BRIDGES_PER_ANSWER
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits