From owner-freebsd-stable Wed Apr 22 15:01:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA11625 for freebsd-stable-outgoing; Wed, 22 Apr 1998 15:01:20 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from pop.uniserve.com (pop.uniserve.com [204.244.156.3]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id WAA11619 for ; Wed, 22 Apr 1998 22:01:15 GMT (envelope-from tom@uniserve.com) Received: from shell.uniserve.ca [204.244.186.218] by pop.uniserve.com with smtp (Exim 1.82 #4) id 0yS7Xp-00043z-00; Wed, 22 Apr 1998 14:59:09 -0700 Date: Wed, 22 Apr 1998 14:59:06 -0700 (PDT) From: Tom X-Sender: tom@shell.uniserve.ca To: chad@dcfinc.com cc: Axel Thimm , freebsd-stable@FreeBSD.ORG Subject: Re: sendmail in -stable and aliases In-Reply-To: <199804222133.OAA18835@freebie.dcfinc.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk On Wed, 22 Apr 1998, Chad R. Larson wrote: > > I cannot say if this is general sendmail related or FreeBSD specific, > > as I only have a FreeBSD box to tamper with. > [snip] > > then localy everything works again, but not for incoming mails from > > outside: Apr 22 22:12:03 rige sendmail[29993]: WAA29993: > > ... User unknown > > The big clue is that it works for outgoing and local mail, but not incoming. > Your mailer spawns a new copy of sendmail for each delivery, and those > will read the alias database(s) as they start. But incoming mail (TCP > to port 25) connects to the daemon sendmail, which loaded it's idea of > aliases at boot time. No. The alias database is queried when necessary. It is only opened when queried. The Bat book has a good dicussion of this, including what sendmail does if it trying to access the aliases database while newaliases is creating it. I think this is a bug in sendmail. It is probably forgetting to close the secondary aliases database, so it does not notice the new version. Remember, the primary aliases database does work properly. > Stop and start the daemon version, and you should be fine. Another tip: make sure your mail server is secured against unauthorized relaying. > -crl > -- > Chad R. Larson (CRL22) Brother, can you paradigm? > 602-953-1392 chad@dcfinc.com chad@anasazi.com larson1@home.com > DCF, Inc. - 14623 North 49th Place, Scottsdale, Arizona 85254 > > 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