Use the worker server mail relay and add the protocol setting to the action mailer defaults.