Actually, it is "in the FAQ" David. Maybe not in the particular section
you would expect it, but in the same context that I talked about it, is in
section 3.6 of the FAQ.
You can find which documents reference resend quickly by doing a
grep in your "docs" directory, but to refine the search, you are looking
for alias examples in the docs. Since all aliases have a ":", try this;
cd /usr/docs/majordomo-1.94.5
grep -i ":.* resend" *
This will look through all files for a pattern matching colon followed by
anything until the ending pattern of space R E S E N D ignoring the case
of the string match. It turns out, the "NEWLIST" file has the best
examples of aliases using resend.
Dan Liston
David Hooker wrote:
> Excellent! That's exactly what I wanted to know.
>
> Is there an example of setting up resend in an alias anywhere else?
> It's not in the faq.
>
> -----Original Message-----
> From: dliston@sonny.org [mailto:dliston@sonny.org] On Behalf Of Daniel
> Liston
> Sent: Monday, January 07, 2002 1:51 PM
> To: David Hooker
> Cc: majordomo-users@greatcircle.com
> Subject: Re: Couple of questions
>
> Hi David,
>
> > David Hooker wrote:
> >
> > I have questions, and I haven't found anything in the readmes or
> faqs...
> >
> > 1) How do I add the listname to the email subject, like so many lists
> do? I.e. "[mylist] Some subject"
>
> in your /pathto/majordomo/lists/listname.config file;
>
> subject_prefix = [$LIST]
>
> >
> > 2) How do I add a banner to the bottom of each message?
>
> in your /pathto/majordomo/lists/listname.config file;
>
> message_footer << END
> -- (dash dash space signifies signature/footer)
> this is line one of the footer/banner message
> this is line two
> line three
> and protocol says no more than four lines.
> END
>
> >
> > For each of these, I tried setting it in the list's config file, but
> it doesn't seem to work. Is this something resend is supposed to do?
> How can I make sure resend is working?
>
> If your config file does not get read, resend can't work.
> If you do not call "resend" from the list's alias, the
> config file only manages your subscriber policy.
> Example aliases utilizing resend;
>
> test: "|/pathto/majordomo/wrapper resend -l test test-outgoing,null"
> test-outgoing: :include:/pathto/majordomo/lists/test
> null: /dev/null
>
> Note: Using ",null" in the alias prevents sendmail from
> publishing your "test-outgoing" delivery alias in the
> "Received:" headers of outgoing list messages.
>
> Dan Liston
References:
|
|