[Mailman-Users] USENET gateway in mailman

2009-12-16 Thread Dlugas X
Hi all,

  where can I find some informations about usenet gateway in mailman ?


thanks

dlugasx
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] USENET gateway in mailman

2009-12-16 Thread Grant Taylor

On 12/16/09 04:57, Dlugas X wrote:

where can I find some informations about usenet gateway in mailman ?


I've run the gateway for quite a while, what are you wanting to know?

(I'm sure there is some documentation, I'm just not sure where it is.)



Grant. . . .
--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] USENET gateway in mailman

2009-12-16 Thread Mark Sapiro
Dlugas X wrote:

  where can I find some informations about usenet gateway in mailman ?


If you are a Mailman list admin or site admin, see the documentation of
the NNTP_* settings in Defaults.pt and see the Mail-News gateways
section of the admin web interface including the 'details for' links
for the individual settings.

Beyond that, there isn't any concise documentation.

If you are not a list or site admin and are just asking about the
gateway in general, Mailman supports gating messages in either or both
directions between a Mailman list and a Usenet group. The gateway from
the list to Usenet can also be configured to interact appropriately
with moderated groups.

There are some limitations. Different lists cann gateway to/from
different news servers, but if authentication is required they must
all authenticate with the same user/password as that is a global
setting.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] usenet gateway for mailman

2002-04-15 Thread Jerry Stratton

You mention 'usenet gateway' for mailman, does this mean your great product
can integrate with a newsgroup, e.g. postings to the newsgroup get sent out
as emails to those who prefer email and emails get automatically posted to
the newsgroup for those who prefer newsgroups?  Or is this too much to ask.

This is exactly what it means.

1. You can set the mailing list to automatically send list messages
to a specific newsgroup. (gateway to news)

2. You can set the mailing list to automatically check that same
newsgroup and remail new messages to the mailing list. (gateway to
mail)

Those features can be enabled separately (although if both are
enabled they do have to both use the same newsgroup).

One issue you may run into is that if you require that postings come
from listmembers, your Usenet readers have to be members of the
mailing list. You can change this requirement so that mailman allows
Usenet postings through automatically, but that requires hacking the
code.

The two changes I've made to make this feature more useful are:

1. Added the ability to put the newsgroup and news host on the list's
info pages. This change is made in HTMLFormatter.py in the Mailman
directory: Look for def GetStandardReplacements(self): and add the
following lines:
 'mm-newsgroup' : self.linked_newsgroup,
 'mm-newshost' : self.nntp_host,

2. Made it so that if the gateway-to-mail option is set, then any
messages coming from the appropriate newsgroup are allowed as if they
were from a member. This change is made in Hold.py in
Mailman/Handlers. Look for def process(mlist, msg, msgdata): and
near if mlist.member_posting_only change to:

 # postings only from list members?  mlist.posters are allowed in addition
 # to list members.  If not set, then only the members in posters are
 # allowed to post without approval.
 #note: should find some way to compare needgroup and newsgroup
non-case-sensitively
 #note: should probably also trim whitespace away from both ends
 if mlist.member_posting_only:
 if mlist.gateway_to_mail:
 needgroup = mlist.linked_newsgroup
 newsgroup = msg.getheader('newsgroups')

 posters = Utils.List2Dict(map(string.lower, mlist.posters))
 if not mlist.IsMember(sender) and \
not (mlist.gateway_to_mail and needgroup and
newsgroup==needgroup) and \
not Utils.FindMatchingAddresses(sender, posters):
 # the sender is neither a member of the list, nor in the list of
 # explicitly approved posters
 # nor is it from the gatewayed newsgroup
 hold_for_approval(mlist, msg, msgdata, NonMemberPost)
 # no return


Issues: the newsgroup name is case sensitive; and if multiple
newsgroup names are listed, it will not match. (The latter is
probably a good thing--you will still have the opportunity to approve
after verifying that it is not spam.)

Jerry
--
[EMAIL PROTECTED]
http://www.sandiego.edu/~jerry/
Serra 188B/x8773
--
The more restrictions there are, the poorer the people become. The
greater the government¹s power, the more chaotic the nation would
become. The more the ruler imposes laws and prohibitions on his
people, the more frequently evil deeds would occur.
--The Silence of the Wise: The Sayings of Lao Zi


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



Re: [Mailman-Users] usenet gateway for mailman

2002-04-15 Thread J C Lawrence

On Sun, 14 Apr 2002 02:45:22 +0100 
david  [EMAIL PROTECTED] wrote:

 You mention 'usenet gateway' for mailman, does this mean your great
 product can integrate with a newsgroup, e.g. postings to the newsgroup
 get sent out as emails to those who prefer email and emails get
 automatically posted to the newsgroup for those who prefer newsgroups?

Yes.  This is a standard feature of Mailman.

-- 
J C Lawrence
-(*)Satan, oscillate my metallic sonatas. 
[EMAIL PROTECTED]   He lived as a devil, eh?  
http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] usenet gateway for mailman

2002-04-14 Thread david

You mention 'usenet gateway' for mailman, does this mean your great product
can integrate with a newsgroup, e.g. postings to the newsgroup get sent out
as emails to those who prefer email and emails get automatically posted to
the newsgroup for those who prefer newsgroups?  Or is this too much to ask.

Thanks

David



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py