News Groups (local) mirrored with mailinglists
Hi to all , i am looking for a solution to provide :
News Groups (local) mirrored with mailinglists Best solution i see is INN + mailman.
What i am looking for is some script which will make my life easier.
I want to be able to automatically create News Group with same Mailinglist name . I want to be able to have a user -based access to a particular news groups.
Thanks in advance!
David
I have some users experiencing issues with Palm Treo's. Their e-mails arrive as attachments instead of text messages. Is there simple solution to this issue? It seems to be happening on Blackberry's as well.
Please advise.
Jason Bell Funnel Communications Inc.
Jason Bell wrote:
I have some users experiencing issues with Palm Treo's. Their e-mails arrive as attachments instead of text messages. Is there simple solution to this issue? It seems to be happening on Blackberry's as well.
Does your list define a msg_header? If so, under some circumstances (see <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.039.htp> which talks about msg_footer, but also applies to msg_header), the message will be sent with the msg_header in a separate MIME part. This will cause some MUAs to see the header as the message body and the rest of the message as an attachment.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Please don't hijack threads. Unless you know how to avoid that, that means it is *rude* to reply to an unrelated message, *especially* if you change the subject. In a threading MUA, it will appear that the original message has already been answered, and their problem may get no attention.
Please check out the original message entitled "News Groups (local) mirrored with mailinglists". (Unfortunately I can't do more than redirect attention to it.)
Hi, i want to know - how synchronization mailinglist <----> news works .
I can set a name of a news group for mailinglist in mailman. Is it all that is necessary to do? I do understand one way - from mailman to news server, but what about the other side? How can i achieve it? Hope it is understable ...
Mailman + INN
My next question talks about INN f and pam authentification (pam ldap). Am i able to configure access to particular groups for particular users? (like user joe will have acces to com.disc and com.dad , and user ivan will have access only to com.disc ) ?
Thanks in advance!
Davic
On Mon, Feb 4, 2008 at 4:36 PM, David Hláčik <david@hlacik.eu> wrote:
Hi to all , i am looking for a solution to provide :
News Groups (local) mirrored with mailinglistsn a Best solution i see is INN + mailman.
What i am looking for is some script which will make my life easier.
I want to be able to automatically create News Group with same Mailinglist name . I want to be able to have a user -based access to a particular news groups.
Thanks in advance!
David
David Hláik wrote:
Hi, i want to know - how synchronization mailinglist <----> news works .
I can set a name of a news group for mailinglist in mailman. Is it all that is necessary to do? I do understand one way - from mailman to news server, but what about the other side? How can i achieve it? Hope it is understable ...
You set the list attribute gateway_to_mail to Yes, and mailman's gate_news cron which runs every 5 minutes by default polls the newsgroup for new posts.
Mailman + INN
My next question talks about INN f and pam authentification (pam ldap). Am i able to configure access to particular groups for particular users? (like user joe will have acces to com.disc and com.dad , and user ivan will have access only to com.disc ) ?
I'm not sure what you're asking, but there are no user level controls on either direction in Mailman. If you gate mail to news, all list posts, regardless of poster, go to the newsgroup, and in the other direction, all newsgroup posts go to the list.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
I'm trying to set up the news gateway. But it only appears to work one way; from the mailinglist to the (local) newsserver. Any idea where the problem may lie?
/Par
-- Par Leijonhufvud par@hunter-gatherer.org MBA or equivalent work experience, say, two weeks -- Seth Breidbart
Par Leijonhufvud wrote:
I'm trying to set up the news gateway. But it only appears to work one way; from the mailinglist to the (local) newsserver. Any idea where the problem may lie?
Check Mailman's crontab (crontab -l -u mailman) to be sure the gate_news entry is not commented or removed.
# Every 5 mins, try to gate news to mail. You can comment this one out # if you don't want to allow gating, or don't have any going on right now, # or want to exclusively use a callback strategy instead of polling. 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/python -S /cygdrive/f/test-mailman/cron/gate_news
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mark Sapiro <mark@msapiro.net> [2008.03.27] wrote:
Par Leijonhufvud wrote:
I'm trying to set up the news gateway. But it only appears to work one way; from the mailinglist to the (local) newsserver. Any idea where the problem may lie?
Check Mailman's crontab (crontab -l -u mailman) to be sure the gate_news entry is not commented or removed.
# Every 5 mins, try to gate news to mail. You can comment this one out # if you don't want to allow gating, or don't have any going on right now, # or want to exclusively use a callback strategy instead of polling. 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/python -S /cygdrive/f/test-mailman/cron/gate_news
Nope, that is there and uncommented. Nor does it make a diffeence when run manually. I have localhost allowed as per default in INNs readers.conf, and then some special bits to control access to different groups for different users. But the fact that it woerks one way is confusing me; it should work both ways or none AFÅICT (INN newbie though).
/Par
-- Par Leijonhufvud par@hunter-gatherer.org "Those who restrain Desire, do so because theirs is weak enough to be restrained" -- William Blake
Par Leijonhufvud wrote:
Nope, that is there and uncommented. Nor does it make a diffeence when run manually. I have localhost allowed as per default in INNs readers.conf, and then some special bits to control access to different groups for different users. But the fact that it woerks one way is confusing me; it should work both ways or none AFAICT (INN newbie though).
You might try doing a 'mass_catchup'. If somehow the list's usenet_watermark is too high, this will reset it.
It sounds like you shouldn't need to set NNTP_USERNAME or NNTP_PASSWORD in mm_cfg.py, but there may be an issue there. Have you looked in Mailman's fromusenet log for any clues?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mark Sapiro <mark@msapiro.net> [2008.03.27] wrote:
You might try doing a 'mass_catchup'. If somehow the list's usenet_watermark is too high, this will reset it.
Is there a way to do this from the command line? I don't have the list admin password...
BTW, this advice (together with setting the NNTP user and pass rather than trusting the "local is wide open" settings) did the trick for the other lists, now I just have to get the last list -- local group connection to work.
/Par
-- Par Leijonhufvud par@hunter-gatherer.org Feudalism: It's your Count that Votes. Democracy: It's your Vote that Counts. Communism: Your Votes don't Count.
Par Leijonhufvud wrote:
Mark Sapiro <mark@msapiro.net> [2008.03.27] wrote:
You might try doing a 'mass_catchup'. If somehow the list's usenet_watermark is too high, this will reset it.
Is there a way to do this from the command line? I don't have the list admin password...
You could use the site password (set with bin/mmsitepass) to access the GUI, or you could use withlist as in
[mark@sbh16 mailman]$ bin/withlist -l mailman Loading list mailman (locked) The variable `m' is the mailman MailList instance
m.usenet_watermark = None m.Save()
Unlocking (but not saving) list: mailman Finalizing [mark@sbh16 mailman]$
using your own list name instead of 'mailman'. Note that the apparent empty entry following m.Save() is actually control-D (^D - end of file) to exit withlist.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On 3/27/08, Par Leijonhufvud wrote:
Nope, that is there and uncommented. Nor does it make a diffeence when run manually. I have localhost allowed as per default in INNs readers.conf, and then some special bits to control access to different groups for different users. But the fact that it woerks one way is confusing me; it should work both ways or none AFÅICT (INN newbie though).
Mailman connects to the news server as a regular user, not as another server. In other words, it should log in with the userid and password of a specific user. Some news servers direct server-to-user traffic through certain protocols on certain servers, and server-to-server traffic through different protocols to other servers. Make sure you're using the right protocol with the right userid and password, to the right server.
-- Brad Knowles <brad@shub-internet.org> LinkedIn Profile: <http://tinyurl.com/y8kpxu>
participants (6)
-
Brad Knowles
-
David Hláčik
-
Jason Bell
-
Mark Sapiro
-
Par Leijonhufvud
-
Stephen J. Turnbull