That was exactly the problem I had before

- in your case I would do the following:
change your LUSER_RELAY to domain.com:
define(`LUSER_RELAY', `domain.com.')dnl
Do not forget the trailing dot. The 'smtp:' part is not required, because smtp is the default anyway. Then change your DNS configuration, so that 'domain.com' points to the ip address of the target server - it will probably also work with /etc/hosts file, but I haven't tested it yet.
Do you actually try to relay internally or do you route the email out to the internet?
cheers,
Chris