On Wed, 7 Apr 1999, Troy S. Choi wrote:
> Thank you for your help Rick.
> But there were few things I could not understand.
> Please bare with me and answer a few more questions.
>
> Rick Green wrote:
> :
> > 1) Set up the p_list alias to use resend.
>
> Do you mean "use resend" as;
> p_list-outgoing: :include:/usr/local/majordomo/lists/p_list
>
Not exactly. Set up the main list alias so that messages will be piped
thru the resend script to the outgoing alias, like this:
p_list: "|/usr/local/majordomo/wrapper resend -l p_list p_list-outgoing"
> :
> > 3) make the p_list-outgoing alias point directly to the sub-list outgoing
> > aliases:
> > p_list-outgoing: "a-list-outgoing,b-list-outgoing,s-list-outgoing"
>
> I understand that you did explain that you are not an expert on sendmail but
> don't I need to use the ":include:" in front of the mailing list?
> In that case can I use the double-quoted, comma-seperated syntex?
>
Either would work. If the number of sub-lists is small, you can list
them directly in the alias, as I showed in the example. If you have a
long list of lists, or if you anticipate additions and/or deletions of
sub-lists, then use the :include: syntax and place the list in a file.
It would look like this:
p_list-outgoing: :include:/usr/local/majordomo/lists/p_list
I was looking for an explanation of the syntax permissible in the aliases
file. As it turns out, `man alias` only documents the simple
comma-delimited list. the 'pipe' form as well as the ':include:' form are
documented towards the end of `man sendmail` (line 301, in the version on
my Linux system).
The important point I was trying to make, however, is that the addresses
you place in the -outgoing alias, or in the list-of-lists, is in each
case, the -outgoing alias for each list, not the main list address itself.
In this way, the message goes thru resend only once, and if multiple
copies hit sendmail due to the same address existing in several lists,
They will actually be identical. If they went thru each lists's resend
separately, they may differ slightly in headers, subject-prefix,
message-fronter and -footer, etc., depending on differences in each list's
.config file.
At this point, I have to defer to a real sendmail expert, who may be able
to tell you how to code your sendmail.cf so that the duplicates will
actually be detected and eliminated.
--
Rick Green
Please note my new address: <rtg@mich.com>
--------------------------------------------------------------------
Microsoft has just announced it is renaming Windows NT version 5 to
"Windows 2000."
Is that the ultimate millennium bug or what?
Follow-Ups:
References:
|
|