Great Circle Associates Majordomo-Workers
(October 1998)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: New snapshot
From: Brock Rozen <brozen @ torah . org>
Date: Sat, 17 Oct 1998 19:52:46 +0300 (IDT)
To: Jason L Tibbitts III <tibbs @ hpc . uh . edu>
Cc: majordomo-workers @ GreatCircle . COM, BCosta @ Stone-Age . com
In-reply-to: <ufayaqg6kzz.fsf@sina.hpc.uh.edu>
Reply-to: Brock Rozen <brozen @ torah . org>

On 16 Oct 1998, Jason L Tibbitts III wrote:

> Also not yet in is Randall Winchester's code for automatically maintaining
> the sendmail aliases.  I'm going to work up Makefile.PL and postinstall to
> ask you whether or not you want this and to create the file with the proper
> permissions.  My thought is to make the file in the /etc/mail directory
> (or, of course, wherever the user says to put it) because we know Sendmail
> will take things in that directory.  The file would be named something like
> aliases-mj-domain (one for each domain).  It would be up to the installer
> to hack sendmail.cf and to set up the virtual domain table appropriately.
> (Unless we can do that, too; I just don't know how.)

In my sendmail 8.8.8 config file (should be the same for 8.9.x):

# location of alias file
O AliasFile=/etc/aliases,/etc/aliases.mj

and then you just restart sendmail (that might be trickier because you
need to know it's pid, which is listed in a file which is set in the
sendmail.cf file -- mine is stored in /var/run/sendmail.pid -- and it
usually needs to be done as root; probably better to have the user do
this, although modifying the sendmail.cf is w/o consequences as long as
sendmail is started and as long as we back it up to sendmail.cf.mj-backup
or something). Oh, newaliases needs to be run as well, AFTER you restart
sendmail -- and it'll compile the databases for all of the alias files.

-- 

   ----------------------------------
   | Brock Rozen | brozen@torah.org |
   ----------------------------------




Follow-Ups:
References:
  • New snapshot
    From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Indexed By Date Previous: Re: Quiet in here
From: Bill Houle <bhoule@sparc.sandiegoca.ncr.com>
Next: Re: Quiet in here
From: Oliver Xymoron <oxymoron@waste.org>
Indexed By Thread Previous: New snapshot
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Next: Re: New snapshot
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>

Google
 
Search Internet Search www.greatcircle.com