From owner-freebsd-stable Wed Apr 22 13:44:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA17375 for freebsd-stable-outgoing; Wed, 22 Apr 1998 13:44:51 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: (from jmb@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA17270; Wed, 22 Apr 1998 13:44:35 -0700 (PDT) (envelope-from jmb) From: "Jonathan M. Bresler" Message-Id: <199804222044.NAA17270@hub.freebsd.org> Subject: Re: sendmail in -stable and aliases In-Reply-To: <19980422223508.A27999@physik.fu-berlin.de> from Axel Thimm at "Apr 22, 98 10:35:08 pm" To: Axel.Thimm@physik.fu-berlin.de (Axel Thimm) Date: Wed, 22 Apr 1998 13:44:35 -0700 (PDT) Cc: freebsd-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 Axel Thimm wrote: > I cannot say if this is general sendmail related or FreeBSD specific, as I only have a > FreeBSD box to tamper with. > > On a three week old -stable system I get the following behaviour from sendmail: > 1) If I add aliases to /etc/aliases and call newaliases thereafter, everything works as > it should > 2) If I make a new aliases file and wish sendmail to take both into account, by e.g. > > O AliasFile=/etc/aliases,/usr/local/etc/aliases on hub.freebsd.org, the mail server for all the freebsd mailing lists, we use: O AliasFile=/etc/aliases,/etc/majordomo.aliases > then localy everything works again, but not for incoming mails from outside: > > Apr 22 22:12:03 rige sendmail[29993]: WAA29993: ... User unknown works for incoming mail as well as local mail. > where testing was defined as an alias in /usr/local/etc/aliases. > telnet localhost 25 and vrfy also don't work. > > Have I done something wrong? Or is this a bug in sendmail.cf? > > On a related note I also have problems installing the majordomo aliases (I get a > strange error from newaliases), which I posted on freebsd-ports. please check you configuration. what are the permissions and ownerships on /usr/local/etc/aliases, /usr/local/etc, /usr/local, and /usr. they should be reasonable, so that only users that sendmail trusts can modify the aliases files. here's what we are using: drwxr-xr-x 10 root wheel 2048 Apr 22 07:39 /etc -rw-r--r-- 1 root wheel 39567 Mar 17 09:23 /etc/aliases -rw-r--r-- 1 root wheel 65536 Apr 15 09:32 /etc/aliases.db -rw-r--r-- 1 root wheel 46717 Apr 15 09:32 /etc/majordomo.aliases -rw-r--r-- 1 root wheel 81920 Apr 15 09:32 /etc/majordomo.aliases.db jmb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message