message = ${lsearch{${lookup mysql \ {select flags from user where username='$local_part}}{/path/to/file}}}