From owner-freebsd-questions Fri Dec 19 09:30:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA01465 for questions-outgoing; Fri, 19 Dec 1997 09:30:56 -0800 (PST) (envelope-from owner-freebsd-questions) Received: (from jmb@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA01458; Fri, 19 Dec 1997 09:30:49 -0800 (PST) (envelope-from jmb) From: "Jonathan M. Bresler" Message-Id: <199712191730.JAA01458@hub.freebsd.org> Subject: Re: Sendmail: multiple alias files? To: melange@europa.humberc.on.ca (Bob K) Date: Fri, 19 Dec 1997 09:30:49 -0800 (PST) Cc: freebsd-questions@freebsd.org In-Reply-To: from "Bob K" at Dec 19, 97 01:04:01 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Bob K wrote: > > Hello, I'm new to this list. To the meat of the matter: > > I installed Majordomo on to a system running 2.2-971207-SNAP. The > post-install documentation said to add the line: > > O AliasFile=/etc/aliases,/usr/local/majordomo/aliases.majordomo > > to sendmail.cf . I located the AliasFile option and added the majordomo > aliases file to it (so it matched the above), restarted sendmail, and > tested it. The result? > > Dec 18 19:19:29 pi sendmail[2069]: NOQUEUE: SYSERR(root): hash map > "Alias2": unsafe map file /usr/local/majordomo/aliases.majordomo: No such > file or directory change the permissions/ownerships to match these: hub jmb[104] ls -Flag *aliases* -rw-r--r-- 1 root bin 69645 Dec 14 07:23 aliases -rw-r--r-- 1 root wheel 106496 Dec 15 16:43 aliases.db -rw-r--r-- 1 root wheel 38693 Sep 14 1995 aliases.old -rw-r--r-- 1 root bin 8608 Dec 14 07:25 majordomo.aliases -rw-r--r-- 1 root wheel 32768 Dec 15 16:43 majordomo.aliases.db you will have to change the permissions/ownerships of the directories above aliases.majordomo, i expect. the idea is to prevent just anyone from adding aliases. ;) jmb