Configure Exim4 on Ubuntu to use GMail as Smart Host

by Alistair Miles

This is just a short post to say that, to configure exim4 to use gmail as a smart host on Ubuntu 9.04, I did only the following, and no more…

user@host:~$ sudo dpkg-reconfigure exim4-config

Choose mail sent by SMARTHOST; received via SMTP or fetchmail.
Machine handling outgoing mail for this host (smarthost):

(All other questions I left as default.)

user@host:~$ sudo emacs /etc/exim4/passwd.client

…and add the following line:


Please note, I know next to nothing about exim4 configuration, so caveat emptor.