Re:
"Gabor Z. Papp" <[email protected]>
| Newsgroups | gmane.network.sn |
|---|---|
| Organization | gzp.hu |
| Message-ID | <[email protected]> |
[email protected] wrote: | # Another way is to use /usr/bin/printf '200 hi\r\n' This seems to me pretty well :-) nntp() { export PATH=/bin:/home/news/sn/bin:/home/news/bin: export POSTING_OK=1 printf '200 %b.%b NNTP server.\r\n' `hostname` `dnsdomainname` exec /home/news/sn/bin/snntpd -t 0 -S -P /bin/logger -p news.info -t "nntpd" }