Great Circle Associates Majordomo-Users
(August 2001)
 

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

Subject: Re: Hi! (Newaliases)
From: Dan Liston <dliston @ netscape . com>
Organization: iPlanet eCommerce Solutions, A Sun|Netscape Alliance
Date: Fri, 31 Aug 2001 11:26:26 -0500
To: HAx0r <gw01f @ yoda . cs . udw . ac . za>
Cc: majordomo-users @ greatcircle . com
References: <Pine.LNX.3.96.1010831122427.1309A-100000@yoda.cs.udw.ac.za>

Do yourself a favor and create a link to your majordomo.aliases file
in the same directory as your regular aliases file.  

`ln -s /usr/local/majordomo-1.94.5/majordomo.aliases /etc`

Now in your sendmail.cf file, set 
O AliasFile=/etc/aliases,/etc/majordomo.aliases

Restart sendmail, and rebuild your aliases database.  Everything
should now work without complaints.

Dan Liston

PS.  I should explain that the most likely reason newaliases works
as the majordomo user, but not root is the ownership of the 
majordomo.aliases file.  10-1 says it is owned by majordomo when 
it should be owned by root.  The same would be true even if the
file was in the etc directory.  Aliases should be owned by root.

HAx0r wrote:
> 
> Gooday!
> 
> I was just wondering when, the 'newaliases' (sendmail -bi) command is run,
> does the following errors presented below cause problems in the actually
> delivery/workings of majordomo. I tried getting it to work with normal
> user and root, but the same error always appears......
> 
> /etc/aliases: 7 aliases, longest 48 bytes, 218 bytes total
> hash map "Alias1": unsafe map file
> /usr/local/majordomo-1.94.5/majordomo.aliases.db: Permission denied
> WARNING: cannot open alias database
> /usr/local/majordomo-1.94.5/majordomo.aliases
> Cannot create database for alias file
> /usr/local/majordomo-1.94.5/majordomo.aliases
> 
> However when I run it as the majordom (majordomo) user itself, I get a
> clean completion.
> 
> /etc/aliases: 7 aliases, longest 48 bytes, 218 bytes total
> /usr/local/majordomo-1.94.5/majordomo.aliases: 10 aliases, longest 128
> bytes, 497 bytes total
> 
> So basically, does this pose a problem to majordomo's functionality or
> does Majordom account only need this to work?????
> 
> Kindly
> Dane



References:
Indexed By Date Previous: Re: Strange majordomo problems
From: Dan Liston <dliston@netscape.com>
Next: Re: 3+ hour delay
From: Dan Liston <dliston@netscape.com>
Indexed By Thread Previous: Hi! (Newaliases)
From: HAx0r <gw01f@yoda.cs.udw.ac.za>
Next: Re: Hi! (Newaliases)
From: Dan Liston <dliston@netscape.com>

Google
 
Search Internet Search www.greatcircle.com