diff options
| author | Stephen J. Turnbull | 2012-03-15 15:00:22 -0700 |
|---|---|---|
| committer | Stephen J. Turnbull | 2012-03-15 15:00:22 -0700 |
| commit | 7c0bf1dc90dc9e7b2d242532ba644ab958ce5a17 (patch) | |
| tree | a5562bb6c3ad06543fe04d73fae1b2137fb616ad /src | |
| parent | 57454b29a5a2fdfe130221e014ceedb025018292 (diff) | |
| download | mailman-7c0bf1dc90dc9e7b2d242532ba644ab958ce5a17.tar.gz mailman-7c0bf1dc90dc9e7b2d242532ba644ab958ce5a17.tar.zst mailman-7c0bf1dc90dc9e7b2d242532ba644ab958ce5a17.zip | |
We gots a graphviz! Now WAT?!
Diffstat (limited to 'src')
| -rw-r--r-- | src/mailman/docs/8-miles-high.rst | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/mailman/docs/8-miles-high.rst b/src/mailman/docs/8-miles-high.rst index 9d12447e9..3cd97d9eb 100644 --- a/src/mailman/docs/8-miles-high.rst +++ b/src/mailman/docs/8-miles-high.rst @@ -61,12 +61,18 @@ injection into the MTA. The VIRGIN queue is a special queue for messages created by Mailman. -.. image:: pipeline.png - :scale: 67 - .. graphviz:: digraph pipeline { + node [shape=box, style=rounded, group=0] + { "MIME\ndelete" -> "cleanse headers" -> "add headers" -> \ + "calculate\nrecipients" -> "to digest" -> "to archive" -> \ + "to outgoing" } + node [shape=box, color=lightblue, style=filled, group=1] + { rank=same; POSTING -> "MIME\ndelete" } + { rank=same; "to digest" -> DIGEST } + { rank=same; "to archive" -> ARCHIVE } + { rank=same; "to outgoing" -> OUT } } @@ -79,16 +85,8 @@ acted on. Rules include things like "if the message's sender is a non-member, hold it for moderation", or "if the message contains an Approved field with a valid password, distribute it". A rule may also make no decision, in which case the message pickle is passed on to the -next rule in the filter chain. - -.. image:: chains.png - :scale: 67 - -.. builtin chain [shape=none] - accept chain [shape=none] - hold chain [shape=none] - discard chain [shape=none] - moderation chain [shape=none] +next rule in the filter chain. The default set of rules looks +something like this: .. graphviz:: @@ -119,21 +117,23 @@ next rule in the filter chain. subgraph queues { rankdir=TB rank=same - node [shape=box, color=lightblue, style=filled]; - POSTING; - DISCARD; - MODERATION; + node [shape=box, style=filled]; + POSTING [color=cyan]; + POSTING2 [label=POSTING, color=cyan]; + DISCARD [color=black, style=rounded]; + MODERATION [color=wheat]; + HOLD [color=wheat]; } IN -> approved:f0 approved:f2 -> POSTING - /* loop:f2 -> DISCARD */ + loop:f2 -> DISCARD modmember:f2 -> MODERATION - emergency:f2:e -> MODERATION [weight=0] - maxsize:f2 -> MODERATION [weight=0] - any:f2 -> MODERATION [weight=0] - truth:f1 -> POSTING [weight=0] + emergency:f2:e -> HOLD + maxsize:f2 -> MODERATION + any:f2 -> MODERATION + truth:f1 -> POSTING2 } |
