Re: hostname in the greeting line
| Newsgroups | gmane.network.sn |
|---|---|
| Message-ID | <2d03.38905f22.e7f64@felicity> |
Gabor Z. Papp ([email protected]) wrote: : | How can I produce a : | 220 hostname.mydomain NNTP server ready. : | output? : I mean dynamically. ;-) Not modifying the source. Statically : I can, but my programming skill level not enough to make a : %s NNTP server ready (hostame->hostname) or what the hell :) Yes, it should be in the docs. You invoke snntpd -S and there will be no greeting, so you can add one yourself. For instance: #!/bin/sh echo "200 news.gzp.org.hu ready^M" exec snntpd -S # End of wrapper -harold