leap_mx user/alias lookup return string format
i tried debugging the leap_mx db, according to http://www.postfix.org/tcp_table.5.html :
root@starfish:/etc/postfix# postmap -v -q "varac" tcp:localhost:2244 postmap: name_mask: all postmap: inet_addr_local: configured 2 IPv4 addresses postmap: inet_addr_local: configured 2 IPv6 addresses postmap: dict_open: tcp:localhost:2244 postmap: dict_tcp_lookup: key varac postmap: trying... [127.0.0.1] postmap: dict_tcp_lookup: send: get varac postmap: dict_tcp_lookup: recv: 500 postmap: dict_tcp_lookup: not found: 500 root@starfish:/etc/postfix# postmap -v -q "varac@dev.bitmask.net" tcp:localhost:2244 postmap: name_mask: all postmap: inet_addr_local: configured 2 IPv4 addresses postmap: inet_addr_local: configured 2 IPv6 addresses postmap: dict_open: tcp:localhost:2244 postmap: dict_tcp_lookup: key varac@dev.bitmask.net postmap: trying... [127.0.0.1] postmap: dict_tcp_lookup: send: get varac@dev.bitmask.net postmap: dict_tcp_lookup: recv: 200 postmap: dict_tcp_lookup: found: postmap: warning: table tcp:localhost:2244: key varac@dev.bitmask.net: empty string result is not allowed postmap: warning: table tcp:localhost:2244 should return NO RESULT in case of NOT FOUND root@starfish:/etc/postfix# postmap -v -q "nobody@dev.bitmask.net" tcp:localhost:2244 postmap: name_mask: all postmap: inet_addr_local: configured 2 IPv4 addresses postmap: inet_addr_local: configured 2 IPv6 addresses postmap: dict_open: tcp:localhost:2244 postmap: dict_tcp_lookup: key nobody@dev.bitmask.net postmap: trying... [127.0.0.1] postmap: dict_tcp_lookup: send: get nobody@dev.bitmask.net postmap: dict_tcp_lookup: recv: 500 postmap: dict_tcp_lookup: not found: 500
in case of a successful lookup, postfix complains about the return format:
postmap: warning: table tcp:localhost:2244: key varac@dev.bitmask.net: empty string result is not allowed postmap: warning: table tcp:localhost:2244 should return NO RESULT in case of NOT FOUND
(from redmine: created on 2013-08-01, closed on 2013-11-03, relates #3350 (closed), relates #3603 (closed))