Feature/3464 make smtprelay emit signals