From 33ff87e46bef6bcc980ed4885d8950e3d912032e Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Thu, 26 Nov 2015 19:08:15 +0100 Subject: [doc] document the return codes of the TCP maps - Resolves: #7271 --- doc/DESIGN.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc') 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 "" | 400 "4.7.13 USER ACCOUNT DISABLED" | +| both found | 200 "" | 200 "OK" | ++----------------+---------------------+------------------------------------+ + ### Current status -- cgit v1.2.3 From 8fc1258ace65be2bb828bf302fc0661cdd128bd7 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Wed, 18 Nov 2015 00:27:56 +0100 Subject: [feat] postfix lookup against couchdb for client smtp fingerprint - Resolves: #4285 --- doc/DESIGN.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'doc') diff --git a/doc/DESIGN.md b/doc/DESIGN.md index e33c6ae..dbfbc99 100644 --- a/doc/DESIGN.md +++ b/doc/DESIGN.md @@ -145,6 +145,19 @@ 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: -- cgit v1.2.3