Hi, Dan
Thank you very much! But After i make some changes it is:
majordomo:"|/usr/local/majordomo/wrapper majordomo"
owner-majordomo:huanglp,
majordomo-owner:huanglp
I execute the 'newaliases' command and returned a message it is:
' Couldn't open /root/.elm/aliases.text for input!'
and I can not find the /root/.elm/aliases.text file.
Where do i set the test@neteye.neu-alpine.com 's alias? And how to set?
Can you send some examples for setting a new list? Thank you in advance!
huanglp
----- Original Message -----
From: "Dan Liston" <dliston@netscape.com>
To: "huanglp" <huanglp@neu-alpine.com>
Cc: <majordomo-users@GreatCircle.COM>
Sent: Thursday, May 25, 2000 10:14 PM
Subject: Re: about new list!
> 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
References:
|
|