I'm trying to forward roots mail to an external address and it's not working. Here's what I have.<div><br></div><div><ol><li>Ubuntu 10.04 server</li><li>Postfix</li><li>Aliases file configured with root: <a href="mailto:user@example.com">user@example.com</a></li>
</ol><div>Mail is hosted on Google which gets the email. However, the mail ends up in the spam folder saying that it was trying to deliver it to <a href="mailto:root@example.com">root@example.com</a>. It should deliver it to <a href="mailto:user@example.com">user@example.com</a>.</div>
</div><div><br></div><div>If I use "mail -s "test" <a href="mailto:user@example.com">user@example.com</a>" it works fine. That's from the root account. </div><div><br></div><div>Any suggestions? </div>