From owner-freebsd-questions Fri Jan 5 21:47: 2 2001 From owner-freebsd-questions@FreeBSD.ORG Fri Jan 5 21:47:00 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mostgraveconcern.com (mostgraveconcern.com [216.82.145.240]) by hub.freebsd.org (Postfix) with ESMTP id 709D737B400 for ; Fri, 5 Jan 2001 21:47:00 -0800 (PST) Received: from danco (danco.mostgraveconcern.com [10.20.155.2]) by mostgraveconcern.com (8.11.1/8.11.1) with SMTP id f065koY59709; Fri, 5 Jan 2001 21:46:50 -0800 (PST) (envelope-from dan@mostgraveconcern.com) Message-ID: <00c701c077a4$10b1bf00$029b140a@danco> Reply-To: "Dan O'Connor" From: "Dan O'Connor" To: "Jason Halbert" , "Daniel Ruthardt" , , "John" Subject: Re: Configure SENDMAIL as SMTP server for NON local users Date: Fri, 5 Jan 2001 21:46:49 -0800 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 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Perhaps these are two different ways of accomplishing the same thing? The >reason I say this is that by following the method stated above: >- If the relay file is defined in sendmail.cf, and the file is empty, NO >mail can be sent. >- If the relay file is defined in sendmail.cf, and I have only my LAN >defined in /etc/mail/relay-domains, then anything in my LAN can send email >to anywhere in the outside world. However, my dial up account (different >provider) using the LAN's SMTP server can't, with relaying being >forbidden. Add its domain to /etc/mail/relay-domains and it works >wonderfully - again able to email anyplace. > >So, I guess I disagree that it defines where you can "relay to", but >perhaps our solutions are the same thing. Unfortunately, my sendmail book >is in another state right now, so I can't refer to it for an >answer. Perhaps someone can clarify? I agree with John: the /etc/mail/relay-domains facility defines which *sending* domains are allowed to relay through sendmail... The sendmail.org site has this to say: As of sendmail version 8.9, forwarding of SMTP messages is not permitted by default. For example, if you are on site A.COM, you will not accept mail from B.NET destined for C.ORG without special arrangements.... The simplest approach is to list the domains you are willing to relay in the file /etc/mail/relay-domains. (See: http://www.sendmail.org/tips/relaying.html) --Dan -- Dan O'Connor On Matters of Most Grave Concern http://www.mostgraveconcern.com FreeBSD Cheat Sheets http://www.mostgraveconcern.com/freebsd/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message