From owner-freebsd-questions Wed Oct 23 14:41:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7842137B401 for ; Wed, 23 Oct 2002 14:41:24 -0700 (PDT) Received: from whoweb.com (whoweb.com [208.146.132.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE88543E6A for ; Wed, 23 Oct 2002 14:41:23 -0700 (PDT) (envelope-from mailist@whoweb.com) Received: (from mailist@localhost) by whoweb.com (8.8.8/8.8.6) id RAA26222 for freebsd-questions@FreeBSD.ORG; Wed, 23 Oct 2002 17:46:05 -0400 (EDT) Date: Wed, 23 Oct 2002 17:46:05 -0400 (EDT) From: Incoming Mail List Message-Id: <200210232146.RAA26222@whoweb.com> To: freebsd-questions@FreeBSD.ORG Subject: Sendmail Help Needed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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: test1@virtdomain.com test1 @virtdomain.com user@notmydomain.com 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 user@notmydomain.com AND when the sender is from an external machine. If I send mail to user@notmydomain.com from a user account on myrealdomain.com, it works. If I send mail to anyone@virtdomain.com from a user account on myrealdomain.com, it works. But if I send an email to anyone@virtdomain.com 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 user@notmydomain.com 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=, size=919, class=0, nrcpts=1, msgid=<3DB705B0.C1598837@external.com>, 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=, 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=, 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 majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message