Exim4

Exim4 é outro agente de transferencia de mensagens (MTA) desenvolvido na Universidade de Cambridge para uso em sistemas Unix conectados à internet. O Exim pode ser instalado em vez de sendmail, apesar de a configuração do exim ser bastate diferente da configuração do sendmail.

Instalação

Para instalar o exim4, execute o seguinte comando:

sudo apt-get install exim4 exim4-base exim4-config

Configuração

Para configurar o exim4, execute o comando seguinte:

sudo dpkg-reconfigure exim4-config

A interface de utilizador será apresentada. A interface do utilizador permite-lhe configurar muitos parâmetros. Por exemplo, no exim4 os ficheiros de configuração são divididos entre ficheiros múltiplos. Se desejar ter esses ficheiros num só ficheiro pode configurar essa forma na interface de utilizador.

All the parameters you configure in the user interface are stored in /etc/exim4/update-exim4.conf.conf file. If you wish to re-configure, either you re-run the configuration wizard or manually edit this file using your favourite editor. Once you configure, you can run the following command to generate the master configuration file:

sudo update-exim4.conf

The master configuration file, is generated and it is stored in /var/lib/exim4/config.autogenerated.

[Atenção]

Em momento algum, deve editar o ficheiro de configuração principal, /var/lib/exim4/config.autogenerated manualmente. Este é actualizado automaticamente sempre que executar o comando update-exim4.conf

You can run the following command to start exim4 daemon.

sudo /etc/init.d/exim4 start

TODO: This section should cover configuring SMTP AUTH with exim4.