diff options
author | Kali Kaneko <kali@leap.se> | 2016-04-18 12:04:34 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2016-04-18 12:04:34 -0400 |
commit | 3a25464e92acd3fb0192c2d438a2c2122ca526fd (patch) | |
tree | 531689dd646f174f3e9ce9acbdf0a621da827210 /doc | |
parent | 881cab15bd331c4a8f58d13c0a4e35ebfb324442 (diff) | |
parent | e2a19eaf0ceca35acaedafb3796c66b562e825da (diff) |
Merge tag '0.8.0'
Tag leap.mx version 0.8.0
# gpg: Signature made Mon 18 Apr 2016 12:03:24 PM BOT
# gpg: using RSA key 1CAF6C5B9F720808
# gpg: Good signature from "Kaliyuga <kaliyuga@riseup.net>" [ultimate]
# gpg: aka "Kali Kaneko (leap communications) <kali@leap.se>" [ultimate]
Diffstat (limited to 'doc')
-rw-r--r-- | doc/DESIGN.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/DESIGN.md b/doc/DESIGN.md index e98976d..dbfbc99 100644 --- a/doc/DESIGN.md +++ b/doc/DESIGN.md @@ -145,6 +145,31 @@ virtual transport instead, we should append the domain (eg 123456@example.org). see http://www.postfix.org/ADDRESS_REWRITING_README.html#resolve +#### fingerprint_resolver + +postfix config: + +``` +virtual_alias_map tcp:localhost:2424 +``` + +postfix sends "get 12:34:56:78:90:ab:cd:ef:12:34:56:78:90:ab:cd:ef:12:34:56:78" +providing an smtp fingerprint and fingerprint_resolver returns "200 2016-01-19", +where 2016-01-19 is the expiration date of the given fingerprint. If the +fingerprint does not exists or is expired it will return "500 NOT FOUND SRY". + +#### Return values + +The return codes and content of the tcp maps are: + + +----------------------------------------------------------+ + | virtual_alias_map | check_recipient_access | ++----------------+---------------------+------------------------------------+ +| user not found | 500 "NOT FOUND SRY" | 500 "REJECT" | +| key not found | 200 "<uuid>" | 400 "4.7.13 USER ACCOUNT DISABLED" | +| both found | 200 "<uuid>" | 200 "OK" | ++----------------+---------------------+------------------------------------+ + ### Current status |