CCL Home Page
Up Directory CCL readme.mail2news
Subject: A mailing list, and INN co-existing.

    I've seen numerous requests for assistance concerning
    e-mail to news gateways. Here is my method of email
    to news.

    The architecture is this:

    1. the group must be moderated.
    2. the moderator address must be the name of the list.

    The login id I use is called usenet, usenet has an alias
    or aliases called some-group-name. This|These are the
    addresses that are subscribed to a list.

    The reason for aliasing, is to be able to add additional
    mailing lists or to provide additional mail2news gateway
    features without a lot of login clutter.

    The reason for moderation is to control the flow of mail-
    to-news articles such that, when posting, the post goes to
    the list, then from the list it is posted to the group.
    Moderation helps to prevent loops from occurring:

        mail to news to mail, adinfinitum.

    BUGS: You tell me.

    Usual disclaimers apply: No guarantees.
    I will fix anything that is reasonable.

    In Daily Use: perl4.036 & inews on SunOS, inn-unoff2 on NCR SVR4.
' attributions with '+'.
  This is a workaround for those of you that do not have control
  of inews. When not set, a second attempt is made anyway, to post
  to the newsgroup.

  Usage: mail2news

  All options are passed via the environment variables NNTPSERVER,
  NEWSGROUP, ARTICLE. A front end is used to reduce the possibility
  of contention on the mail filter (postit).


4. A sample of the mail to news traffic over a week.

            A Summary of Filter Activity

A total of 231 messages were filtered:

The default rule of putting mail into your mailbox
    applied 5 times (2%)

Rule #1: (left in mailbox and given to command "/home/usenet/bin/postit")
    applied 1 time (0%)

Rule #2: (left in mailbox and given to command "/home/usenet/bin/postit")
    applied 224 times (97%)

Rule #3: (left in mailbox and given to command "/home/usenet/bin/postit")
    applied 1 time (0%)


5. Cronjobs

    When the news server is down or not accepting connections,
    deadfeed will recover any posts in dead.article.
    Your choice as to frequency.


6. Manual failure testing

    I use a variation of postit above, to check out any posting failures.

Modified: Wed Dec 23 18:10:00 1998 GMT
Page accessed 8610 times since Sat Apr 17 21:24:55 1999 GMT