🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Larry James Sun, 13 Apr 1997 00:00
Customizing the nnrp connect message
#16940
Author: Larry James
Date: Sun, 13 Apr 1997 00:00
15 lines
1120 bytes
     Does anyone know if there is a way to customize the nnrp message
that one gets when he connects.  I would particularly like to customize
the refusal message that one gets when they attempt to use the port.
     Thanks in advance for any suggestions, comments, or responses.
 
				-- Larry

--
----------------------------------------------------------------------
Apollo III Communications      (Buffalo's First ISP)       Larry James 
716-896-0738 Office       716-896-0766 Fax       Consultant/Programmer
http://www.apollo3.com/~ljames  ljames@apollo3.com   Buffalo, New York

Re: Customizing the nnrp connect message
#16941
Author: Supak Lailert
Date: Sun, 13 Apr 1997 00:00
18 lines
1245 bytes
Larry James <ljames@apollo3.com> wrote:
:      Does anyone know if there is a way to customize the nnrp message
: that one gets when he connects.  I would particularly like to customize
: the refusal message that one gets when they attempt to use the port.
:      Thanks in advance for any suggestions, comments, or responses.

It's right there in nnrpd/nnrpd.c. You can edit the source and recompile
and that should be it.

Supak

--
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
   >> Supak Lailert -- lailert@slip.net                               >>
  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Re: Customizing the nnrp connect message
#17122
Author: Steve Lodin
Date: Fri, 18 Apr 1997 00:00
26 lines
1458 bytes

In article <5ipb2s$ek9@hera.apollo3net.net>, ljames@apollo3.com (Larry James) writes:
>      Does anyone know if there is a way to customize the nnrp message
> that one gets when he connects.  I would particularly like to customize
> the refusal message that one gets when they attempt to use the port.
>      Thanks in advance for any suggestions, comments, or responses.

I did that.  It was fairly easy, just modify one file.


The response strings are located in include/nntp.h for you to modify:

#define NNTP_CANTPOST                   "440 Posting from unregistered hosts not
 allowed.  Contact news@news.delcoelect.com for information."



Steve
-- 
Steve Lodin - Delco Electronics - swlodin@delcoelect.com - (765)451-0479

"We're so glad the dog is dancing, we fail to notice that it is rabid."
Bill Cheswick of AT&T Bell Labs regarding their Internet connection

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