Hello, I use amavisd-new 2.9 need Variablen for ip, sender, recipient for a special wl-sql query the Query is like: $sql_select_white_black_list = 'SELECT wb(\'\ $var-for-recipient \',\'\ $ var-for-sender \',\'\ $ var-for-ip\') as wb'; Thanks Roman