From owner-freebsd-questions Fri Sep 8 8:59:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.telestream.com (mail.telestream.com [205.238.4.5]) by hub.freebsd.org (Postfix) with ESMTP id C0B1637B424 for ; Fri, 8 Sep 2000 08:59:46 -0700 (PDT) Received: from localhost (keith@localhost) by mail.telestream.com (8.11.0/8.11.0) with ESMTP id e88FxWv28016; Fri, 8 Sep 2000 08:59:32 -0700 Date: Fri, 8 Sep 2000 08:59:32 -0700 (PDT) From: To: Giorgos Keramidas Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Quick sendmail questions In-Reply-To: <20000908122753.A853@gray.westgate.gr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG There is a problem with what you have here. The cw file as you say is for local names. The relay-domains file isn't who we allow to relay. That is the access_db file as is in....... FEATURE(`access_db', `hash -o /etc/mail/sendmail.access.db')dnl The relay-domains section of the .cf file says... # Hosts that will permit relaying ($=R) As in remote hosts. Who we allow to relay is already defined in access_db and given the rules RELAY, REJECT, etc etc. The relay-domains file is commented as if to give a list of relays not local. That is the point of my confusion. For hosts that we allow to relay do we need them in both access_db AND relay-domains? Or is relay-domains for something totaly different?? Keith On Fri, 8 Sep 2000, Giorgos Keramidas wrote: > On Thu, Sep 07, 2000 at 03:48:45PM -0700, keith@mail.telestream.com wrote: > > #1 > > Since the release of 8.11.0 the sendmail.cw file is no longer the > > standard and it's now default to local-host-names Given that, do we > > still use FEATURE(`use_cw_file')dnl as a feature? Or has that also > > been swapped out with something else. > > I upgraded to sendmail-8.11.0 before it was merged in -STABLE, and added > NO_SENDMAIL to my make.conf a few weeks ago. > > In my .mc file you can still read: > > define(`confCW_FILE', `-o /etc/mail/sendmail.cw')dnl > FEATURE(`use_cw_file')dnl > > and I haven't found that it causes any problems with my setup. > > > #2 > > What is the difference between > > > > # Hosts that will permit relaying ($=R) > > FR-o /etc/mail/relay-domains > > > > and the cw file? > > In cw_file you put the names of the hosts / domains that should be > treated as local, i.e mail received for these names will be delivered to > a local user. In relay-domains you put hostnames or domain names that > sendmail should relay mail for. These messages do not need to be > treated as local, since they might be mail for a domain which lists you > as the backup-MX. > > -- > Giorgos Keramidas, > For my public pgp2 key: finger -l keramida@diogenis.ceid.upatras.gr > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message