We have two domains. One of which is isolated. We're trying to forward mail from one domain, through a DMZ to a relay on the other domain. Using EHLO through telnet works. Using the mail command and specifying the relay works:
mail -S smtp=myrelay.com -s test firstname.lastname@example.org
Sendmail does not work though but claims that the mail would be deliverable:
sendmail -bv email@example.com firstname.lastname@example.org...deliverable: mailer relay, host myrelay.com, user email@example.com sendmail -v firstname.lastname@example.org mycompany.com: Name server timeout email@example.com... Transient parse error -- message queued for future delivery
So what's the deal? It says it's deliverable to myrelay.com but then tries to send it to mycompany.com instead. Anyone have any advice where to look to fix this?