On Tue, Jul 28, 2015 at 11:37:19PM +0200, Dominik Chilla wrote: > Sorry, but it still doesnt work. I took a "vanilla" 3.1-20150721 and patched > it again, checked if the patch applied correctly (searching for > register_maps_byname() in smtpd_check.c etc.) and compiled the sources. > > When I leave out the leading "{" and the ending "}" it seems to work, but > only if > check_mumble_access inline:{send...@zwackl.de=OK},static:{REJECT BAD SENDER}
That's wrong, it parses as: check_mumble_access inline:{send...@zwackl.de=OK}, <implicit check_mumble_access> static:{REJECT BAD SENDER} which is very different. > When I specify > check_mumble_access inline:{send...@zwackl.de=DUNNO},static:{REJECT BAD > SENDER} > > the static map applies but ends with a reject. > > How would you test it? My ideas are running low :-/ You need to combine the two maps into one logical map: check_mumble_access { inline:{send...@zwackl.de=DUNNO}, static:{REJECT BAD SENDER} } Then if the first map returns DUNNO, the second should not be consulted, unless the implementation is not yet quite right. -- Viktor.