Great Circle Associates Majordomo-Users
(June 1999)
 

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

Subject: Alias Oddities Under Linux
From: "Pope Clayton Roland, the First" <crcarter @ indiana . edu>
Date: Thu, 24 Jun 1999 12:49:47 -0500 (EST)
To: majordomo-users @ greatcircle . com


Hello All,

	I just installed the majordomo-1.94.4-6.i386.rpm out of RedHats
contrib directory and I'm noticing some curious behaviour.

Majordomo:	1.94.4
System:		RedHat Linux 6.0
Perl:		5.00503
Sendmail:	8.9.3


	I installed the package, added the link from /etc/smrsh/wrapper to
/usr/lib/majordomo/wrapper, configured majordomo.cf, added the appropriate
aliases to /etc/aliases, and tested it. Fine. Great.  It all worked.

	At that point, the only aliases I had were in /etc/aliases and
read:

majordomo:       "|/usr/lib/majordomo/wrapper majordomo"
owner-majordomo: crcarter,
majordomo-owner: crcarter

	Then, I went through the NEWLIST file to add a list called
vacation.  At this point, I decided to move all of my majordomo specific
aliases to a file called majordomo.aliases.  So I commented out the
alaises in /etc/aliases and added them to
/usr/lib/majordomo/majordomo.aliases.  Then I added a line:
"OA/usr/lib/majordomo/majordomo.aliases" to my /etc/sendmail.cf.  This is
how my new aliases file read:

-- Start --

# Majordomo Aliases File

# Required aliases for the proper operation of Majordomo
majordomo:       "|/usr/lib/majordomo/wrapper majordomo"
owner-majordomo: crcarter,
majordomo-owner: crcarter

# Aliases for the vacation list
vacation:          "|/usr/lib/majordomo/wrapper resend -l vacation
vacation-list"
vacation-list:     :include:/var/lib/majordomo/lists/vacation
owner-vacation:    crcarter,
vacation-owner:    crcarter
vacation-request:  "|/usr/lib/majordomo/wrapper majordomo -l vacation"
vacation-approval: crcarter    

-- End --

	I ran newaliases and everything seemed fine.  From my
non-superuser account on the machine running Majordomo, I was able to
subscribe and configure the list.  All was good.  When I tried to
subscribe to the vacation-request address, I got a user unknown error.  So
I tried  it the hard way.  I email majordomo and said "subscribe
vacation".  Nothing.  I email majordomo and said "list".  Nothing.
"help".  Nothing.  Come to find out, these messages are just sitting in
the majordomo's mail spool, and nothing is happening to them.  I try to do
the above commands from my account on the machine and it all works peachy
keen.

	Perplexed, I comment out the OA line in sendmail.cf and add all of
the majordomo.aliases to the regular aliases file.  `newaliases` and
Bingo!  Everything starts working fine.  Reverse the fix that I just did
and move the majordomo.aliases file to /etc and it breaks again.

	Like I said, everything appears to work fine if you are using the
box that is actually running Majordomo/Sendmail, but any other account and
nothing happens.  For now, I've just moved everything to the /etc/aliases,
but I'd like not to have to mess with that too much.

	What can I do to make the majordomo.aliases file work properly.
Rather, what have I done or not done to make the majordomo.aliases file
work properly.

	Thanks!

--pc

-- 
Clayton Carter   crcarter@cs.indiana.edu
"My mom says I'm the handsomest guy in school."





Follow-Ups:
Indexed By Date Previous: Re: Wilma / Glimpse
From: tibbs@hpc.uh.edu
Next: stripping subject line
From: steve miller <ubiquity@pocketmail.com>
Indexed By Thread Previous: Re: Wilma / Glimpse
From: tibbs@hpc.uh.edu
Next: Re: Alias Oddities Under Linux
From: Richard Green <rtg@mich.com>

Google
 
Search Internet Search www.greatcircle.com