While receiving emails to a domain in our server. We could notice that the email was rejected with the following error log:
2012-07-01 12:58:37  H=test.com[*.*.*.*]:37179 I=[*.*.*.*]:25 F=<bounce-17_HTMLfirstname.lastname@example.org> temporarily rejected RCPT <email@example.com>: remote host address is the local host
To fix this we had to perform the following:
created a file “/etc/virtual/domains”
added the hostname of the server to that file.