[Pkg-exim4-users] Configuring exim4 to send emails

Ruben Varela rovr138 at gmail.com
Wed Apr 14 01:26:36 UTC 2010

I'm configuring a server to send emails. Emails sent to any domain,
apart from my own, are sent okay. I have my emails with Google Apps.

Assuming my domain is, example.com. If I send an email from my server
to ruben at example.com it doesn't arrive at my Google Apps account, it
arrives to my server and I can read it using $ mail.

I configured exim the following way:
$ sudo dpkg-reconfigure exim4-config
    General type of mail configuration:   internet site; mail is sent
and received directly using SMTP
    System mail name:   domain.tld
    IP-addresses to listen on for incoming S TP connections:
    Other destinations for which mail is accepted:   <blank>
    Domains to relay mail for:    <blank>
    Machines to relay mail for:   <blank>
    Keep number of DNS-queries minimal (Dial-on-Demand)?:   <No>
    Delivery method for local mail:   mbox format in /var/mail/
    Split configuration into small files?:   <No>
 $ sudo update-exim4.conf
 $ sudo /etc/init.d/exim4 restart

Where xxx.xxx.xxx.xx is my external IP address and example.com is my
real domain.

Does anyone know how to correctly configure this so emails sent to my
domain from the server arrive at the Google Apps account?

-- Rubén O. Varela Rosa
    rovr138 at gmail.com

More information about the Pkg-exim4-users mailing list