Limits crossposting and followups. This module takes, in some ways, the opposite approach from the newsgroups module; rather than listing newsgroups which are allowed, it allows one to set a limit on the number of groups crossposted, on the number of groups to which followups would go, and on which groups can be crossposted to or to which followups can be directed.
A group can be excluded from the Newsgroups header or from the Followup-To header in one of two ways; either messages posted to that group or messages that direct followups to a set of newsgroups including that group can be rejected, or that group can be silently removed from the Newsgroups and/or Followup-To headers. The latter behavior is generally not recommended for robomoderators, since moderators are generally discouraged to make decisions about where posts should be posted for the poster. Returning the post and asking the poster to choose a more appropriate set of groups is generally a better approach.
This module will remove a Followup-To header (and not add one) if its content is/would be identical to the Newsgroups header.
This module takes the following configuration directives:
Reject any message crossposted to more than COUNT newsgroups.
COUNT
Either remove GROUP silently from the Newsgroups header if present or reject all articles crossposted to GROUP.
GROUP
Reject any messages that would direct followups to more than COUNT newsgroups, bearing in mind that if no Followup-To header is present, followups would go to all groups in the Newsgroups header.
Either remove GROUP silently from the followups if present or reject all articles crossposted to GROUP.
This module may return one of the following failure messages:
The message was crossposted to a group mentioned in a crosspost reject directive.
crosspost reject
Followups to the message would go to a group mentioned in a followup reject directive.
followup reject
The message was crossposted to more groups than allowed by a crosspost max directive.
crosspost max
Followups to the message would go to more groups than allowed by a followup max directive.
followup max
This module works with a Newsgroups header, so if other modules need to be applied to construct the Newsgroups header, they should run before this one. This module takes no arguments.
To install News::Gateway, copy and paste the appropriate command in to your terminal.
cpanm
cpanm News::Gateway
CPAN shell
perl -MCPAN -e shell install News::Gateway
For more information on module installation, please visit the detailed CPAN module installation guide.