Previous Next Contents

5. Establishing the mail aliases

Edit /etc/aliases to create entries for the mailing list(s) you wish to pipe into news. Each entry should be of the form:-


<subscribed email address to list>: \
        "| /usr/local/scripts/mail2news.pl <local news group name>" 
<code>

<p>
So for example if the email address to which email from the list is to
be sent (the subscribed mail address) is <tt/site_list/ and the local
newsgroup to which mail is to be posted is <tt/local.site.group/, the
alias would be

<code>
# The site subscription address for blah-blah@some.mailing.list
site_list: "| /usr/local/scripts/mail2news.pl local.site.group"

Make an entry for each mailing list that is to be gated to oyur local news server and and then run newaliases.


Previous Next Contents