Article View: news.software.readers
Article #217242Re: [Dialog] I need two X-No-Archive Headers
From: MikeV06
Date: Mon, 25 Feb 2008 13:24
Date: Mon, 25 Feb 2008 13:24
63 lines
3467 bytes
3467 bytes
On Sat, 23 Feb 2008 22:54:42 -0500, Oliver Cromm wrote:
> * MikeV06 wrote:
>
>> Does a way to test the beforesending program exist without sending it to
>> the server?
>
> I'm afraid not. I use a local server (Hamster) to test it, so it doesn't
> go to the world.
I tried inserting a NNTP-Posting-Host which causes the ISP to reject the
message. That works except I have found out that what Dialog has in the
Sent folder is not what is transmitted. For example, the message I sent
about Boxquotes shows it failing when I look at the Sent folder, but when
the message is received via the list, it works. Interestingly enough,
however, the header adds do show up in the Sent folder message.
This calls both
,---- [OnBeforeSending]
| begin
| //
| // if result is set to false, sending messages will *always* fail;
| // use this for debugging along with the messagebox.
| //
| result := true;
| //
| // This calls the add XNA: banter procedure
| AddAnyHeader ('X-No-Archive: banter', Message, IsEmail);
| AddAnyHeader ('X-Test: Box', Message, IsEmail);
| //
| if Message.count < 500 then BoxQuote( Message );
| end; // function OnBeforeSendingMessage()
'----
The code should be set off.
I guess the other way would be to post to one of the test groups. But then
one has to wait for the turnaround. I did start using WriteToLog to get
some debugging output.
>> I posted my setup following your suggestion (I think) and now no insert
>> calls are working (addheader and boxquote).
>>
>> I hate to keep sending messages as a means for testing.
>
> You should send test messages to a test group. Any newsgroup whose name
> ends in .test
My thoughts above since forcing a posting failure at the ISP point does not
capture the results correctly in the Sent folder.
>> Do you see anything obvious in the code I posted earlier?
>
> No. Did you compile the OnBeforeSendingMessage script? Did you try
> "reload scripts"?
I have not posted since my testing. With any luck, it will still be
working.
Thank you for the suggestion.
Mike
Technical Details
Message-ID:
<1mmui8i0rhtvm$.dlg@mycomputer06.invalid>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!post01.iad01!news.suddenlink.net!not-for-mailReferences:
<40lhz7pt2tqo.dlg@sqwertz.com> <1td7qgn0qa5kx$.dlg@blackholespam.net> <1l5i97dcyjakx$.dlg@sqwertz.com> <1cfxfs0ud4v2i.dlg@blackholespam.net> <1cq6okvpxxuxn$.dlg@mid.crommatograph.info> <iwlennvzcrnu.dlg@mid.crommatograph.info> <1cylam4sm2sq6.dlg@sqwertz.com> <905abdaxw8qa$.dlg@mid.crommatograph.info> <16xqacy1p2gib.dlg@mycomputer06.invalid> <50hf8orednqc.dlg@mid.crommatograph.info>Show Full Headers
Complete Article Headers
Message-ID: <1mmui8i0rhtvm$.dlg@mycomputer06.invalid> Subject: Re: [Dialog] I need two X-No-Archive Headers Date: Mon, 25 Feb 2008 07:24:52 -0600 From: MikeV06 <me@mycomputer06.invalid> References: <40lhz7pt2tqo.dlg@sqwertz.com> <1td7qgn0qa5kx$.dlg@blackholespam.net> <1l5i97dcyjakx$.dlg@sqwertz.com> <1cfxfs0ud4v2i.dlg@blackholespam.net> <1cq6okvpxxuxn$.dlg@mid.crommatograph.info> <iwlennvzcrnu.dlg@mid.crommatograph.info> <1cylam4sm2sq6.dlg@sqwertz.com> <905abdaxw8qa$.dlg@mid.crommatograph.info> <16xqacy1p2gib.dlg@mycomputer06.invalid> <50hf8orednqc.dlg@mid.crommatograph.info> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!post01.iad01!news.suddenlink.net!not-for-mail Newsgroups: news.software.readers User-Agent: 40tude_Dialog/2.0.15.41 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Organization: None Archive: No X-No-Archive: Yes X-No-Archive: banter X-Test: Box Lines: 63 NNTP-Posting-Host: 74.194.81.60 X-Complaints-To: abuse@suddenlink.net