I've got a problem with the latest sendmail (8.12.6) that I can't overcome or find documentation to help me out with the issue. I'm getting stat=Host unknown (Unknown error: 275) errors when attempting to send mail to LHS addresses listed in the virtusertable file.
myrealdomain.com - my FreeBSD server running DNS and sendmail 111.222.333.444 virtdomain.com - a virtual domain name administered under, and with the same IP address as myrealdomain.com. 111.222.333.444 notmydomain.com - an external site not administered by me or under my control. This domain name cannot be resolved by DNS. However, the mail server MX record associated with the domain (mail.notmydomain.com) CAN be resolved to an IP address. 999.999.999.6 In my virtusertable I have the virtual host listed as: [EMAIL PROTECTED] test1 @virtdomain.com [EMAIL PROTECTED] test1 is a real user account on myrealdomain.com The only time I get the "Host unknown" error is when I attempt to send mail to a virtual address that gets rewritten to [EMAIL PROTECTED] AND when the sender is from an external machine. If I send mail to [EMAIL PROTECTED] from a user account on myrealdomain.com, it works. If I send mail to [EMAIL PROTECTED] from a user account on myrealdomain.com, it works. But if I send an email to [EMAIL PROTECTED] from any other external machine not associated with my server, it fails with stat=Host unknown (Unknown error: 275). Additionally, any attempt to notify the sender of the error fails as well. I know it looks like a DNS issue, but if that were the real cause it would seem that I wouldn't be successful sending mail to [EMAIL PROTECTED] from myrealdomain.com either. Yet that works fine. Can anyone help me sort through this? I can't find any reference to (Unknown error: 275) in any of the sendmail source code which leads me to believe it is coming from the destination mail delivery program. Log messages included below have the domain names changed to the example names made up in this email message. The external.com domain name is any machine (even your own) that is not part of my network. Oct 23 16:30:40 myrealdomain sendmail[21014]: g9NKUdxg021014: from=<[EMAIL PROTECTED]>, size=919, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=MTA, relay=mail.external.com [161.114.1.209] (may be forged) Oct 23 16:30:40 myrealdomain sendmail[21019]: g9NKUdxg021014: to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30913, relay=mail.notmydomain.com., dsn=5.1.2, stat=Host unknown (Unknown error: 275) Oct 23 16:30:40 myrealdomain sendmail[21019]: g9NKUdxg021014: g9NKUexg021019: DSN: Host unknown (Unknown error: 275) Oct 23 16:30:40 myrealdomain sendmail[21019]: g9NKUexg021019: to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=31943, relay=mail.external.com., dsn=5.1.2, stat=Host unknown (Unknown error: 275) Oct 23 16:30:40 myrealdomain sendmail[21019]: g9NKUexg021019: g9NKUexh021019: return to sender: Host unknown (Unknown error: 275) Oct 23 16:30:41 myrealdomain sendmail[21019]: g9NKUexh021019: to=root, delay=00:00:01, xdelay=00:00:00, mailer=local, pri=32967, dsn=2.0.0, stat=Sent To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message