>CSS: > Quick question? > > I finally decided to build a web UI for our support guys to be > able to manually kill relaying for compromised accounts using the > new check_sasl_access > (http://www.postfix.org/postconf.5.html#check_sasl_access) feature > introduced in 2.11. > > A thread regarding this is here: > http://thread.gmane.org/gmane.mail.postfix.user/245474 > > So this does work - in my main mail account db table I added a > column. If it's empty, then the user is OK. If it contains > something like 'REJECT 5.7.1 Account Compromised' then that error > is returned to the sender, and all is well.
Postfix does not accept empty responses. If you want to report "not found" then that is what the database should respond with. If you cannot do that, then return DUNNO for the Postfix access map, and return something else human users. Wietse