Date: Fri, 5 Jan 2001 21:46:49 -0800 From: "Dan O'Connor" <dan@mostgraveconcern.com> To: "Jason Halbert" <jason@jason-n3xt.org>, "Daniel Ruthardt" <ruthardt@chello.at>, <freebsd-questions@FreeBSD.ORG>, "John" <papalia@udel.edu> Subject: Re: Configure SENDMAIL as SMTP server for NON local users Message-ID: <00c701c077a4$10b1bf00$029b140a@danco>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00c701c077a4$10b1bf00$029b140a>