From owner-freebsd-questions Tue Jan 30 6:57:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from xena.gsicomp.on.ca (cr677933-a.ktchnr1.on.wave.home.com [24.43.230.149]) by hub.freebsd.org (Postfix) with ESMTP id 6B11937B65D for ; Tue, 30 Jan 2001 06:57:36 -0800 (PST) Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.11.1/8.9.3) with SMTP id f0UEtii06690; Tue, 30 Jan 2001 09:55:44 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <017901c08acd$d7ce1570$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "Jason Hunt" , References: <3A76CDA1.2C4C5D8@niicommunications.com> Subject: Re: mail issue Date: Tue, 30 Jan 2001 10:03:45 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > when I send mail from a machine that does not have a fully > qualified domain name, I get the following error: > > root@xerxies.niicommunications.com>... > Domain of sender address root@xerxies.niicommunications.com does not exist) > > I thought entering xerxies.niicommunications.com in > /etc/mail/relay-domains would sove this problem, > but it does not. strangely, if I add it to /etc/hosts it > does?? at anyrate, why does relay-domains not > work? relay-domains specifies domains that can relay mail through your server. Due to the anti-spam measures in sendmail, anydomain in relay-domains must be a valid domain. If you add it to /etc/hosts, then you're essentially giving that domain an IP, hence qualifying it, and sendmail will work as expected. I would advise strongly against adding 'accept_unresolvable_domains" in your .mc file as it opens up your servers to spam attacks, and would likely result in your (public) mail server being blacklisted by ORBS and other such services, rendering your mail server useless. However, keep in mind that servers on the Intenet may refuse your mail if they can't resolve the domain of the addresses, so setting up a properly-configured DNS server for niicommunications.com would be a wise thing to put on your todo list. -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message