By default Symfony uses Sendmail mail transfer agent to prepare emails to be sent out by the system. If you want to use Exim instead, you need to take the following steps:
- Install Exim to your system – please see my Exim on CentOs 4/5
- Configure Symfony to use Exim instead of SendmailEdit (or create if it does not exists)
/apps/--app name--/config/mailer.yml
and add the following to it:dev: deliver: on hostname: mail.yourmailhost.com port: 25 all: mailer: exim
Here we are setting Exim to be the default mail agent for all environments plus defining SMTP host name and port for the dev environment.