diff options
author | Kali Kaneko <kali@futeisha.org> | 2015-11-26 18:02:20 -0400 |
---|---|---|
committer | Kali Kaneko <kali@futeisha.org> | 2015-11-26 18:02:20 -0400 |
commit | bfbf7277479d54f78137191d0a59e73746b94df1 (patch) | |
tree | 6a25aab7b8222a55c5a92e9d92a9c7e162503fa6 | |
parent | 5cba5ae32003efd7b068e6646ba4c0ada4e29867 (diff) | |
parent | 33ff87e46bef6bcc980ed4885d8950e3d912032e (diff) |
Merge remote-tracking branch 'leapcode/pr/81' into develop
-rw-r--r-- | changes/next-changelog.txt | 1 | ||||
-rw-r--r-- | doc/DESIGN.md | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/changes/next-changelog.txt b/changes/next-changelog.txt index c7ba3b8..fbee095 100644 --- a/changes/next-changelog.txt +++ b/changes/next-changelog.txt @@ -21,6 +21,7 @@ Bugfixes Misc ~~~~ +- `#7271 <https://leap.se/code/issues/7271>`_: Document the return codes of the TCP maps. - `#1236 <https://leap.se/code/issues/1236>`_: Description of the new feature corresponding with issue #1236. - Some change without issue number. diff --git a/doc/DESIGN.md b/doc/DESIGN.md index e98976d..e33c6ae 100644 --- a/doc/DESIGN.md +++ b/doc/DESIGN.md @@ -145,6 +145,18 @@ virtual transport instead, we should append the domain (eg 123456@example.org). see http://www.postfix.org/ADDRESS_REWRITING_README.html#resolve +#### 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 |