# This lookup verifies the mail=user@??? format and if it exists
# Pass to the the manualroute router which is used to punt to the internal
# Exchange server as defined by domain.
exchangeroute:
driver = manualroute
transport = remote_smtp
route_data = ${lookup{$domain}dbm{/etc/mail/localdomains.db}}
/etc/mail/localdomains
domain.com: 1.1.1.1
#sub.domain2.com: 2.2.2.2 (whenever this is commented out then I receive the
error. If I leave it in then the mail is sent with the user@???)