Hello,
I have now a running mailman and a running inn news server - only for mailing lists access (news.culte.org)
I try to setup the gateway.
in mailman, I wrote localhost as news server (the two apps are on the same machine) and "test" as test list.
test list works test newsgroup works
when I send a post to the test list, I see it in the news group
but when I post in the newsgroup, I don't see it in the list! "gateway to mail" is ticked in the two lines in the administrative interface
fromusenet log:
s-r:~ # tail /var/lib/mailman/logs/fromusenet May 05 18:10:02 2014 (12680) test watermark: 31 May 05 18:10:02 2014 (12682) test: [1..0] May 05 18:10:02 2014 (12682) nothing new for list test May 05 18:10:02 2014 (12682) test watermark: 31
(there is nothing in the inn logs)
the cron job is active
,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/python /usr/lib/mailman/cron/gate_news
any idea? It should be something obvious I miss :-(
thanks jdd
On 05/05/2014 09:22 AM, jdd wrote:
but when I post in the newsgroup, I don't see it in the list! "gateway to mail" is ticked in the two lines in the administrative interface
fromusenet log:
s-r:~ # tail /var/lib/mailman/logs/fromusenet May 05 18:10:02 2014 (12680) test watermark: 31 May 05 18:10:02 2014 (12682) test: [1..0] May 05 18:10:02 2014 (12682) nothing new for list test May 05 18:10:02 2014 (12682) test watermark: 31
The test list's high watermark for the newsgroup is 31. This means no posts prior to #32 in the newsgroup will be gated to the list.
Use bin/withlist and do the following
$ bin/withlist -l test Loading list test (locked) The variable `m' is the test MailList instance
m.usenet_watermark = None m.Save() <- Cntrl-D to exit Unlocking (but not saving) list: test Finalizing $
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Le 06/05/2014 01:42, Mark Sapiro a écrit :
The test list's high watermark for the newsgroup is 31. This means no posts prior to #32 in the newsgroup will be gated to the list.
ok. I suspected some sort of thing like this
Use bin/withlist and do the following
$ bin/withlist -l test Loading list test (locked) The variable `m' is the test MailList instance
m.usenet_watermark = None m.Save() <- Cntrl-D to exit Unlocking (but not saving) list: test Finalizing $
ouch. I wouldn't have find this myself, great thanks, I will save this for future use also
jdd
Le 06/05/2014 01:42, Mark Sapiro a écrit :
$ bin/withlist -l test
well...I'm cursed :-(
this worked with the test list, but not with the main list!
same symptoms: list is "linux-31"
linux-31 newsgroup works linux-31 mailman list works
post to the list go to the newsgroup
but posts to the newsgroup do not reach the list
fromusenet logs
May 06 08:43:47 2014 (27035) linux-31: [1..12] May 06 08:43:47 2014 (27035) gating linux-31 articles [12..12] May 06 08:43:47 2014 (27035) posted to list linux-31: 12 May 06 08:43:47 2014 (27035) linux-31 watermark: 12
but
/usr/lib/mailman/bin/withlist -l linux-31
do not fix the problem
sorry :-( jdd
On 05/05/2014 11:52 PM, jdd wrote:
but posts to the newsgroup do not reach the list
fromusenet logs
May 06 08:43:47 2014 (27035) linux-31: [1..12] May 06 08:43:47 2014 (27035) gating linux-31 articles [12..12] May 06 08:43:47 2014 (27035) posted to list linux-31: 12 May 06 08:43:47 2014 (27035) linux-31 watermark: 12
but
/usr/lib/mailman/bin/withlist -l linux-31
do not fix the problem
There is no problem with gate_news. gate_news says it delivered all 12 messages from the news group to the list.
What's in Mailman's other logs? Were these posts to news that didn't come from the list in the first place?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Le 06/05/2014 17:10, Mark Sapiro a écrit :
There is no problem with gate_news. gate_news says it delivered all 12 messages from the news group to the list.
well... where are them?
What's in Mailman's other logs? Were these posts to news that didn't come from the list in the first place?
I post on news group and expect posts to show on list. works for test, not for linux-31
jdd
On 05/06/2014 10:58 AM, jdd wrote:
Le 06/05/2014 17:10, Mark Sapiro a écrit :
There is no problem with gate_news. gate_news says it delivered all 12 messages from the news group to the list.
well... where are them?
Actually, I was mistaken. The log messages you posted say only that it delivered message #12.
Have you looked at Mailman's vette, error and qrunner logs for clues as to what may have happened to it?
Note that the log message
May 06 08:43:47 2014 (27035) posted to list linux-31: 12
was written immediately after that message was queued by gate_news in Mailman's incoming queue, so it was "delivered" to the list.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Le 06/05/2014 20:30, Mark Sapiro a écrit :
was written immediately after that message was queued by gate_news in Mailman's incoming queue, so it was "delivered" to the list.
I don't understand what happened really, because the messages where *archived* but not délivered to the list!!
as the newsgroup was nearly empty, I could use m.usenet_watermark = 0 and this seems to have solved the problem
some notes about it here:
http://dodin.info/wiki/index.php?n=Doc.Mailman#toc13
thanks
participants (2)
-
jdd
-
Mark Sapiro