blob: a53f49d93a106a57b7cf31584162db792999cc1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Questions #
-------------
1. What is the lowest available RAM for a target server running a leap_mx?
1.a. Do we want to store all id_keys and/or aliases in memory?
2. Asked in discussion section of '''postfix pipeline''' on the [leap_mx wiki
page](https://we.riseup.net/leap/mx) :
"What is the best way to have postfix write a message to a spool directory?
There is a built-in facility for saving to a maildir, so we could just
specify a common maildir for everyone. alternately, we could pipe to a
simple command that was responsible for safely saving the file to disk. a
third possibility would be to have a local long running daemon that spoke
lmtp that postfix forward the message on to for delivery."
I think that maildir is fine, but perhaps this will slow things down more
than monitoring a spool file. I would also imagine that if the server is
supposed to stand up to high loads, a spool file I/O blocks with every
email added to the queue.
3. How do get it to go faster? Should we create some mockups and benchmark
them? Could we attempt to learn which aliases are most often resolved and
prioritize keeping those in in-memory mappings? Is
[memcache](http://code.sixapart.com/svn/memcached/trunk/server/doc/protocol.txt)
a viable protocol for this, and how would it interact with CouchDB?
4. What lib should we use for Python + Twisted + GPG/PGP ?
4.a. It looks like most people are using python-gnupg...
## Tickets ##
-------------
'''To be created:'''
ticket for feature-alias_resolver_couchdb_support:
o The alias resolver needs to speak to a couchdb/bigcouch
instance(s). Currently, it merely creates an in-memory dictionary
mapping. It seems like paisley is the best library for this.
ticket for feature-check_recipient:
o Need various errors for anything that could go wrong, e.g. the recipient
address is malformed, sender doesn't have permissions to send to such
address, etc.
o These errcodes need to follow the SMTP server transport code spec.
ticket for feature-virtual_alias_map:
o Get the recipient's userid from couchdb.
ticket for feature-evaluate_python_gnupg:
o Briefly audit library in order to assess if it has the necessary
features, as well as its general code quality.
|