🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #71009

Re: switch off duplicate detection

#71009
From: Ingo Freund
Date: Fri, 01 Apr 2005 22:44
78 lines
4792 bytes
Jeffrey M. Vinocur wrote:
> In article <d2jjvi$2m4$1@allhats.xcski.com>,
> Paul Tomblin <ptomblin+netnews@xcski.com> wrote:
> 
>>In a previous article, Ingo Freund <news@freund-hh.net> said:
>>
>>>Sometimes -not very often- we are missing messages in a newsgroup.
>>>Looking for them I find log entries about rejected duplicate messages.
>>>But they definitly *are* different!
> 
> 
> I wish you had posted one of the log entries.  I'm pretty sure
> that what you're seeing is duplication of Message-ID.
> 
> And indeed, if that's the problem, there's no way to "turn off"
> duplicate detection; Message-IDs -must- be unique.  If so, the
> best thing would be to fix the source of the messages, as Paul
> says:
> 
> 
> 
>>You don't want to switch off duplicate detection, you want to fix whatever
>>is assigning message ids to these messages.  Duplicate detection in both
>>news (and email, if you use formail to remove duplicates there) is by
>>message id, and something is giving these two messages the same message
>>id.
> 
> 
> If that's not possible, you can generate different Message-IDs in
> other ways -- but it depends on how these messages are being
> gatewayed into newsgroups.
> 
> 
> There is one possibility not related to Message-ID, which is that
> you have Cleanfeed installed and it is filtering messages as "too
> similar" based on complex criteria.  The log entry will clear up
> this possibility.
> 
> 
Does this mean different mail programs on different machines
have to be synced in generating unique message ids?
The incoming way of our news messages is simple:
sendmail receives them (from about 20 computers) and forwards
(pipes) through a perl pogram called mail2news.
Here are related log entries (ask for more, if needed):

sendmail logs
sending machine:
Apr  1 06:24:30 yyyy postfix/smtp[20437]: B913E5D2: to=<admin.amanda@news.domain.net>, \
relay=news.domain.net[xxx.xxx.xxx.xxx], delay=6, status=sent \
(250 2.0.0 j314OUx5013639 Message accepted for delivery)

receiving machine (also newsfeed):
Apr  1 06:24:32 xxxx sendmail[13639]: j314OU3Y013639: from=<amanda@sending.domain.net>, \
size=6637, class=0, nrcpts=1, msgid=<424CCCFC.MailFPI1E8T0H@sending.domain.net>, \
proto=ESMTP, daemon=MTA, relay=sending.domain.net [xxx.xxx.xxx.xxx]
Apr  1 06:24:36 base sendmail[13661]: j314OUx5013639: \
to="|/usr/local/bin/mail2news.pl domain.admin.amanda", ctladdr=<admin.amanda@news.domain.net> \
(2/0), delay=00:00:06, xdelay=00:00:02, mailer=prog, pri=36927, dsn=2.0.0, stat=Sent

news.notice:
Apr  1 06:24:36 xxxx innd: localhost connected 17 streaming allowed
Apr  1 06:24:36 xxxx innd: localhost:17 closed seconds 0 accepted 0 refused 0 rejected 0 duplicate 0 accepted size 0 duplicate size 0
Apr  1 06:24:36 xxxx nnrpd[13671]: localhost.domain.net (127.0.0.1) connect
Apr  1 06:24:36 xxxx nnrpd[13671]: localhost.domain.net user mail
Apr  1 06:24:36 xxxx nnrpd[13671]: SERVER perl filtering enabled
Apr  1 06:24:36 xxxx innd: localhost connected 17
Apr  1 06:24:36 xxxx innd: localhost:17 closed seconds 0 accepted 0 refused 1 rejected 0 duplicate 0 accepted size 0 duplicate size 0
Apr  1 06:24:36 xxxx nnrpd[13671]: localhost.domain.net post failed 435 Duplicate
Apr  1 06:24:36 xxxx nnrpd[13671]: localhost.domain.net posts received 0 rejected 1
Apr  1 06:24:36 xxxx nnrpd[13671]: localhost.domain.net times user 0.000 system 0.000 idle 0.002 elapsed 0.045
Apr  1 06:24:36 xxxx nnrpd[13671]: localhost.domain.net time 45 idle 37(42) nntpwrite 0(12)

I'm sorry, I can't see the reason for the Duplicate error.
In news.err or news.crit nothing related can be found.

--
Ingo
Technical Details
Message-ID: <3b615rF6fhgtmU1@uni-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!not-for-mail
References: <3b50leF6d2lakU1@uni-berlin.de> <d2jjvi$2m4$1@allhats.xcski.com> <d2k8ke$sdg$1@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <3b615rF6fhgtmU1@uni-berlin.de>
Subject: Re: switch off duplicate detection
Date: Sat, 02 Apr 2005 00:44:10 +0200
From: Ingo Freund <news@freund-hh.net>
References: <3b50leF6d2lakU1@uni-berlin.de> <d2jjvi$2m4$1@allhats.xcski.com> <d2k8ke$sdg$1@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.nntp
Lines: 78
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de bKMyjuXpSz1eMRBZIXNQhwx/GmIeNY08KdktE3nVNtGA==
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: de-DE, de, en-us, en
In-Reply-To: <d2k8ke$sdg$1@puck.litech.org>