Great Circle Associates Majordomo-Users
(May 2000)
 

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

Subject: Re: about new list!
From: Dan Liston <dliston @ netscape . com>
Organization: iPlanet E-Commerce Solutions, A Sun Netscape Alliance
Date: Thu, 25 May 2000 09:14:02 -0500
To: huanglp <huanglp @ neu-alpine . com>
Cc: majordomo-users @ GreatCircle . COM
References: <008801bfc60e$75ca3090$5803a8c0@netsoft>

huanglp wrote:
> 
> hello,everyone:
> 
>       i creat a new list. it's name is test.so when i send mail to
> test@neteye.neu-alpine.com the list can not forword mail to other persons in
> the test list.
> 
>       I creat the test list according to NEWLIST file. I add some items to
> the /etc/aliases file. It is this:
> 
> majordomo:"|/usr/local/majordomo/wrapper majordomo"
> owner-majordomo:majordomo,
> majordomo-owner:majordomo

The above is a bad idea.  You will create loops and get ABORT (mj_majordomo)
errors.  Set at least one of the owners to a real address, then point the
other owner to the one with that real address.  I also have bad news about
the aliases you have listed below.  Every alias must have a unique name, or
you will get unexpected results from sendmail.  In your aliases below for
example, which alias will test@neteye.neu-alpine.com get delivered to?
> 
> test: :include:/usr/local/majordomo/lists/test
> owner-test: huanglp
> test-request: "|/usr/local/majordomo/wrapper request-answer test"
> test-approval: huanglp

The above is fine for an open list, that anyone in the world can post to,
and you are only using majordomo to handle subscription requests for the list.
> 
> test: "|/usr/local/majordomo/wrapper resend -l test test-list"
> test-list: :include:/usr/local/majordomo/lists/test
> owner-test: huanglp
> test-owner: huanglp
> test-request: "|/usr/local/majordomo/wrapper majordomo -l test"
> #$test-approval: majordomo

This one is better, if you want to take advantage of the many settings in
the test.config file.  I do have concerns about the dollar sign and the 
value set in the approval alias though.  Probably just a typo for the $, 
but it should not be in your real aliases file and "majordomo" should 
never be on the RightHandSide (RHS) by itself like that.
> 
> test: "|/tools/majordomo/wrapper resend -l test -h NetEye.neu-alpine.com
> test-outgoing"
> test-digest:test
> test-outgoing:
> :include:/usr/local/majordomo/lists/test,"|/tools/majordomo/wrapper
> digest -r -C -l test-digest test-digest-outgoing","|/tools/majordomo/wrapper
> archive2.pl -a -m -f /usr/local/mail/archive/test/test.archive"

More repeated aliases.  Probably invisible to sendmail.  I am not sure
what result you expect when archiving, but the actual file you will end up
with will be /usr/local/mail/archive/test/test.archive.0005.  I also see 
that you are using a different $HOME directory for majordomo in this one.
Did you build a wrapper specific to this new location?  Is the new wrapper
linked in /etc/smrsh (or similar) for sendmail?
> 
> #test: "|/usr/local/majordomo/wrapper resend -l test -h
> NetEye.neu-alpine.com test-outgoing"
> #test-digest:test
> #test-outgoing: :include:/usr/local/majordomo/lists/test,
> #   "|/usr/local/majordomo/wrapper digest -r -C -l test-digest
> test-digest-outgoing",
> #  "|/usr/local/majordomo/wrapper archive2.pl -a -m -f
> #  /usr/local/mail/archive/test/test.archive"

Commented lines are ignored, this is good.
> 
> test-digest-outgoing: :include:/usr/local/majordomo/lists/test-digest
> 
> owner-test:huanglp
> owner-test-outgoing: owner-test
> 
> owner-test-digest: owner-test
> owner-test-digest-outgoing:owner-test
> 
> #owner-test-digest:owner-test
> #owner-test-digest-outgoing:owner-test
> 
> test-request:  "|/tools/majordomo/wrapper request-answer test"
> #test-request:  "|/usr/local/majordomo/wrapper request-answer test"
> test-digest-request: "|/tools/majordomo/wrapper request-answer test-digest"
> #test-digest-request: "|/usr/local/majordomo/wrapper request-answer
> test-digest"
> 
> test-approval: huanglp,
> test-digest-approval:test-approval
> #test-digest-approval:test-approval
> 
> test-requesrt: "|/toolsd/majordomo/wrapper majordomo -l test"

Multiple typos in the above line.
> 
> I want to know if my config file is wrong. So any help please. Thanks in
> advance!
> 
This is not your config file, it is your aliases file.  It is very wrong.
When you experiment from the NEWLIST file, either use different names for
each experiment, or comment out the old before adding the new.  Just like
you did for changing from /usr/local/majordomo to /tools/majordomo.

Test: can only appear one time in the entire aliases file.  Pick one and
comment out all the others.  You can comment and uncomment to your heart's 
desire trying different values.  I am surprised `newaliases` did not complain.

Always check closely for typos, they are the most common problem when
mail is not delivered where you expect to find it.

Dan Liston


Follow-Ups:
References:
Indexed By Date Previous: Re: Contradicting majordomo LIST results
From: Dan Liston <dliston@netscape.com>
Next: Re: ABORT Couldn't append key file : No such file or directory
From: Dan Liston <dliston@netscape.com>
Indexed By Thread Previous: about new list!
From: "huanglp" <huanglp@neu-alpine.com>
Next: Re: about new list!
From: "huanglp" <huanglp@neu-alpine.com>

Google
 
Search Internet Search www.greatcircle.com