Robert,
My /etc/mail/virtusertable:
test@other.domain other.domain-test
test-request@other.domain other.doamin-test-request
test-approval@other.domain other.domain-test-approval
test-outgoing@other.domain error:nouser User unknown
test-digest@other.domain other.domain-test
test-digest-request@other.domain other.domain-test-digest-request
test-digest-approval@other.domain other.domain-test-digest-approval
owner-test@other.domain owner-other.domain-test
My /etc/mail/majordomo.aliases:
other.domain-test: "|/usr/lib/majordomo/wrapper resend -C
/var/lib/majordomo/other.domain/majordomo.cf -l
test other.domain-test-outgoing"
other.domain-test-outgoing: :include:/var/lib/majordomo/other.domain/lists/test,
other.domain-test-archiver,other.domain-test-digestify
other.domain-test-archiver: "|/usr/lib/majordomo/wrapper archive2.pl -f
/var/lib/majordomo/other.domain/lists/test.archive/test -a -M"
other.domain-test-digestify: "|/usr/lib/majordomo/wrapper digest -r -C -c
/var/lib/majordomo/other.domain/majordomo.cf -l
test-digest other.domain-test-digest-outgoing"
other.domain-test-request: "|/usr/lib/majordomo/wrapper majordomo -C
/var/lib/majordomo/other.domain/majordomo.cf -l test"
other.domain-test-approval: owner-test@other.domain
#other.domain-test-digest: other.domain-test
other.domain-test-digest-outgoing: :include:/var/lib/majordomo/other.domain/lists/test-digest
other.domain-test-digest-request: "|/usr/lib/majordomo/wrapper request-answer -C
/var/lib/majordomo/other.domain/majordomo.cf test-digest"
other.domain-test-digest-approval: owner-test@other.domain
owner-other.domain-test: someone@real.address
Indented lines are continuations from previous line.
I keep all my hosted domains in subdirectories of majordomo, including their
individual .cf files, lists, digests, archive directories, etc. You can do
it other ways, but I find this the easiest to keep track of. The aliases
above all have dependencies on the content of your hosted majordomo.cf file.
Dan Liston
Robert Covell wrote:
>
> NOTE: This is for virtual mail lists.
>
> I cannot seem to find a way to get the digest to look at a different cf
> file. The example alias has just -C and I assumed that I should put the
> path to virtual cf file after it.
>
> ----If I Do----
> ambu-prn-digestify: "|/usr/local/mjdomo/wrapper digest -r -C
> /usr/local/mjdomo/accp.cf -l ambu-prn-digest ambu-prn-digest-outgoing"
>
> ----If I Get----
> ----- The following addresses had permanent fatal errors -----
> "|/usr/local/mjdomo/wrapper digest -r -C /usr/local/mjdomo/accp.cf -l
> ambu-prn-digest ambu-prn-digest-outgoing"
> (reason: 255)
> (expanded from: ambu-prn-digestify)
>
> ----If I Do----
> ambu-prn-digestify: "|/usr/local/mjdomo/wrapper digest -r -l
> ambu-prn-digest -C /usr/local/mjdomo/accp.cf ambu-prn-digest-outgoing"
>
> ----If I Get----
> MAJORDOMO ABORT (mj_digest)!!
>
> open(MSG, ">/usr/local/mail/digest/ambu-prn-digest/001"): No such file or
> directory
>
> >Which is coming from the default majordomo.cf file
>
> ----If I Do----
> ambu-prn-digestify: "|/usr/local/mjdomo/wrapper digest -r -l ambu-prn-digest
> ambu-prn-digest-outgoing -C /usr/local/mjdomo/accp.cf"
>
> ----If I Get----
> MAJORDOMO ABORT (mj_digest)!!
>
> /usr/local/mjdomo/.digestrc: No such file or directory
>
> >Which looks like it is doing standalone.
>
> ----If I Do----
> ambu-prn-digestify: "|/usr/local/mjdomo/wrapper digest -r -C -l
> ambu-prn-digest ambu-prn-digest-outgoing"
>
> ----If I Get----
> MAJORDOMO ABORT (mj_digest)!!
>
> open(MSG, ">/usr/local/mail/digest/ambu-prn-digest/001"): No such file or
> directory
>
> >Which is a valid error because it does not exist and should not.
>
> ----If I Do----
> ambu-prn-digestify: "|/usr/local/mjdomo/wrapper digest -r -l ambu-prn-digest
> ambu-prn-digest-outgoing"
>
> ----If I Get----
> MAJORDOMO ABORT (mj_digest)!!
>
> /usr/local/mjdomo/.digestrc: No such file or directory
>
> >Which looks like it is doing standalone as well.
>
> Any direction and or help would be great. Thanks...
>
> -Bob
References:
-
Digests
From: "Robert Covell" <rcovell@rolet.com>
|
|