home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / PPPBCKP / SRC / SRC15B56.ZIP / CHANGES.DOC next >
Text File  |  1997-10-25  |  46KB  |  1,018 lines

  1. Beta-56
  2.  
  3.     - Dropped the NETWORK stklen back to 6K as this most certainly was causing
  4. the failure to update CONTACT.NET problem on some systems.  Redesigned spawn
  5. routine not to allocate as much memory for the commandline arguments passed,
  6. which should lessen the stack requirements.  (We know the maximum number of
  7. commandline arguments passed to the spawn routine in advance, so there was no
  8. need to allocate a character array for 50 possible arguments!)
  9.  
  10.     - Hooked in calls to NETWORK1/2/3 to clean up pending packets completely
  11. before and after runtime.  The reduced overhead on the spawn routine should
  12. allow this to process without any problems.
  13.  
  14.     - Major revelation!  After looking closely at RFC 821, I realized I was
  15. misinterpreting the SMTP "MAIL" directive as inherently intertwined with the
  16. header "From:" field.  This is not the case -- the header is sent separately
  17. and does not need to reflect the "MAIL" directive used in the SMTP session.
  18. POP will now use a simple focus "Mail From:<mybbs@mydomain.com>" during SMTP
  19. send, while preserving any extended user information on the message From:
  20. header line.  Outbound mail now appears as:
  21.  
  22.                 From: User Name <mybbs@mydomain.com>
  23.  
  24. This should significantly improve the ability of most mail readers to respond
  25. to a message originated on the BBS (and increase the possibility that the
  26. response will go to the right mailbox!)  It also eliminates SMTP problems
  27. caused by forcing the extended user information into the "MAIL" directive.
  28.  
  29.     - Added a properize() routine to the outbound mail name, so it appears as
  30. it should, e.g. "Old MacDonald", "Mary Jones-Smith", etc.
  31.  
  32.     - Added a SPAM filter for news retrieval.  Create NOSPAM.TXT in the FILEnet
  33. directory with keywords to be compared (case-insensitive) against the subject
  34. and originator of each newsgroup article during retrieval.  NOSPAM.TXT should
  35. have one entry per line, e.g.
  36.  
  37. fast cash
  38. phone sex
  39. toni@spaclab.net
  40. 6t9.com
  41. $$$$
  42.  
  43. If there's a match, the message is skipped during retrieval.  The delay in
  44. parsing even a 100 line NOSPAM.TXT is insignificant compared to the time saved
  45. by not retrieving the spam!  (In other words, the comparison is pretty quick!)
  46. The check is bypassed if BINXPOST=Y in NET.INI or if NOSPAM.TXT does not exist
  47. in the FILEnet directory.
  48.  
  49. Beta-55
  50.  
  51.     - Eliminated stack overflow checking from makefile compile options which
  52. should speed up code execution (and reduce the size of executables somewhat).
  53.  
  54.     - Allocated a sockets structure in NTIME to prevent corruption across the
  55. heap (which may have caused lockups when the socket couldn't be created).
  56.  
  57.     - Changed POP to recognize FDL-type email, even if ALLMAIL=N.  Basically,
  58. if "FDL Type:" is found in the top portion of a message, it's assumed to be an
  59. file hatched via FDL, and it will be retrieved normally.
  60.  
  61.     - Changed disk space check to a Win95-friendly routine provided by Papa
  62. Bear (which allowed me to recast variables as long, vice double as was used in
  63. Wayne's disk-check routine!)
  64.  
  65.     - Increased stklen in POP (6K vice the 4K default) to address the problem
  66. with some systems hanging on file transfers.
  67.  
  68.     - Changed to tcp_tick(NULL) vice tcp_tick(Mail_Socket *).  This was changed
  69. between B-53 and B-54 and may have been the cause of lockups during SMTP send.
  70.  
  71.     - Fixed failed checks for a modified directory structures.  Dawg pointed
  72. out that I was closing the DIRS.DAT file handle before I got the length!
  73.  
  74.     - Changed to far calls for memory allocation for copyfile() and NET.LOG
  75. update routines.  This is what I would've preferred all along, but stack and
  76. other errors kept chasing me back to the standard allocation calls.
  77.  
  78. Beta-54
  79.  
  80.     - Killed redundant code in the CONTACT.NET update routine.  This should fix
  81. the unpredictable results for total time/bytes in //PENDING output.
  82.  
  83.     - Removed a one-second delay after each message was received via POP.  This
  84. was added just before B-53 and may have generated problems where POP hung when
  85. retrieving messages.
  86.  
  87.     - Cleaned up zero byte packets created during news retrieval before these
  88. are renamed to valid pending network packets.  This will preclude the network
  89. software from finding/processing them.
  90.  
  91.     - Fixed EXP routine which was stripping spaces from the REPLYTO address in
  92. NET.INI.
  93.  
  94.     - Spam-proofed the Message-ID field in newsgroup posts.  Previously, this
  95. required field had been composed using the real account name and domain.  It
  96. now uses the account name and WWIV-BBS.
  97.  
  98.     - Added BINXPOST=Y/N to NET.INI.  When <Yes>, it bypasses the check for max
  99. crossposts on binary newsgroups (must have 'binaries' in name).  This allows
  100. you to spool all messages from binary groups, regardless of crossposting.
  101.  
  102.     - Fixed overwriting display of "Expired Article." and other skipped posts
  103. during news retrieval.
  104.  
  105.     - Added a tcp_tick() call in postnews() where it could potentially die
  106. waiting for a response from the news host after posting.  (This won't speed up
  107. the server's response, but it will allow the program to exit gracefully!)
  108.  
  109. Beta-53
  110.  
  111.     - Fixed a quirk which caused NEWSRC to be retrieved entirely on subsequent
  112. runs on a new month or a forced update.
  113.  
  114.     - Changed display of expired and skipped articles to remain on a single
  115. line during retrieval.
  116.  
  117.     - Recast newsgroup count variable from a short to long integer.  For ISPs
  118. with more than 32,767 newsgroups (!), this caused the display to corrupt while
  119. retrieving a NEWSRC listing.
  120.  
  121.     - Figured out the CONTACT.NET update problem (finally!).  Somehow, in B-42,
  122. the structure for net_networks_rec had a far pointer declaration removed for
  123. two variables which control that relationship.  Yeesh...
  124.  
  125.     - Recompiled under Borland C++ v3.1... have now got TC3/BC3/BC4 installed
  126. for a broad selection!
  127.  
  128. Beta-52
  129.  
  130.     - Recompiled with Turbo C++ v3.0 instead of Borland C++ v4.52 which
  131. returned a significant amount of memory (25K) to the program.  Some of that
  132. was immediately used to increase NETWORK's stklen to 15K (in the hope that
  133. it preserves enough space to update CONTACT.NET for everyone!)
  134.  
  135.     - #defined a macro for min() in UU.C in order to use .cpp mode with
  136. compilers earlier than BC4.
  137.  
  138.     - Added self-maintaining routine to update NEWSRC with each news callout.
  139. A full NEWSRC listing is retrieved the first of each month, and updates are
  140. retrieved daily.
  141.  
  142. Beta-51
  143.  
  144.     - Returned to previous method of enclosing recipient information entirely
  145. within the focus during SMTP relay, e.g.
  146.  
  147.                 To:<user@whatever.domain (User Information)>
  148.  
  149. The changes in B-50 didn't resolve the QMail imcompatibility problem.  Adding
  150. USERMAIL=N to NET.INI bypasses extended user information and should allow it
  151. to cooperate with QMail.  (Alternately, use 138.145.3.3 for SMTP relay!)
  152.  
  153.     - Now deletes "441 Duplicate messages" during postings.  You should never
  154. see these, except when the NEWS times out during posting, in which case the
  155. duplicate message is genuine, i.e. the first message did get posted.
  156.  
  157.     - Nailed the culprit causign NEWS lockups!  I wasn't allocating enough
  158. room for a buffer when extracting information from the header, particularly
  159. the "Newsgroups:" and "Path:" fields.  This was most evident on binary groups
  160. with lots of crossposts.  When the buffer overflowed, it crashed!
  161.  
  162.     - Changed source modules to .cpp extension to force stricter bounds check
  163. and typecasting.  Got rid of POP.H and #defined what we need explicitly within
  164. the POP and NEWS modules, including Mail_Socket structures.
  165.  
  166.     - Changed most conditional routines within NEWS to switch() statements in
  167. order to track/detect socket errors more accurately and quickly.  It seems to
  168. respond flawlessly here now! :)
  169.  
  170.     - Chased my tail for a few days figuring out why the certain NEWS routines
  171. appeared to be called improperly (and overwrote memory areas allocated for
  172. other things, including the sockets!)  Turned out a global string variable was
  173. oversized at 4096 bytes (on the static heap!)  RFC 977 provides a maximum of
  174. 512 bytes for returned strings in NNTP, so that's how we're now cast.
  175.  
  176.     - Added checks to ensure the socket was alive in NEWS and POP using the
  177. Waterloo tcp_tick() routine.  Hopefully, this obviates extended periods where
  178. the server falls asleep!  Ensure "INACTIVE" and "SOCK_DELAY" in NET.INI aren't
  179. excessive.  (INACTIVE=60 and SOCK_DELAY=30 are appropriate.)
  180.  
  181.     - Returned makefile options used in B-39 to see if that solves problems on
  182. some systems with memory allocation routines, e.g. allocating for sockets.  One
  183. of the flags was for a standard stack frame.  I think this should fix the case
  184. where the POP mailbox wasn't checked unless there was outbound SMTP.
  185.  
  186.     - Revamped the BAD*.UUE check for mail originating locally, so it accepts
  187. mail in which the original message had been quoted and the original "From:"
  188. line appeared in text.  (Some mail systems, like cc:Mail, quote with just a
  189. separator line, leaving the original "From: you@where" in tact.)  It now looks
  190. only in the header for a match to determine if it's BAD*.
  191.  
  192.     - Added a definable Reply-To: field in NET.INI.  If defined, this address
  193. (up to 80 characters) will be used in the text of newsgroup posts.  It can be
  194. something like:
  195.  
  196. REPLYTO = edare{at}ix{dot}netcom{dot}com (change before responding!)
  197.  
  198.     - Fix from Zu Digital revamps NEWSNAME/NEWSPASS logic.  His local POP for
  199. Mindspring required authentication when the socket was initially opened, so the
  200. NEWSNAME and NEWSPASS are now presented at time of connection.  If your host
  201. does *not* require authentication, you *must* comment out the NEWSNAME and
  202. NEWSPASS lines in NET.INI, otherwise you'll get authentication errors!
  203.  
  204.     - Tweaked the socket error label completely in NEWS, so it does a clean
  205. exit when timeouts and session errors occur.
  206.  
  207.     - Changed the use of the "abort" variable while saving the text body in
  208. NEWS articles so it didn't chop off the message (stop writing it) after a
  209. [Space] or [Esc] command was issued.  The message now gets completed and
  210. processed normally as the last message read in that group.
  211.  
  212.     - Added a time synchronization routine (NTIME.EXE) which sets your DOS
  213. clock using a time server.  If you are unsure of your time server, use the one
  214. in the example below.  If the TIMEHOST is not defined in NET.INI or NTIME.EXE
  215. isn't in the BBS main directory, this routine will be skipped.  Add the
  216. following to NET.INI, below the SMTPHOST definition:
  217.  
  218.         TIMEHOST = ns.nctsw.navy.mil
  219.  
  220.     - Enhanced directory checking when receiving file so it places non-FDL
  221. files in the defined NOREQUEST_DIR in FDLFTS.CFG.  (If FDLFTS.CFG isn't there
  222. or the flag isn't defined, it will go to Sysop directory.)  Also, fixed a
  223. place where it wouldn't have found FDLFTS.CFG under normal circumstances.
  224.  
  225.     - Saw a first today -- a 0 octet (no size!) message was queued in my POP
  226. mailbox.  This returned a '0' to the calling routine (which uses the size), so
  227. I added code to delete it, close and update the mailbox when this happens.
  228.  
  229.     - Revised NEWS packet naming method to pass a complete filename to the
  230. routine which saves the message body.  In this manner, nothing in memory should
  231. corrupt the contents.  Added a "wait_closed()" upon error just in case.
  232.  
  233.     - Shortened up some oversized global variables in NETWORK to keep stack
  234. requirements below the default 4K.
  235.  
  236.     - Changed the display on total mailbox size to conform to the same display
  237. as sent SMTP messages, i.e. "(nnK)" vice "(nnnnn bytes)".
  238.  
  239.     - Removed a spurious "Maximum posts -" output string when retrieving binary
  240. groups.  (The max articles check in //BOARDEDIT is bypassed on binaries!)
  241.  
  242.     - Standardized/prettied up some displays when sending/receiving POP/SMTP
  243. messages.
  244.  
  245. Beta-50
  246.  
  247.     - Added a USERMAIL=Y/N option to NET.INI (see SAMPLE.INI).  This option
  248. bypasses the creation of an extended address form, i.e. the (USERNAME) which
  249. follows the user@domain in the originator field.
  250.  
  251.     - Changed the way RCPT TO passes recipient addresses during SMTP to conform
  252. to RFC, as I now understand it.  The MTA portion now relays outbound messages
  253. with any extended information outside of the wrapper, e.g.
  254. "RCPT TO:<user@whatever.domain> (extended_user_info)".
  255.  
  256.     - Incorporated Goose's fixes to stop NEWS crashing by waiting until the
  257. socket is closed before exiting.  Without this wait, there was still junk
  258. coming in the socket, even after the program exited!
  259.  
  260.     - Another Goose fix to address PPPSTATE error #255, by waiting two seconds
  261. to allow the PPP TSR to load and exit before running PPPSTATE, eliminating the
  262. possibility that PPPSTATE erroneously found no memory available.
  263.  
  264.     - In UU, added a routine to ensure the directory path for uploads to
  265. Sysop directory were explicit, e.g. "C:\WWIV\DLOADS\SYSOP" vice "DLOADS\SYSOP"
  266. (which is allowable on the BBS, but dangerous in external file operations!)
  267.  
  268.     - Eliminated an attempt to "QUIT" the POP session when encountering an
  269. error at initial connection.  (This meant the path was bad or the host was
  270. unavailable, therefore the "QUIT" command is unanswered, anyway!)
  271.  
  272.     - Added a QUIT directive during POP sessions where there is a clear fail
  273. returned to the client, e.g. bad mailbox or password, etc.  This is a nicety
  274. for our ISPs, so we always "clean up" after our POP session.
  275.  
  276.     - Now creates a backup of NEWS.RC at runtime as NEWS.BAK (in the FILEnet
  277. directory).  This was requested as a means of ensuring last read message
  278. pointers don't get trashed/lost as easily.
  279.  
  280.     - Modified the logic in an aborted NEWS sessions so the host would clear
  281. remaining buffers before returning to the calling routine, i.e. to empty the
  282. contents of any inbound stream so no junk got carried back!
  283.  
  284.     - Removed spurious "as UNK*.UUE" display when Internet mail is received
  285. and moved from the INBOUND to SPOOL directories.
  286.  
  287.     - Another Goose fix to prevent terminating an already null string in the
  288. treat() routine inside NEWS (causing the "attempt to access memory area already
  289. in use" error under some operating systems).
  290.  
  291. Beta-49
  292.  
  293.     - Oops... had a 50/50 shot and picked wrong!  Have now standardized memory
  294. allocation using malloc() calls vice farmalloc() calls, as was the case in B-39
  295. (which appears to have worked properly in retrieving mail!)
  296.  
  297.     - Again, changed the way the net_data variable is handled throughout NEWS.
  298. Last attempt caused more problems than it solved!  :(
  299.  
  300. Beta-48
  301.  
  302.     - Standardized memory allocation for the sockets in all modules.  This
  303. should address the problem of not picking up mail unless there's outbound
  304. mail to send.
  305.  
  306.     - Nailed down the variable overrun in NEWS causing abnormal exit after a
  307. line of garbage, i.e. "Can't create temporary packet <garbage>\INPUT1.MSG".
  308. The contents of a global variable ("net_data" which points to the network
  309. data directory) were getting trashed!
  310.  
  311.     - Redid NET.LOG update routine.  No longer reads entire existing file,
  312. line-by-line, but rather allocates the file as a memory block and writes the
  313. block after the additional entry is added to the top.  Measurably faster.
  314.  
  315.     - Added additional error checking to copy/move operations to prevent lost
  316. files.  Now ensures the directoryrec is unmodified before reading/uploading
  317. received files.  If modified directoryrec, e.g. filepoints, the files are kept
  318. in CHECKNET, as before.
  319.  
  320.     - Removed the unnecessary "Path:" field in email.  (This is used solely
  321. for Usenet posts in determining whether an article originated on the local
  322. system and should, thus, be skipped during retrieval.)
  323.  
  324.     - Added an "X-Reply-To:" field for hosted mailing lists to assist in
  325. allowing responses to the list from mailers which don't support the extended
  326. parentheses addressing.  The field is formatted using the originator, domain
  327. and mail list subtype, e.g. "MAILTYPE <user@whatever.domain>".
  328.  
  329. Beta-47
  330.  
  331.     - Fixed lost cursor after exiting news.
  332.  
  333.     - Recast strings in NEWS to 1024 bytes vice 512 and cast the temporary
  334. packet name as static, hopefully to prevent the overrun on some subjects
  335. (which bled into the temporary packet name!)
  336.  
  337.     - Added support for a secondary DNS.  Add "SDNS=<IP address>" under the
  338. current DNS (primary) tag in NET.INI.
  339.  
  340.     - Went back to standard malloc() calls for allocating memory for the
  341. sockets.  I had mismatched these in POP in B-46.
  342.  
  343.     - Added an explicit call to close the input file before proceeding in UU.
  344. This should eliminate any sharing violations, such as across a LAN.
  345.  
  346. Beta-46
  347.  
  348.    - Tweaked much more and built in lots of error checking into POP and NEWS,
  349. particularly.  Think we've got all potential lockups fixed.
  350.  
  351.    - Changed returned values in NEWS to standard, i.e. 0 or less for error
  352. and a positive integer for success.  This allowed me to standardize the
  353. sock_err routine for more accurate responses to socket problems.
  354.  
  355.    - Added internal FDL processing to UU.EXE.  For FDL feeds received via
  356. Internet mail, UU now puts them directly into the BBS (rather than using
  357. DE555.EXE) to keep the description and FDL type together with the file.
  358.  
  359.     - Added a "SLAVE" directive to NEWS before any transactions.  On some
  360. NNTP servers, the SLAVE command is used to give priority treatment to a
  361. connection, on the premise it's a "slave server" rather than a user.
  362.  
  363. Beta-45
  364.  
  365.     - B-44 was a lemon!  I distributed the wrong executables with the archive,
  366. and immediately after I found problems in error handling!  These caused nearly
  367. certain death crashes!
  368.  
  369.     - Fine-tuned error handling again.  (Found a condition which returned a
  370. (null) SMTP reply, which gave me something to work with!  This version really
  371. does respond to errors!
  372.  
  373. Beta-44
  374.  
  375.     - Returned to standard stack size (4K) in all modules.  These tweaks
  376. appear to have addressed only tertiary problems.  Reduced runtime memory
  377. requirements by about 20K.
  378.  
  379.     - Went back to basics on POP, starting with the core code of B-32 and
  380. progressing through the more recent changes.  Tweaked fallthroughs on socket
  381. errors.  Found an area where an attempt to close an open file would causing
  382. sharing violations.
  383.  
  384.     - Fixed a problem which incorrectly identified a quoted response to mail
  385. as BAD*.UUE (because it found the original "From:" line from the originating
  386. system).  It will now only perform a "bad" match that if the "From:" line is
  387. part of the new header.
  388.  
  389.     - Fixed a situation which has existed since the project began!  ALLMAIL
  390. wasn't honoring "ALLMAIL=N" if it detected the message as any type of UUE.
  391. This caused graphics files, archives and other UUEs to be retrieved, despite
  392. the ALLMAIL setting.  Thanks to Robert Kish for pointing this out (and anyone
  393. who may have in the past, although I didn't catch it!)
  394.  
  395.     - Corrected a problem which generated hard locks on NEWS retrieval (again
  396. in the sock_err handling! :(
  397.  
  398.     - Returned to linear display of sent/received messages, so now all
  399. transfers appear on a single line (for viewing at runtime).
  400.  
  401.     - Removed *lots* of unnecessary static data from NEWS (which is what
  402. allowed the return to default stack size!)  Now carrying the same mail socket
  403. allocation globally through routines, as opposed to one static allocation.
  404.  
  405.     - Killed the cstat() routine.  This returned the article-ID for any given
  406. article, but we weren't using that anywhere.  (I also suspect this is what
  407. caused the NEWS retrieval to randomly skip to the last message in the group!)
  408.  
  409. Beta-43
  410.  
  411.     - Squashed a nasty bug in POP which would cause SMTP to hang.  While I
  412. was in there, I tweaked the "sock_err:" label (the fallthrough for Waterloo
  413. problems), and it now appears to be more responsive now to errors.
  414.  
  415.     - Squashed a bug in the export() routine which caused a hard lock when
  416. certain types of messages were exported.  While I was in there, I tweaked
  417. handling of pipe codes and soft returns.
  418.  
  419. Beta-42
  420.  
  421.     - Changed the Path: field for newsgroups to use the FWDNAME and FWDDOM
  422. parameters if specified in NET.INI.
  423.  
  424.     - Removed closes to non-open files in the UU routines.
  425.  
  426.     - Added support for the "X-Sender:" parameter when EXP parses mailing
  427. list headers.
  428.  
  429.     - Re-fixed the problem where outgoing messages would be considered
  430. duplicates because the Message-ID field was the same as another message.
  431.  
  432.     - Made a change to the header detection logic to fix a problem where
  433. message text would sometimes be marked as hidden lines.
  434.  
  435.     - Removed the EXP limit of 14 mails processed at a time.  The problem of
  436. "too much mail" or "duplicate posts" was fixed in the previous beta.
  437.  
  438.     - Removed the code that tried to unload PPP.EXE if it returned an error
  439. code of "not loaded".
  440.  
  441.     - Fixed a longstanding problem with NEWS routine chead() which caused a
  442. premature "End of new messages" while scanning newsgroups.
  443.  
  444. Beta-41
  445.  
  446.     - Fixed problem in UU which caused received archive files (ARC-*.UUE) to
  447. remain in INBOUND.  (EXP decoded them repeatedly as SOME.MSG, SOME.001, etc.)
  448.  
  449.     - Rewrote max posts on sub lookup routine to solve problem with incorrect
  450. article number returned during news retrieval (which often caused only last
  451. message to be retrieved).
  452.  
  453.     - Allocated memory for POP and SMTP sockets on far heap (to match the
  454. method used in NEWS, which has been working successfully!)  Hopefully, this
  455. fixed the problem which caused POP to find no mail on host (when, in fact,
  456. there was mail waiting).
  457.  
  458.     - Added a second call to resolve SMTP host via DNS (mainly to compensate
  459. for slow nameservers).  This should reduce the occurrence of the "SMTP Socket
  460. failure" errors during outbound mail delivery.
  461.  
  462.     - Updated contact information in header to my new ix.netcom.com address.
  463. (This actually happened in B-39 or B-40, but wasn't noted in CHANGES.DOC!)
  464.  
  465. Beta-40
  466.  
  467.     - Returned to some known good values for stack (B-32 and B-34).
  468.  
  469.     - Cleaned up excess variables in various modules.
  470.  
  471.     - Fixed [Spacebar] group skip during news retrieval so it responds when
  472. someplace else than message retrieval.
  473.  
  474.     - Fixed a couple bad read-write opens for CONFIG.DAT -- shouldn't have
  475. been doing that.
  476.  
  477. Beta-39
  478.  
  479.     - Added a "Path" field to outbound articles.  This will now be used to
  480. track whether articles originated locally (and are skipped during retrieval),
  481. instead of the "Organization" field in previous versions.  This was required
  482. because some news servers assign their own Organization field.
  483.  
  484.     - Strips pipecodes and heart colors from newsgroup articles during
  485. export process (including titles, which got lost a few betas ago!)
  486.  
  487.     - Compiled with stack checking, hopefully to narrow down the problems
  488. associated with low stack.  If you receive any warnings, please advise me.
  489.  
  490.     - Fixed a problem which caused "441 Duplicate Article" responses for
  491. newsgroup posts (resulting from exported articles during the same second).
  492.  
  493. Beta-38
  494.  
  495.     - Played with the _stklen a bit more to tweak varying requirements among
  496. several systems reporting problems with B-36/37.
  497.  
  498. Beta-37
  499.  
  500.     - Distributed wrong NETWORK.EXE with Beta-36!
  501.  
  502. Beta-36
  503.  
  504.     - Changed stack length declarations in the main and support modules to see
  505. if that fixes symptoms of no stack, i.e. lockups after NEWS runs, etc.
  506.  
  507.     - Repositioned the file pointer close routines in UU so all files were
  508. closed prior to copying/moving/deleting (to fix reported sharing violations).
  509.  
  510. Beta-35
  511.  
  512.     - Supports outbound mailing lists (i.e. hosted lists).  Create a file
  513. M<subtype>.NET for the list of recipients (subscribers) to your list.
  514.  
  515.     - Handles CONTACT.NET update without allocating memory on the heap, which
  516. caused insufficient memory errors in Beta-33/34 on several systems.
  517.  
  518.     - Now is case-insensitve while matching the mailing list owner fields
  519. (in NET.INI) for mailing lists you belong to.
  520.  
  521.     - Uses the actual date from articles and mail, if one is found.
  522.  
  523.     - Replaces soft returns (from QWK packets) with normal returns.
  524.  
  525. Beta-34
  526.  
  527.     - Hopefully, a fix for memory allocation routines on CONTACT.NET update
  528. by allocating/deallocating memory each time CONTACT.PPP (the pointer files to
  529. your Internet connections) is created.
  530.  
  531.     - Changed the method for outbound packet naming, eliminating the one
  532. second delay between encoding each packet.  That should run appreciably
  533. faster now.
  534.  
  535.     - Stuck in support for the "Sender:" parameter when EXP parses mailing
  536. list headers (requested by Eileen Stone).  This is Goose's realm, but it
  537. seemed like an easy change! :)
  538.  
  539. Beta-33
  540.  
  541.     - Removed the @###.FILEnet from the default tagline, as some sysops are
  542. using the PPP Project Software without actually being a member of FILEnet.
  543.  
  544.     - Fixed a problem where messages that had a line starting with the word
  545. "begin" would be incorrectly identified as network packets.
  546.  
  547.     - Changed the connect time code so that all Internet based systems will
  548. have their last time of connect reset after a successful SMTP/POP session.
  549. The time of connect of any direct dial systems is not affected.
  550.  
  551.     - Fixed the code so that it will properly use the ADDRESS.# files
  552. rather than ADDRESS.NET.  Also fixed the problem with the - sign in ADDRESS.0
  553. to indicate a direct dial connection not working.
  554.  
  555.     - Put the return path back into the logic for the name matching routines
  556. for the maillist to sub logic.  Some listservers use one and some use the
  557. other.
  558.  
  559.     - Changed the success and failure levels for the PPP modules so that
  560. Ctrl-C will return a fail result, rather than a pass.  This keeps outgoing
  561. packets from being improperly deleted.
  562.  
  563.     - <Space> now aborts transfer of the current message during an SMTP
  564. session.  This allows you to bypass a message on the current run, while
  565. saving it for transfer later.
  566.  
  567.     - Changed some of the text display, during transfers and (lesser seen)
  568. error result messages.
  569.  
  570. Beta-32
  571.  
  572.     - Email messages containing the encoded WINMAIL.DAT or WINMAIL.MSG files
  573. will not be erroneously identified as UUE files.  The WINMAIL encoded lines
  574. are also marked with the ^D0R header to prevent display on the BBS.
  575.  
  576.     - Changed the name matching routines for mailling lists (again) to fix a
  577. problem introduced in beta 30 which made the name match routines always fail.
  578.  
  579.     - Made some changes to the logic for creating the WATTCP.CFG file to
  580. try to prevent the "Can't create WATTCP.CFG" problem.
  581.  
  582.     - Removed POP.DBG.  Now uses "MOREINFO" flag in NET.INI to provide debug
  583. (extended dialog) information with POP/SMTP hosts.
  584.  
  585. Beta-31
  586.  
  587.     - Recompiled under BC4 to address the "Can't create WATTCP.CFG" problem.
  588.  
  589. Beta-30
  590.  
  591.     - Fixed a problem where the memory for mailling lists was improperly
  592. allocated or freed.
  593.  
  594.     - The code now ignores the Return-Path line in messages.  This would
  595. sometimes cause the return address to get assigned incorrectly.
  596.  
  597.     - Fixed a problem where the message Name is *after* host would be
  598. displayed when the < > surrounded the id but no user name was included.
  599.  
  600.     - Fixed a problem where Beta-29 which left the INSTANCE.DAT file open.
  601.  
  602.     - The "N*.NET is missing" warning message was removed, since it won't
  603. exist if @32767 is set up as the host rather than a subscriber.
  604.  
  605.     - Fixed a problem in the display of the sub type when message were
  606. received to a maillist sub.
  607.  
  608. Beta-29
  609.  
  610.     - Changed the multitasker detection logic so that Windows 95 and OS/2
  611. will be reported correctly, even if NETBIOS support is also enabled.
  612.  
  613.     - Fixed a problem where the newsgroup pointer could be incorrectly set if
  614. <Esc> or <Space> was pressed to abort newsgroup retrieval.
  615.  
  616.     - Newsgroups are no longer deleted from NEWS.RC when an unrecoverable
  617. error occurs.  Instead, an SSM is sent to the sysop account, so that the
  618. appropriate action can be done.
  619.  
  620.     - Fixed a problem in NEWS where the crossposted or returned messages
  621. were not being deleted for the first group listed in NEWS.RC.
  622.  
  623.     - Fixed a problem that would be created by messages with long subject
  624. lines or recipient name.
  625.  
  626.     - EXP now reports if the *subtype (asterisk before subtype) is missing in
  627. the mailling list section of NET.INI.
  628.  
  629.     - Fixed a problem which resulted in mailling list messages not ending
  630. up on the subboard if the "reply-to" address format included any additional
  631. information han the Internet mailing address.
  632.  
  633.     - Fixed a problem where Internet mail would not get sent out on the
  634. current connect if no network packets were pending.
  635.  
  636. Beta-28
  637.  
  638.     - Added the first cut at support for putting Internet Mailing Lists to a
  639. subboard.  To do this, you need to add a section to the NET.INI file as
  640. shown.  The email name should be the name that the emails are posted from,
  641. the subtype can be alpha or numeric (don't forget to make the N*.NET file).
  642.  
  643. ;
  644. ; Mailing List Section - used to define internet mailing lists that are to
  645. ; be retrieved into a message base rather than EMAIL.
  646. ;
  647. [MAILLIST]
  648. ; email_name   subtype    (NOTE: Asterisk (*) is required!)
  649. my_listserv@domain.com *1000
  650.  
  651.     - Changed the open mode for the WATTCP.CFG configuration file, to fix the
  652. problem some systems see with the software trying to read this file before it
  653. has been rewritten by the TCPWAT program.
  654.  
  655.     - Makes sure any received packets are renamed before the NETWORK routines
  656. are called, so all received packets are processed after the current call.
  657.  
  658.     - Changed the return address for messages which are received with the
  659. format "User Name <id@site>" to the more standard "id@site (User Name)"
  660. format.  This keeps replies from hosing the SMTP server and getting the
  661. SMTP socket connect failed error message (at least for this case).
  662.  
  663.     - Fixed a problem where posts that were sent out on a newsgroup would be
  664. reposted when the message was received back from the newsserver.
  665.  
  666.     - Allows Internet-based subs to be set up with @32767 as the host rather
  667. than a subscriber.  This allows Network Validation for outgoing posts, but
  668. prevents the subs from being networked to other BBS's.
  669.  
  670.     - Added support for XPOSTS=0, which turns off cross-post detection
  671. for newsgroups.
  672.  
  673.     - Changed the originator on network packets to be the real account name
  674. rather than the forwarding service name, to allow for the correct
  675. identification of bounced packets.
  676.  
  677.     - Changed the NEWS log file logic that seemed to sometimes cause crashes
  678. while retrieving newsgroups.
  679.  
  680. Beta-27
  681.  
  682.     - Increased _stklen variable in the hope it addresses problems from some
  683. systems running out of stack space during runtime.
  684.  
  685.     - Supports Waterloo TCP/IP "INACTIVE" vice "SOCK_INACTIVE" in WATTCP.CFG,
  686. which should properly respond to lost carrier, poor IP connections, etc.
  687.  
  688.     - The CLEANUP option in NET.INI now will execute FLINK and LINKER only,
  689. instead of spawning NETWORK1/2 for normal BBS cleanup.  Some systems were
  690. running out of memory during this process, and it was redundant of the BBS.
  691.  
  692.     - Makes two passes in MQUEUE on each run to assist those whose provider
  693. didn't settle handshaking immediately after connect.
  694.  
  695.     - Reads in alpha subtypes from NEWS.RC in upper case now to prevent
  696. problems in finding subtypes on the BBS.
  697.  
  698.     - Honors the <TAB> character in received newsgroup articles.  This was
  699. causing some text to be skewed (originating from mail readers which didn't
  700. substitute space).  Also properly terminates the received strings, so the
  701. spurious characters at the end-of-line on newsgroups should be fixed.
  702.  
  703. Beta-26
  704.  
  705.     - Fixed bug which caused binary groups to get sent into the bit bucket
  706. during retrieval.  Self-inflicted wound in Beta-25 with addition of alpha
  707. subtypes.
  708.  
  709.     - Changed CONTACT.NET update to a new method.  CONTACT.NET is now
  710. updated for each system for whom the program prepares a packet.  In this
  711. manner, it now reflects what gets sent to each system uniquely.
  712.  
  713.     - Tweaked the routines which read/write WATTCP.CFG.  This should get rid
  714. of any problems associated with that, including creating 0 byte files and
  715. inability to create WATTCP.CFG at runtime.
  716.  
  717.     - Forced a newline at the beginning of each newsgroup article.  This
  718. ensures that the text of a message doesn't begin on the same line as the
  719. RE:.
  720.  
  721. Beta-25
  722.  
  723.     - I didn't get all the changes/enhancements into this beta which I'd
  724. hoped.  There are a great deal of functional changes below, and the todo
  725. list is a bit smaller, but there's still work before the release of
  726. version 2.  Please report any problems you find.
  727.  
  728.     - First stab at "AUTHINFO" directive used by NNTP to validate username
  729. and password.  I could find no governing RFC, so a lot of this is in the
  730. blind until I can set up an NNTP host which supports it.  If your news host
  731. requires a Userid and Password for login (such as GTE), add the following to
  732. the [NEWS] section of NET.INI:
  733.  
  734.         NEWSNAME = <username>
  735.         NEWSPASS = <password>
  736.  
  737. The initial feedback is that this function is working properly, but it may need
  738. fine-tuning.
  739.  
  740.     - The trailing '.' on each Internet email message is now bypassed in email
  741. retrieval, so it won't be displayed to users viewing it on the BBS.
  742.  
  743.     - Nailed down the stacked "RE: RE: RE:" found in newsgroup responses.
  744.  
  745.     - Added "Continued in next message..." as the final line in newsgroup posts
  746. which exceed 32K (and become split into multiple parts) and "Continued from
  747. previous message..." on trailing parts.
  748.  
  749.     - Fixed the news and mail time/byte entries in NET.LOG, so each is
  750. maintained uniquely now.  If you use ONECALL in NET.INI, you will get two
  751. entries (one for @32767 and the other for the system you called), each with
  752. its own bytes and time.
  753.  
  754.     - Added definable maximum cross-posts before newsgroup article is skipped.
  755. New entry to NET.INI in [NEWS] section reads:
  756.  
  757.         XPOSTS = nn
  758.  
  759. where 'nn' is a number between 1 and 99.  (Setting this to '1' will reject any
  760. message crossposted to another newsgroup.)
  761.  
  762.     - Added support for the PPPURGE utility which cleans up the SENT directory
  763. externally.  By adding "PURGE=N" to the [GENERAL] section in NET.INI, you can
  764. bypass packet cleanup during normal network routines.  You must then add
  765. "PPPURGE <days>" to your external event batch file to kill SENT files.
  766.  
  767.     - Tweaked internal stack size which seems to stabilize problems resulting
  768. from line noise (modem), lost connections during transfers, etc.  Need more
  769. feedback on reliability of these changes, so we don't introduce new bugs!
  770.  
  771.     - Overrides net validation for newsgroup posts received from the Internet,
  772. but leaves normal validation intact for other methods.  This is useful for
  773. anyone who gates newsgroups with netval, as it lets the Internet stuff flow
  774. through unimpeded but still validates BBS-originating posts.
  775.  
  776.     - Added internal support for the FWDNAME and FWDDOM parameters from
  777. NET.INI.  If defined in the [GENERAL] section, these will be used for the
  778. headers of email and newsgroup posts.  This is helpful for anyone using a
  779. forwarding service, such as bigfoot.com, as their BBS mail host.
  780.  
  781.     - Fixed a problem in the UUDECODE routines where the output file was
  782. not being deleted if an error was detected during processing.  This would
  783. cause the partial file to be processed by the remaining NETWORK routines,
  784. which could result in crashes.
  785.  
  786.     - Added support for individual ADDRESS.* files.  ADDRESS.1 and up are
  787. maintained by the GC's.  ADDRESS.0 is a local file, which can be used to
  788. limit callouts to particular systems.  To force a normal (modem) callout to a
  789. system, create ADDRESS.0 in the following format:
  790.  
  791.         @node -      (the minus sign indicates use direct call)
  792.  
  793.     - Added another check for returned packets.  If the packet "from:"
  794. name matches the name and domain defined in the INI file, the packet is
  795. assumed to be a returned packet as well.  Apparently not all ISP's use the
  796. standard "mailer-daemon" approach for identifying returned packets.
  797.  
  798.     - Changed the sleep() call in NETWORK.EXE to a delay() call used when
  799. the socket is being established.  Some systems appear to hang using the
  800. sleep() call.
  801.  
  802.     - Added the KLOSV146.ZIP file to the archive.  These are the latest PPP
  803. drivers from KLOS, patched to remove the Windows detection code.
  804.  
  805.     - Added support for alpha subtypes in NEWS.C (defined in NEWS.RC).
  806.  
  807.     - Fixed routines to clean up after a file is received via Internet mail.
  808. Copies are no longer saved in CHECKNET and SPOOL.
  809.  
  810.     - Added PURGE option to [GENERAL] area, intended to be used with new
  811. PURGE.EXE utility.  PURGE.EXE will clean out your SENT directory as part of
  812. the external event (and not when the program runs).  Set PURGE=N in NET.INI,
  813. then add PURGE.EXE to your external batch file.
  814.  
  815.     - Added support for '_' in CALLOUT.NET to indicate non-Internet system.
  816.  
  817.     - Added support for user-definable anti-spam originating address.  If
  818. 'SPAMCONTROL=Y' is defined in NET.INI, you can also add:
  819.  
  820.         SPAMADDRESS=whoever@whatever.address
  821.  
  822. If SPAMADDRESS is not explicitly defined, the anti-spam address now reads:
  823.  
  824.         realname@dont.spam.me.real.address (Username)
  825.  
  826.     - Cosmetic modification to NET.LOG entry when nothing is sent.  Adds a
  827. comma (,) to conform to the normal network software method.
  828.  
  829.     - Now auto-trims NEWS.LOG, keeping a maximum of 800 lines (about three
  830. days worth) of NEWS entries.  Trim is accomplished at the last full session
  831. entry (a complete news session) at or above the 800 line mark.
  832.  
  833.     - Supports random signature files for newsgroups and email.  Naming format
  834. for the signature files is:
  835.  
  836.         I<subtype>.Txx
  837.  
  838. where 'xx' is a number between 0 and 99.  For example, to create random
  839. tags for subtype "12345", create files "I12345.T01", "I12345.T02", etc.  If
  840. no random tags are found, "I12345.TAG" will be used, as before.
  841.  
  842.     - Now properly removes BBS tagline indicators (the ^Dx prefix for each
  843. line in a BBS or personal tagline).  Note that these will be preserved, in
  844. addition to the I*.T* signature files.
  845.  
  846. Beta-24
  847.  
  848.     - Added hook to EXP to call after network packets/mail are received, so
  849. any Internet mail is processed immediately after receipt.
  850.  
  851.     - Count transfers (sending/receiving packets) in 512 byte increments vice
  852. 1K now... cosmetic.
  853.  
  854.     - Encoding and transfer of packets is now kept on a single line vice
  855. scrolling down the screen... again, cosmetic.
  856.  
  857.     - Tweaked import() routine in EXP to narrow down scrambled headers
  858. reported by some systems.
  859.  
  860.     - Added total files/bytes detail to display after successful packet
  861. transfers.
  862.  
  863.     - Added SSMs to be sent to the #1 account upon receipt of archive
  864. files or bad packets moved into CHECKNET.
  865.  
  866.     - Added file-sharing, timeslicing routines to EXP.
  867.  
  868.     - Added board-specific tagline file support.  File should be in the
  869. BBS DATA\ directory and be named I<subtype>.TAG, for example on subtype
  870. 10001 file would be I10001.TAG.
  871.  
  872.     - Fixed logic when an invalid newsgroup is requested and server returns
  873. 501 response.  It now skips the group and removes the invalid group name from
  874. NEWS.RC automatically.
  875.  
  876.     - INSTALL.C/EXE is in here now.  It needs some work before broader
  877. release, though.
  878.  
  879. Beta-23
  880.  
  881.     - Messed up parsing logic in EXP when comparing against name fields with
  882. an underscore replacing the space.  Fixed, I hope.
  883.  
  884.     - Various tweaks to socket code.  I hope these address the problems some
  885. folks have been having with the modem falling asleep.
  886.  
  887.     - Included POP.DBG in this archive to show dialog between you and your
  888. servers and help in the debugging process.  Copy POP.DBG to POP.EXE before
  889. installing.
  890.  
  891. Beta-22
  892.  
  893.     - Implements controls for Waterloo TCP socket inactivity across modules,
  894. SOCK_DELAY and SOCK_INACTIVE.  By default, these are set to 30 and 60 seconds,
  895. respectively.  They may be defined in NET.INI, as follows:
  896.  
  897. ; Time from sending an IP packet to response from DNS.
  898. SOCK_DELAY = 30
  899. ; Max time without socket activity.
  900. SOCK_INACTIVE = 60
  901.  
  902.     - The sockets are now malloc() on the far heap again (as Goose properly
  903. had them before).  I thought this may have been the culprit in the lost
  904. activity timer.  When I fixed the item above, it actually crashes the client
  905. when trying to free them from the near heap!
  906.  
  907.     - Removes WWIV heart color codes from titles and originator names.
  908.  
  909.     - Implemented ONECALL=Y/N in NET.INI to retrieve messages and newsgroups
  910. on a single call.
  911.  
  912.     - Added timeslicing routines in POP and NEWS.  Would appreciate feedback
  913. from anyone using "activity meters" to see if this helped anything, although
  914. I suspect I have to use a different buffered I/O routine aside from fprintf()
  915. to accomplish anything.
  916.  
  917. Beta-21
  918.  
  919.     - Urgent fix for dial-out problems to modem users.  Beta-20 was showing
  920. "must specify phone number" because of the way I was constructing the
  921. commandline.
  922.  
  923.     - Various other tweaks/enhancements which will be detailed better in the
  924. next beta.  (It's late!)
  925.  
  926. Beta-20
  927.  
  928.     - Urgent fix for a problem in news retrieval where it wasn't finding the
  929. NEWS.RC, I hope!
  930.  
  931.     - NET.INI addition:
  932.  
  933. ; Will retrieve mail and newsgroups on single call
  934. ONECALL = Y
  935.  
  936. Beta-19
  937.  
  938. Additions to NET.INI (for now, grab Quixotic Quest's FAQ for a full NET.INI
  939. and meanings).  Under [NEWS] tag, add:
  940.  
  941. ; If defined, puts a bogus originating address on newsgroup posts.
  942. SPAMCONTROL = Y
  943. ; If defined, uses file as a signature file to all newsgroup posts.
  944. SIGNATURE = D:\WWIV\GFILES\INTERNET.TAG
  945.  
  946. Various code changes:
  947.  
  948.     - POP now receives messages to an INBOUND directory under the network data
  949. directory instead of syscfgovr.tempdir.  This will help in case of lost
  950. connections... received packets will remain in the INBOUND area until cleaned
  951. out by other routines (UU, etc.)
  952.  
  953.     - Waterloo wasn't returning from the macro for sock_err:.  Tweaked quite a
  954. bit, including allocating the tcp sockets on the near heap (again!).  I wish
  955. we could return(x) from sock_err: but return values vary among different
  956. functions... consistency is something for a future release.  If this doesn't
  957. clear things up, we can exit(x) from the macro and allow the OS to do its own
  958. cleanup for file handles, memory and such.
  959.  
  960.     - parse_ini() in network.c wasn't toupper() on s[0] properly, so lower
  961. case 'y' and 'n' parameters weren't being honored.
  962.  
  963.     - Places ^D0R before header lines on received email.  These lines are
  964. suppressed on display to user on the BBS, but may be extracted to provide
  965. routing info.  Required changes both to POP and EXP, in order to detect/skip
  966. ^D0R when comparing strings.
  967.  
  968.     - Uses underscore between multiple parts of user name on exported mail
  969. (e.g. The_Great_White_Whale).  For backward compatibility, it matches both
  970. space and underscore when comparing against user list.
  971.  
  972.     - Detects bounced mail by comparing originating address (from: line)
  973. against known mail-bouncers, including "Mailer-Daemon", "Administrator", etc.
  974. Bounced packets are named as BAD*.UUE and will remain in INBOUND for review,
  975. as they're skipped during UU decode routines.  To recycle a packet, rename it
  976. from BAD*.UUE to PKT*.UUE.
  977.  
  978.     - Displays 20 characters of packet originator while receiving (purely
  979. cosmetic).  Tracked that for the above item, so figured we'd display it.
  980.  
  981.     - "SPAMCONTROL=Y" in NET.INI [NEWS] tag uses a bogus originating address
  982. ("nowhere@no.net") to prevent email scoopers from finding a good address.
  983. Also when defined, the "Reply-To:" field is omitted but a correct return
  984. address is prepended as text to the body of message.
  985.  
  986.     - Supports a "signature" file defined in NET.INI [NEWS] tag, as described
  987. above.  Format is: "SIGNATURE = [path/filename]".  Contents are read into
  988. outbound mail during export, so length is unlimited.  If it finds ANSI, it'll
  989. choke!  If a SIGNAURE is not defined or the file doesn't exist, it uses the
  990. previous "Origin: * blah" tagline.
  991.  
  992.     - If mh.toUserName is "ALL" (ie. a first post on topic), skips the
  993. "Responding to: ALL" in body of message... seemed redundant.
  994.  
  995.     - NEWS now skips the following messages during retrieval:
  996.  
  997.       - messages cross-posted to more than 10 newsgroups on the assumption
  998.         that they're spammed across multiple groups.  The figure 10 is an
  999.         arbitrary but hard-coded for now into NEWS.
  1000.  
  1001.       - any message cross-posted to another group defined earlier in NEWS.RC,
  1002.         e.g. if you define comp.games and comp.games.adventure in NEWS.RC, it
  1003.         will skip messages on comp.games.adventure which were cross-posted to
  1004.         comp.games.
  1005.  
  1006.       - any message which originated from your system as indicated by the
  1007.         "Organization:" field appended during export.
  1008.  
  1009.     - NEWS now allows you to hit <space> to skip to the next group defined in
  1010. NEWS.RC.  It doesn't "catch-up" lastread pointers for the skipped group, but
  1011. simply writes the current message pointer to NEWS.RC for your next run.  If
  1012. there's reason for a "catch-up" key, let's discuss it.
  1013.  
  1014. There are probably others, but you'll find them as you go.
  1015.  
  1016. Frank
  1017.  
  1018.