Replace QUEUE=\"#{queue}\" with QUEUE='#{queue}' to avoid generating the wrong queue name like QUEUE=\"mailer\". (it's not the same as QUEUE="mailer")