Thread View: news.software.nntp
12 messages
12 total messages
Started by Ingo Freund
Fri, 01 Apr 2005 13:29
switch off duplicate detection
Author: Ingo Freund
Date: Fri, 01 Apr 2005 13:29
Date: Fri, 01 Apr 2005 13:29
22 lines
1719 bytes
1719 bytes
Hi, two years ago I set up a little news environment for our company to collect system messages. This way I could provide those messages to different company members without need to change mail addresses when people changed. 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! This is an example for the subjects (the bodies differ totally): AMANDA MAIL REPORT FOR March 31, 2005 AMANDA MAIL REPORT FOR April 1, 2005 The lost messages are unacceptable. Is it something I can debug? Is there a way to switch off duplicate detection? I'm not really an inn specialist and proud to have this thing running. I would be much happier if all messages arrived. AHA -Ingo.
Re: switch off duplicate detection
Author: Paul Tomblin
Date: Fri, 01 Apr 2005 14:05
Date: Fri, 01 Apr 2005 14:05
25 lines
2098 bytes
2098 bytes
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! >This is an example for the subjects (the bodies differ totally): >AMANDA MAIL REPORT FOR March 31, 2005 >AMANDA MAIL REPORT FOR April 1, 2005 > >The lost messages are unacceptable. > >Is it something I can debug? >Is there a way to switch off duplicate detection? 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. -- Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/ Knuth has written a book called "The errors of TeX". I doubt Microsoft has the money to buy the paper required to print a book called "The errors of Word". -- Abigail
Re: switch off duplicate detection
Author: Jeffrey M. Vinocur
Date: Fri, 01 Apr 2005 19:49
Date: Fri, 01 Apr 2005 19:49
36 lines
2411 bytes
2411 bytes
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. -- Jeffrey M. Vinocur jeff@litech.org
Re: switch off duplicate detection
Author: Ingo Freund
Date: Fri, 01 Apr 2005 22:44
Date: Fri, 01 Apr 2005 22:44
78 lines
4792 bytes
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
Re: switch off duplicate detection
Author: Hannah Schroeter
Date: Fri, 01 Apr 2005 23:27
Date: Fri, 01 Apr 2005 23:27
19 lines
1713 bytes
1713 bytes
Hello! Ingo Freund <news@freund-hh.net> wrote: >> 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. >Does this mean different mail programs on different machines >have to be synced in generating unique message ids? No. Different machines should use different domain parts for the Message-IDs. >[...] Kind regards, Hannah.
Re: switch off duplicate detection
Author: Jeffrey M. Vinocur
Date: Sat, 02 Apr 2005 04:12
Date: Sat, 02 Apr 2005 04:12
17 lines
1627 bytes
1627 bytes
In article <3b615rF6fhgtmU1@uni-berlin.de>, Ingo Freund <news@freund-hh.net> wrote: > >Apr 1 06:24:36 xxxx nnrpd[13671]: localhost.domain.net post failed 435 >Duplicate > >I'm sorry, I can't see the reason for the Duplicate error. >In news.err or news.crit nothing related can be found. As people suspected, that indicates that the Message-ID is the same. If you examine the email versions of the messages in question, do you see the Message-IDs being the same? -- Jeffrey M. Vinocur jeff@litech.org
Re: switch off duplicate detection
Author: Ingo Freund
Date: Sat, 02 Apr 2005 11:04
Date: Sat, 02 Apr 2005 11:04
23 lines
1986 bytes
1986 bytes
Jeffrey M. Vinocur wrote: > In article <3b615rF6fhgtmU1@uni-berlin.de>, > Ingo Freund <news@freund-hh.net> wrote: > >>Apr 1 06:24:36 xxxx nnrpd[13671]: localhost.domain.net post failed 435 >>Duplicate >> >>I'm sorry, I can't see the reason for the Duplicate error. >>In news.err or news.crit nothing related can be found. > > > As people suspected, that indicates that the Message-ID is the > same. If you examine the email versions of the messages in > question, do you see the Message-IDs being the same? > > I have checked all mail logs back to July 2003 on the receiving machine. grep didn't find any corresponding message id. Is it possible to get more information from inn to check why it states a message "Duplicated"? -- Ingo.
Re: switch off duplicate detection
Author: Dr.Ruud
Date: Sat, 02 Apr 2005 11:54
Date: Sat, 02 Apr 2005 11:54
27 lines
2125 bytes
2125 bytes
Critical flaws in IE and Outlook discovered: http://news.zdnet.com/2100-1009_22-5650238.html?tag=nl.e589 Ingo Freund schreef: > 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. Are the Message-IDs reused from the incoming messages? Maybe some of the 20 computers use the same domain-name in the righthand-side of the Message-IDs? Give each of the computers its own FQDN, or let sendmail (or your mail2news) rename the current Message-ID header to something like X-Original-Message-ID, and generate a fresh (and unique) one. That might be an existing option of your mail2news. -- Ruud My other computer is your Windows box.
Re: switch off duplicate detection
Author: Ingo Freund
Date: Sat, 02 Apr 2005 15:31
Date: Sat, 02 Apr 2005 15:31
31 lines
2135 bytes
2135 bytes
Dr.Ruud wrote: > Critical flaws in IE and Outlook discovered: > http://news.zdnet.com/2100-1009_22-5650238.html?tag=nl.e589 > > Ingo Freund schreef: > > >>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. > > > Are the Message-IDs reused from the incoming messages? > > Maybe some of the 20 computers use the same domain-name > in the righthand-side of the Message-IDs? > no, they are all configured as they have to be with FQDN > Give each of the computers its own FQDN, or let sendmail > (or your mail2news) rename the current Message-ID header > to something like X-Original-Message-ID, and generate a > fresh (and unique) one. That might be an existing option > of your mail2news. > that might be an option, but as I showed already, nowhere in my sendmail logs are duplicate ids, why does inn know it better? -- Ingo
Re: switch off duplicate detection
Author: Dr.Ruud
Date: Sat, 02 Apr 2005 16:07
Date: Sat, 02 Apr 2005 16:07
18 lines
1570 bytes
1570 bytes
Ingo Freund schreef: > as I showed already, nowhere > in my sendmail logs are duplicate ids, why does inn know > it better? Does mail2news already change the Message-ID? If you are not sure, do you have an URL of the code? What does it do with the parameter domain.admin.amanda? -- Ruud My other computer is your Windows box.
Re: switch off duplicate detection
Author: Ingo Freund
Date: Sat, 02 Apr 2005 20:08
Date: Sat, 02 Apr 2005 20:08
24 lines
1778 bytes
1778 bytes
Dr.Ruud schrieb: > >>as I showed already, nowhere >>in my sendmail logs are duplicate ids, why does inn know >>it better? > > > Does mail2news already change the Message-ID? I can't find anything in the code concerning the id. > > If you are not sure, do you have an URL of the code? I put it on my webserver (it is online only for testing): https://isdngw.dnsalias.net/mail2news.pl > What does it do with the parameter domain.admin.amanda? > As far as I know it is used to identify the destination newsgroup. -- Ingo
Re: switch off duplicate detection
Author: Ingo Freund
Date: Sat, 02 Apr 2005 20:24
Date: Sat, 02 Apr 2005 20:24
21 lines
1747 bytes
1747 bytes
Dr.Ruud schrieb: > >>as I showed already, nowhere >>in my sendmail logs are duplicate ids, why does inn know >>it better? > > > Does mail2news already change the Message-ID? > I think I found the bugs in the mail2news code. They are the commented unlink statement at the end. The files remain and if the pid which is used for file extension is the same, the post is appended. In those cases of course the message id is a duplicate. Sorry for using your time, I should have taken a better look into the code. -- Bye - Ingo.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads