From owner-freebsd-stable Tue May 26 18:28:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA08074 for freebsd-stable-outgoing; Tue, 26 May 1998 18:28:14 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: (from jmb@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA08067; Tue, 26 May 1998 18:28:07 -0700 (PDT) (envelope-from jmb) From: "Jonathan M. Bresler" Message-Id: <199805270128.SAA08067@hub.freebsd.org> Subject: Re: Changes to /etc/mail/sendmail.cf.additions In-Reply-To: from Scot Elliott at "May 27, 98 02:07:59 am" To: scot@poptart.org (Scot Elliott) Date: Tue, 26 May 1998 18:28:07 -0700 (PDT) Cc: stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk Scot Elliott wrote: > Hi all. > > I recently CVSupped stable and noticed changes to > /usr/src/etc/mail/sendmail.cf.additions. I keep this file as an m4-hack > so I just copied it over the top of my current one, as I didn't see any > new class files added. Mistake, but hey, sendmail rules are pretty over > my head to be honest. > > Anyway - I noticed a few days later that I was refusing mail for domains > that I was a secondary MX for... where as I wasn't before. Seems there > are some class name changes that didn't make it into the top of the file. > you are absolutely right about the file declarations being missing. i'll fix that immediately. the anti-relaying rules are commented out by default. to change this would be to break people's existing configurations....i agree that people should relay blindly, but i cant take this step for them. sendmail-8.9 will solve this problem and obsolete sendmail.cf.additions, i expect. please dont blindly grab sendmail.cf.additions and add it in. i try to make it "good for everyone" but any sites have specific sendmail needs which i may not have forseen. jmb > My diffs are: > > --- /etc/mail/sendmail.cf.additions Mon May 25 19:47:35 1998 > +++ /etc/mail/sendmail.cf.additions Wed May 27 02:04:35 1998 > @@ -1,7 +1,8 @@ > # list of hosts and domains for whom we relay mail. > # all .forward hosts, domains must be listed in this file. > # same for hosts and domains in /etc/aliases > -FR-o /etc/sendmail.cR > +F{LocalIP}-o /etc/mail/Local-IP > +F{RelayTo}-o /etc/mail/Relay-Hosts > > # database declarations > Kdenyip hash -o -a.REJECT /etc/mail/denyip.db > > > Also, I noticed that relaying is allowed by default. Do we think that's a > good idea... ie. Seeing as the reason people stick these rules in is to > protect against spam, shouldn't anty-relaying be un-commented by default? > > > Cheers. > > > Scot. > > ----------------------------------------------------------------------------- > Scot Elliott (scot@poptart.org) | Work: +44 (0)171 7046777 > PGP fingerprint: FCAE9ED3A234FEB59F8C7F9DDD112D | Home: +44 (0)181 8961019 > ----------------------------------------------------------------------------- > Public key available by finger at: finger scot@poptart.org > or at: http://www.poptart.org/pgpkey.html > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message