CCL Home Page
Up Directory CCL Mail2News-5.html
Mail2News Mini-Howto: Establishing the mail aliases 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
Modified: Wed Dec 23 18:09:00 1998 GMT
Page accessed 9475 times since Sat Apr 17 21:24:52 1999 GMT