Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Sep 2000 08:59:32 -0700 (PDT)
From:      <keith@mail.telestream.com>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Quick sendmail questions
Message-ID:  <Pine.LNX.4.10.10009080851300.27555-100000@mail.telestream.com>
In-Reply-To: <20000908122753.A853@gray.westgate.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
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. <Can't find it if so>
> 
> 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, <keramida@ceid.upatras.gr>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.10009080851300.27555-100000>