Thread View: news.software.nntp
3 messages
3 total messages
Started by Andrew Brennan
Tue, 01 Apr 1997 00:00
Mail2News crosspost thoughts.
Author: Andrew Brennan
Date: Tue, 01 Apr 1997 00:00
Date: Tue, 01 Apr 1997 00:00
27 lines
1693 bytes
1693 bytes
Ok ... this is a Q&D approach, but I figured to toss the idea out and see if someone could put a better spin on it. I *need* crossposting as I've just switched a bunch of internal mailing lists over to local newsgroups. There are a number of posters to the mailing lists who only have email access to them, so they won't know what is/isn't posted correctly if I don't rig this for them. (Yeah, ideally this is another "user education" solution, but I hope this to be a more pain-free solution and I don't have *that* much time to read alt.sysadmin.recovery every night :^) Since messages could come in in such a way that I can't detect a crosspost situation until the "article already posted" error has occurred, I could(?) trap the error before anything is sent back to the user ... pull the ID of the message (logged) and lump all of the errors into one (syslog again?). Use the Message-ID to retrieve the post, forge a cancel for it, tweak a new header for the message (with the crossposting) and re-forge a new post. Certainly not elegant, but I think it might work. :^) andrew. (brennan@allegheny.edu)
Re: Mail2News crosspost thoughts.
Author: Steve Lodin
Date: Fri, 11 Apr 1997 00:00
Date: Fri, 11 Apr 1997 00:00
29 lines
1441 bytes
1441 bytes
In article <slrn5k0rv7.q2n.brennan@crashprone.allegheny.edu>, brennan@crashprone.allegheny.edu (Andrew Brennan) writes: > Ok ... this is a Q&D approach, but I figured to toss the idea out > and see if someone could put a better spin on it. > What I've done is to munge the Message ID:. Since each mail -> news article gets processed separately by the mail2news program, I've added the following code to generate a unique Message ID: header: # make the message id unique s/^Message-ID:\s+<(.*)>/Message-ID: <$^T.$1>/; s/^Message-Id:\s+<(.*)>/Message-Id: <$^T.$1>/; $^T is the time (as delivered by "time") when the program started. Probably not elegant either. Steve -- Steve Lodin - Delco Electronics - swlodin@delcoelect.com - (765)451-0479 When all else fails, read the manual.
Re: Mail2News crosspost thoughts.
Author: James Beal
Date: Mon, 14 Apr 1997 00:00
Date: Mon, 14 Apr 1997 00:00
31 lines
1804 bytes
1804 bytes
Steve Lodin wrote: > > In article <slrn5k0rv7.q2n.brennan@crashprone.allegheny.edu>, brennan@crashprone.allegheny.edu (Andrew Brennan) writes: > > Ok ... this is a Q&D approach, but I figured to toss the idea out > > and see if someone could put a better spin on it. > > > > What I've done is to munge the Message ID:. Since each mail -> news > article gets processed separately by the mail2news program, I've added > the following code to generate a unique Message ID: header: > > # make the message id unique > s/^Message-ID:\s+<(.*)>/Message-ID: <$^T.$1>/; > s/^Message-Id:\s+<(.*)>/Message-Id: <$^T.$1>/; > > $^T is the time (as delivered by "time") when the program started. I think it's better to append the current message id with the name of the group the message went to, that way the same transformation can be applied to the reference lines. -- James Beal - Sysadmin, Harlequin Ltd,Barrington Hall,Barrington,Cambridge ,CB2 5RG, UK. Phone 01223 873845 Fax 01223 872519 -------------------------------------------------------------------------- I have great faith in fools.Self-confidence, my friends call it. :E.A. Poe
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