ossp-pkg/lmtp2nntp/00TODO 1.47 -> 1.48
--- 00TODO 2001/11/14 13:55:45 1.47
+++ 00TODO 2001/11/15 09:57:40 1.48
@@ -42,3 +42,36 @@
$ ./.configure [wegen --with-dmalloc!]
$ dmalloc -l dmalloc.log
$ dmalloc debug3
+
+ **** DEVELOPMENT INFORMATION ****
+
+ I want to ask how cross posting to multiple lists are handled. For example:
+ User posts to the following two lists which are both mail to news gateways:
+ listone@lists.org -> lists.listsone
+ listtwo@lists.org -> lists.listtwo
+ Obviously both messages will have an identical Message-ID header of which
+ nntp will reject one of the two posts. Ideally this would be caught and
+ the message would be cross posted to both lists.listsone and lists.listtwo
+ groups.
+
+ Proposal for using -h Newsgroups:${To:s/SEARCH/REPLACE/} with SEARCH/REPLACE
+ being the following regex:
+ perl -e '$_="foo\@bar\nFoo Bar <foo\@bar>\nfoo\@bar (Foo Bar)\n<foo\@bar> Foo Bar\n(Foo Bar) foo\@bar\n";
+ foreach $a (split(/\n/, $_)) { $n=$a;
+ $n=~s/^(?:([^@<>()]+)@[^<>()]+|.*<([^@]+)@[^>]+?>.*|.*?([^@ <>()]+)@[^ <>()]+.*)$/$1$2$3/;
+ print "$a->$n\n" };'
+ 1.) OSSP var needs autoconf environment
+ 2.) OSSP var needs RPM-style [] multivalue expansion
+ 3.) include OSSP var
+ 4.) splitting headers needs to extend known headers into multiple instances
+ 5.) joining headers needs to merge known headers into single instances, delete headers w/o value
+ 6.) add -f configfile option in a mini-library #comments, command[\svalue]
+ Result is:
+ duplicate Reply-To: headers are eleminated by 5.)
+ empty Subject: headers can be handled by -h Subject:${Subject:-empty}
+ missing Message-Id: headers can be handeld by -h Message-Id:${Message-Id:-$_CreateMessageId}
+ illegal Message-Id: two or more @ use -h ${Message-Id:s/^.*@.*@.*$/$_CreateMesssageId/}
+ illegal Message-Id: no @ use -h ${Message-Id:s/^[^@]*$/$_CreateMesssageId/}
+ crossposting problem -h [Newsgroups:see perl example above and use feature 2.)\n]
+ potential to merge post/header modes -h [Newsgroups:${_EnvelopeRCPT}\n]
+
|
|