Let me see if I can help clarify anything for you;
Robert Isaac wrote:
> I'm getting confused now, when sending to the list named 'test' the email
> goes to test-list@... Correct? Not test@...
No! Mail to firstname.lastname@example.org goes to the test: alias which expands into
test-outgoing, not test-list. You can remove test-list from your aliases
> These are in /etc/aliases, is there anything missing or wrong:
> test-list: :include:/usr/local/majordomo/lists/test
Get rid of test-list. Anyone that writes to this address bypasses
majordomo processing completely.
> owner-test: test-owner
Anyone in the world that writes to owner-test (including sendmail errors)
will be directed to test-owner. No syntactical or logical errors here.
> test: "|/usr/local/majordomo/wrapper resend -l test test-outgoing,nobody"
This is where you use majordomo's resend script to examine mail destined
to email@example.com, enforce rules and policies from the test.config file,
and redirect successful output to the test-outoing alias and the nobody
alias. Majordomo is pretty useless without this one.
> test-owner: firstname.lastname@example.org,
This can be written do directly from the world, or be redirected from your
owner-test alias. In turn, this alias redirects mail to a real mailbox and
the comma on the end prevents sendmail from advertising the alias expansion
in the message headers. This line is OK too.
> test-request: "|/usr/local/majordomo/wrapper majordomo -l test"
This alias (or the -request part of it) is required by RFC2142 for every
list your domain operates. The redirection portion of it can be a mailbox,
or a program, as above. This program acts automatically to add/remove a
user from your "test" list (with the proper message body content of course).
> test-approval: email@example.com
This alias is used for closed or moderated lists. This is also the default
address majordomo uses to send notifications unless otherwise defined in
your test.config file. Any human or program can send mail to this alias
and it will be redirected to the mailbox you have defined.
Here is where life gets interesting. Mail can be sent to this alias by any
user or program on the internet, as well as redirected to by the test list
alias itself. Messages arriving at this alias are redistributed to each
address (one per line) of the included file called test, and copies of the
message are also redirected to the test-archiver and test-digestify aliases.
Sendmail users can circumvent some abuse of this address by setting up a
blocking mechanism in their virtusertable.
> test-archiver: "|/usr/local/majordomo/wrapper archive2.pl -f
> /usr/local/majordomo/archives/test/test -a -M"
This is where the archiving process actually takes place. This alias has
dependencies on $filedir and $filedir_suffix settings in your majordomo.cf
file. The directory that stores the archive must already exist AND have
the proper ownership and permissions for archive2.pl to use it.
> test-digestify: "|/usr/local/majordomo/wrapper digest -r -C -l test-digest
This alias calls the digest program, which has a dependency on $digest_work_dir
in your majordomo.cf file, it's existance, ownership, and permissions, and the
variables in your test.config that start with the word digest_*. IF the
conditions from your test.config file are met, the digest is created from the
messages collected in the $digest_work_dir/<listname> and distributed to your
> owner-test-digest: test-owner
This alias has the same properties as the owner-test alias.
> test-digest: test,
This alias catches any mail accidently sent directly to the digest and
redirects it to the primary list name for proper functionality.
> test-digest-owner: test-owner
Same functionality and properties as test-owner.
> test-digest-request: "|/usr/local/majordomo/wrapper majordomo -l
Allows users to sub/unsub from your digest, similar to test-request.
> test-digest-approval: test-approval
Same as test-approval alias.
This alias is only used if/when conditions defined in test.config
are met regarding byte, lines, or age of the oldest message in the
> Robert Isaac
> Director and Web Administrator
> Volvo Owners Club
> Please include all previous text with reply
> All messages are scanned with an antivirus scanner.
> -----Original Message-----
> From: firstname.lastname@example.org
> [mailto:email@example.com] On Behalf Of Ed Kasky
> Sent: 04 September 2005 20:20
> To: firstname.lastname@example.org
> Cc: Majordomo-Users@greatcircle.com
> Subject: Re: Archiving
> I just remembered something but deleted your last message with the
> Does your alias "test" have the alias to "test-archive"?
> Notice in the sample below that a message to test goes to test-list which
> includes the list itself, the test-archive alias and the test-digestify
> test: "|/usr/local/majordomo/demime '== /usr/local/majordomo/wrapper resend
> -l test test-list,nobody'"
> test-list: :include:/usr/local/majordomo/lists/test, test-archive,
> test-archive: "|/usr/local/majordomo/wrapper archive -f
> /usr/local/majordomo/archives/test/test -a -M"
> test-digestify: "|/usr/local/majordomo/digest -r -C -l test-digest
> test-digest: test
> test-digest-outgoing: :include:/usr/local/majordomo/lists/test-digest
> At 10:35 AM Sunday, 9/4/2005, you wrote -=>
>>The message to email@example.com comes back to me OK, I'm the
>>only one on the test list. There are no irregular entries in maillog,
>>but the message is not showing in Majordomo Log.
>>The HOW-TO by Dan Liston stated that the dirs should be 755.
> I figured as much ;-)
>>[mailto:firstname.lastname@example.org] On Behalf Of Ed Kasky
>>Sent: 04 September 2005 18:27
>>Subject: Re: Archiving
>>At 10:06 AM Sunday, 9/4/2005, Robert Isaac wrote -=>
>>>Thanks for this, but messages are still not getting archived.
>>the first place to look is in the logs. Are you getting any errors
>>either in the maillog or in the majordomo log?
>>What happens when you send a message to test?
>>Does the message go to the test list at all??
>>Why do you have this one?^^^^^^^^^^^^^^ Are you archiving the digests
>>>/usr/local/majordomo/lists (755) /usr/local/majordomo/lists/test (file:
>>>644) /usr/local/majordomo/lists/test.config (file: 660)
>>I can't remember why but I have my archives and digest folders set to 775.
> . . . . . . . . . . . . . . . . . .
> Randomly Generated Quote (46 of 1003):
> "Determine never to be idle... It is wonderful how much may be done
> if we are always doing." --Thomas Jefferson