Exim4 Forwarding to Gmail
I've got exim4 on my Debian installation setup to use my gmail account as its smarthost. This is basically working; if I send an email from this machine to email@example.com, it gets there without any issues. What I'd also like to have happen is local mail sent to my gmail account, so what I did is
This now only seems to be half working. My exim4 log shows this:
echo firstname.lastname@example.org > ~/.forward
It looks like it's forwarding the email but not actually changing the delivery address, and so nothing is showing up in my gmail account. Should my .forward be written differently, or is an exim4 configuration problem? I haven't had much luck finding anything online so far.
2008-01-06 13:50:46 1JBdOI-0005sm-4Q <= myname@localhost U=myname P=local S=388
2008-01-06 13:50:48 1JBdOI-0005sm-4Q => email@example.com <myname@localhost> R=smarthost T=remote_smtp_smarthost H=gmail-smtp.l.google.com [220.127.116.11] X=TLS-1.0:RSA_3DES_EDE_CBC_SHA1:24 DN="C=US,ST=California,L=Mountain View,O=Google Inc,CN=smtp.gmail.com"
2008-01-06 13:50:48 1JBdOI-0005sm-4Q Completed