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 email@example.com
Sendmail does not work though but claims that the mail would be deliverable:
sendmail -bv firstname.lastname@example.org email@example.com...deliverable: mailer relay, host myrelay.com, user firstname.lastname@example.org sendmail -v email@example.com mycompany.com: Name server timeout firstname.lastname@example.org... 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?