I have a small server (Ubuntu 10.04) at my house and I would like to forward
root's email to my gmail hosted domain to get security notifications and what not.
I ripped everything out and started from scratch and ran into some other issues.
I now have sendmail working in the sense that I can
mail firstname.lastname@example.org and get the mail.
HOWEVER, adding an address to
/root/.forward does not actually forward the message. I get the following in my logs:
Dec 22 14:04:37 batcave sendmail: oBML4bAT004695: to=<root@batcave>, ctladdr=aburns (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30075, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (oBML4bJ9004696 Message accepted for delivery) Dec 22 14:04:39 batcave sm-mta: STARTTLS=client, relay=[22.214.171.124], version=TLSv1/SSLv3, verify=FAIL, cipher=DES-CBC3-SHA, bits=168/168 Dec 22 14:04:40 batcave sm-mta: oBML4bJ9004696: to=<email@example.com>, ctladdr=<firstname.lastname@example.org> (1000/1000), delay=00:00:03, xdelay=00:00:03, mailer=relay, pri=120336, relay=[126.96.36.199] [188.8.131.52], dsn=2.0.0, stat=Sent (OK 01/D4-00853-216621D4)
You can see where my local sendmail instance accepts it then hands it off to my ISP, but with the wrong address (email@example.com).