Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Dec 1997 13:30:25 -0500 (EST)
From:      Bob K <melange@europa.humberc.on.ca>
To:        "Jonathan M. Bresler" <jmb@FreeBSD.ORG>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Sendmail: multiple alias files?
Message-ID:  <Pine.BSF.3.96.971219132330.1165N-100000@europa.humberc.on.ca>
In-Reply-To: <199712191730.JAA01458@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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

Well, I finally figured out what to do.  I ran:

cat /dev/null>/usr/local/majordomo/aliases.majordomo.db

and chgrp'ed it to wheel.  For some reason, the "Warning: database too
small" error from running locate without ever running locate.updatedb
popped into my head, along with the fact that everyone's posted
configurations had the .db file already there.

Thanks to everyone for your help :)  Perhaps a note should be sent to the
ports maintainer to put that in the install.sh?




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