home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / PPPBCKP / PPP15B78.ZIP / CHANGES.DOC next >
Text File  |  1997-12-29  |  68KB  |  1,519 lines

  1. Beta-78
  2.  
  3.     - Now sends an SSM to sysop when a system subscribes to or removes themself
  4. from a hosted mailing list.
  5.  
  6.      - Added support for issuing a list of hosted mailing lists in response to
  7. a message with:
  8.  
  9.         Subject: Subscribe LISTS
  10.  
  11. A text file describing your available lists named MAILLIST.TXT must be in the
  12. GFILES directory or else an error is returned to the requestor.
  13.  
  14.     - Relocated a check for subscribe requests so it didn't rely upon finding
  15. a good name first.  This will ensure better success rate for automated requests
  16. to subscribe to hosted lists, notably when the Subject line appears after the
  17. From line (unusual, but it happens!)
  18.  
  19.     - Added support for checking multiple mailboxes.  There are actually two
  20. distinct elements to this, the POP account information (the ACCT field) and the
  21. user's reply address (the USER field).  This method will allow a BBS user to
  22. maintain an independent Internet mailbox.  Below POPPASS in NET.INI, create
  23. entries using the following example:
  24.  
  25.         ACCT7 = freid@pop.erols.com secret
  26.         USER7 = freid@erols.com
  27.         USER123 = jdoe@somewhere.com
  28.         USER456 = msmith@elsewhere.com
  29.  
  30. In this example, the program checks the mailbox "freid" on "pop.erols.com" with
  31. a password "secret" (the ACCT7 line).  Mail received from this account is sent
  32. to user #7 (ACCT7) on the BBS.  In addition, outgoing mail from users #7, #123
  33. and #456 (USER7, USER123 and USER456) will use the indicated return address as
  34. opposed to the standard, BBS return address.
  35.  
  36.     - Moved routine for chunking >32K messages so they're picked up immediately
  37. after receipt, rather than being moved to SPOOL and not found until the next
  38. callout.
  39.  
  40.     - Rewrote routine which removes high ASCII and control characters from
  41. newsgroup messages and subjects.  Previous routine was causing occasional
  42. problem overflowing character buffer (causing some wierdness).
  43.  
  44.     - Now searches the top 1,000 lines of an UNK*.MSG (standard mail) to see
  45. if it's a MIME-encoded message.  This will prevent chunking large messages
  46. into small emails if it's an encoded file.
  47.  
  48.     - Message-IDs are now added to the duplicates database only after
  49. successful receipt of the message.  This will prevent a DUP*.* packet which is
  50. really the first completed receipt.
  51.  
  52.     - Added initial hooks for global FILEnet mail server.  Account address is
  53. built upon node number, e.g. n1160@filenet.ml.org, n221@filenet.ml.org, etc.
  54. To activate, add the following to NET.INI below the existing POPPASS keyword:
  55.  
  56.         NODEPASS=<assigned account password>
  57.  
  58. We will be issuing passwords for these accounts, which are independent of other
  59. defined accounts, as the service becomes available.
  60.  
  61. Beta-77
  62.  
  63.     - Relocated a close to a file pointer and a findnext() call in smtp_sendf()
  64. to prevent looping on the same message, if rejected for any reason.  (Came to
  65. light trying to send large messages through a host which would accept them!)
  66. True failures (socket problems) will continue on a second attempt.
  67.  
  68.     - Finally (thanks for your patience, Eileen!) splits received mail larger
  69. than 32K into chunks for import.  This includes both user-to-user mail or mail
  70. destined for hosted mailing lists.  It skips messages which can be clearly
  71. identified as encoded files, i.e. UUE and Base64, on the assumption these are
  72. harder to handle when imported in chunks.  Perhaps a future enhancement will
  73. include handling (decoding) these externally.
  74.  
  75.     - Suppressed the search for username match for ListServe-type mailing lists
  76. (identified by the "To: Multiple recipients of mailing list ....") or when no
  77. username is found in the message.
  78.  
  79.     - Added routine to check for duplicate mail and packets by maintaining a
  80. database of received Message-IDs.  If the ID exists in the database, it's
  81. marked as a duplicate to preclude reprocessing.  This is useful if you have
  82. connection problems during transfers (before the mailbox is updated).  The
  83. maximum entries in the database is 1,000, and the database is compacted to 500
  84. entries when you exceed that.  Therefore, at least the most recent 500 messages
  85. will always be compared.  To make this more effective, a unique Message-ID is
  86. now included on outbound net packets, composed using the packet name.  This
  87. prevents all duplicate net packets, caused by either send or receive problems.
  88.  
  89.     - Added additional logging to all modules.  The contents of the log are
  90. still maintained in NEWS.LOG for backward compatibility.  We may change the
  91. name in a future revision, but NEWS.LOG seems to be acceptable.
  92.  
  93.     - Finally nailed down the WATTCP.CFG creation problems by using a system()
  94. call and renaming WATTCP.CFG on-the-fly.  (These iterations were necessitated
  95. by Klos' PPPWAT utility, which would let go of the file handle!)
  96.  
  97.     - Expanded NOSPAM.TXT parsing into blocks.  NOSPAM.TXT is now organized in
  98. three sections: [GLOBAL], [NEWS] and [MAIL].  This enables variable processing,
  99. depending on the source of the message, for example:
  100.  
  101.                 [GLOBAL]
  102.                 "free "
  103.                 "live "
  104.                 $$$$$
  105.                 [NEWS]
  106.                 .UUE
  107.                 .JPG
  108.                 [MAIL]
  109.                 @money
  110.                 money@
  111.  
  112. Any mail or news with keywords in [GLOBAL] is considered spam.  The [NEWS]
  113. block is used only with news articles, and the [MAIL] block is only applied to
  114. Internet mail.
  115.  
  116.     - Added some unfinished code to NEWS for display minimalists.  When
  117. complete, the display will (optionally in NET.INI) show newsgroup articles
  118. during reciept on a single line and such to minimize screen real estate.
  119.  
  120. Beta-76
  121.  
  122.     - Added error checking to ensure any outbound messages contain a somewhat
  123. valid recipient by ensuring there's a '@' and a '.' in the addressee.  If not,
  124. the program aborts the SMTP session and you must remove the offending message.
  125.  
  126.     - Added support for a .RLZ file for hosted mailing lists.  If a file exists
  127. in the FILEnet directory named R<subtype>.RLZ, the contents of this file will
  128. be sent in response a subscribe request.  If R<subtype>.RLZ does not exist, and
  129. GLOBAL.RLZ exists, that will be sent, instead.
  130.  
  131. NOTE: There is no validation checking on the contents of this file, so do *not*
  132. put ANSI or control characters in the text, as these will crash your mail host!
  133.  
  134.     - Finally set up a Win95 machine for testing!  Adjusted stack and other
  135. values to ensure good compile and operation under both Win95 and DOS.
  136.  
  137.     - Added options to binary news retrieval allowing you to "jump" forward
  138. when you're way behind.  These are:
  139.  
  140.         ']' - Jumps forward 10 articles
  141.         '}' - Jumps forward 100 articles
  142.         '+' - Takes user input for number of articles to jump
  143.  
  144. Again, these keys are only active during binary (NEWS*.UUE) retrieval.  The
  145. program already limits total articles for newsgroups brought into the BBS, so
  146. they can't exceed the sub capacity.
  147.  
  148.     - Changed logic for NOSPAM.TXT check on received mail so it only checks
  149. Internet mail (i.e. UNK-*.UUE) during processing.  This allows you to add items
  150. to NOSPAM.TXT like '.ZIP', '.UUE', etc., without affecting normal movement of
  151. net packets and FDL files.
  152.  
  153.     - Fixed retrieved NEWS subjects so they don't exceed the storage capacity
  154. on the BBS.  The program will use the first 78 bytes of the newsgroup article
  155. title.
  156.  
  157.     - Fixed condition which caused duplicate "Reply-To:" fields in newsgroup
  158. posts when SPAMCONTROL=N and @32767 was set up as the sub host.
  159.  
  160. Beta-75
  161.  
  162.     - Screwed up the ^D0R stuff again in NEWS.EXE!  Fixed this time.
  163.  
  164.     - Went back to Beta-72 stklen, which worked for the majority.  Goose's
  165. fixes in Beta-74 for the WATTCP.CFG should fix things there.
  166.  
  167.     - Tweaked the name-matching routine a bit to get better results on matches
  168. with both user names and hosted mailing lists.
  169.  
  170. Beta-74
  171.  
  172.     - Fixed bug in mailing list subscriber code which created a malformed
  173. response message to any request for an invalid mailing list.  (It also didn't
  174. delete the original SUB-*.UUE, so the problem repeatedly occurred!)
  175.  
  176.     - Changed the create_wattcp_cfg routines to try to get rid of the unable
  177. to open WATTCP.CFG errors.
  178.  
  179.     - Messages posted to newsgroups and mail lists now use the sub real name
  180. setting, rather than the NET.INI REALNAME setting.  The REALNAME setting is now
  181. used only for email.
  182.  
  183.     - Fixed bug which displayed the additional information lines in newsgroup
  184. articles.  (Should have been prefaced with ^D0R for network routing!)
  185.  
  186.     - Several bug fixes by Goose to outbound article/mailing list header
  187. creation inside EXP.
  188.  
  189. Beta-73
  190.  
  191.     - Added autosubscribe to hosted mailing lists.  If the subject of a message
  192. is either "Subscribe LIST" or "Unsubscribe LIST" (case insensitive), the user
  193. will is added/removed from M<LIST>.NET, and a response is generated advising
  194. them of the action taken.
  195.  
  196. NOTE 1: The M<LIST>.NET must exist, even if it's empty.  If that file isn't
  197. there, the requesting system is told that it's an invalid mailing list.  This
  198. saves the trouble of parsing SUBS.XTR to see if the mailing list is valid.
  199.  
  200. NOTE 2: The program does not support mailing lists with a single character for
  201. a subtype.  This is to prevent a malicious attempt to write undesirable data to
  202. the M1.NET through M9.NET macro files supported by CALLOUT.NET.
  203.  
  204.     - Cast disk space variables as float to show large hard drive (greater than
  205. 2GB) accurately.
  206.  
  207.     - Now displays the originator of standard Internet mail messages, instead
  208. of "non-network packet" during receipt.
  209.  
  210.     - Added "Group: <groupname>" field in message headers received in binaries,
  211. for use by PBNews in sorting into proper directories.
  212.  
  213.     - Added "References", "Message-ID" and "Reply-To" fields to received
  214. newsgroup articles, suppressed with ^D0 network routing lines.  These can be
  215. used to facilitate threading and other features, with the appropriate BBS
  216. source code mod.
  217.  
  218. Beta-72
  219.  
  220.     - The fread() technique didn't work.  SMTP mandates that lines beginning
  221. with a period be doubled to prevent confusion with an end-of-message marker.
  222. It proved too difficult to parse the entire buffer to make these adjustments.
  223. Fundamentally, this version returns to B-68 techniques!
  224.  
  225. Beta-71
  226.  
  227.     - Ooooops... new fread() technique for block reading outbound SMTP wasn't
  228. supposed to double periods *unless* a single period was the first character of
  229. a new line.  Fixed.
  230.  
  231. Beta-70
  232.  
  233.     - Oops!  B-69 didn't treat the leading period in some messages properly.
  234. Although it wouldn't crash, it probably corrupted the UUE on the receiving end.
  235.  
  236. Beta-69
  237.  
  238.     - Fix in SMTP transfer routine which could have crashed system when the
  239. first line of the output message was a period.
  240.  
  241.     - Fairly radical changes in SMTP transfer routines to use a faster and more
  242. reliable method.  Reads outbound messages in 1K blocks vice line-oriented.
  243. Stops/restarts the socket allocation for every message.
  244.  
  245.     - Removed support for bcc (blind carbon copy) in outbound messages.  Never
  246. used anything which directly supported this, anyway.
  247.  
  248. Beta-68
  249.  
  250.     - Cosmetic change when receiving FDL files.  The display will now show the
  251. filename being received instead of ARC-xxx.UUE.
  252.  
  253.     - Rewrote routine to create WATTCP.CFG to use buffered file I/O (and to
  254. prevent "Unable to create WATTCP.CFG" errors in the future).
  255.  
  256.     - Reworked logic on SMTP send loop so socket is opened and closed between
  257. each message relay.  Added a couple of routines to detect and respond to socket
  258. errors during the SMTP transfer process.
  259.  
  260.     - Changed From/Reply-To fields in outbound headers to enclose extended user
  261. information in a comment, e.g. "Frank Reid" <edare@ix.netcom.com>. Previously,
  262. no quotes delimited the comment, and this may have confused some mail readers
  263. when composing a response.
  264.  
  265. Beta-67
  266.  
  267.     - Fixed discrepancy on hosted mailing lists which caused outbound messages
  268. from remote WWIV-type systems to be created without a valid focus, e.g.
  269. "From: John Doe" vice "From: John Doe <user@site.com>".  (This crashed most
  270. mail relay programs!)
  271.  
  272.     - Returned to BC++ v4.52 compiler to stabilize problems experienced by many
  273. since downgrading to BC++ v3.1 back with Beta-51 or so.  This uses a bit more
  274. memory (about 20K) but seems to generate a more stable executable.
  275.  
  276. Beta-66
  277.  
  278.     - Added stack checking code to see how much of it is really being used.
  279. The current values closely reflect the program's real stack requirements.  Any
  280. discrepancies reflect other, less apparent program requirements.
  281.  
  282.     - Repositioned the write_groups() call in the sock_err label so it didn't
  283. close all files before attempting it.
  284.  
  285.     - Changed the mailing list code to pull the optional text (used to identify
  286. ListServe type messages) independently of the routine for subtype.
  287.  
  288. Beta-65
  289.  
  290.     - No changes except in the compile options.
  291.  
  292. Beta-64
  293.  
  294.     - Changed SAMPLE.INI to point to the National Institute of Standards time
  295. server at "time.nist.gov".  (Thanks, Papa Bear!)  This should provide reliable
  296. time for those using NTIME to set the clock.
  297.  
  298.     - Added some error checking to the clock() routine which tracks length of
  299. NEWS connection.  This should eliminate negative values from appearing within
  300. NET.LOG (and from corrupting CONTACT.NET/PPP).
  301.  
  302.     - Changed CONTACT.NET update to cap maximum bytes for @32767 connections to
  303. 9,999K (10MB).  This is a limitation of the network software, including NET.LOG
  304. entry.  This makes it friendlier with external programs, including LastNet.
  305.  
  306.     - Added a "Lines: xxx" field to articles retrieved from binary newsgroups
  307. (NEWS*.UUE in SPOOL).  This will facilitate additional features in PBNews, a
  308. utility which reads the NEWS*.UUE files and decodes the original binaries.
  309.  
  310.     - Rewrote POP STAT and LIST commands to eliminate the getnumbers() routine,
  311. as passing the pointer among routines may have been causing problems retrieving
  312. messages from the mailbox.
  313.  
  314.     - Added capability to comment newsgroups within NEWS.RC.  Add a ';' to the
  315. beginning of any line containing the group to skip.  This will allow you to
  316. preserve group information but bypass downloading on every NEWS run.
  317.  
  318.     - Went back to known working stack values in all modules.  Still trying to
  319. determine what values provide universal satisfaction, but these now seem more
  320. OS-dependent.  We shall see...
  321.  
  322. Beta-63
  323.  
  324.     - Changed routine which sends "RCPT TO" field to SMTP host not to fail
  325. entirely upon a bad address (such as missing path to root DNS!)  This should
  326. make it more tolerant of normal Internet outages.
  327.  
  328.     - Fixed a problem where the SMTP port wasn't being closed properly after
  329. all outgoing packets were sent.
  330.  
  331.     - Standardized the reply-to addresses to all be of the format:
  332.  
  333.       User Name <address@site>
  334.  
  335.     - Fixed a problem that would cause NEWS.EXE to crash when receiving NEWSRC
  336. updates in which the group name was too long.
  337.  
  338.     - Changed the file open routine in UU.EXE to get rid of the occassional
  339. net packet that would be sent with a header and no body.
  340.  
  341.     - Fixed a problem with subscribed mailing lists where the incorrect
  342. from address would be shown in the header.
  343.  
  344.     - Fixed a problem in hosted mailing lists where the From: address on the
  345. outgoing message would be a combination of the BBS's Internet address and the
  346. original user's Internet address.
  347.  
  348.     - Fixed a problem in hosted mailling lists where some of the routing line
  349. information would end not be properly stripped from messages sent to the list.
  350.  
  351. Beta-62
  352.  
  353.     - SMTP transfers are now accomplished in a single call to POP.  Previously,
  354. POP was called repeatedly for each message.  This change appreciably improves
  355. SMTP transfer speed (and the ability to control errors, including ICMP errors
  356. returned by Waterloo sockets).
  357.  
  358.     - Recipient addresses are now parsed within a valid focus for transfer to
  359. the MTA (Sendmail/QMail/etc.) on the RCPT TO line.  Additional information on
  360. the recipient line is retained in the header, but no attempt is made to send
  361. that within the focus.  This will ensure compatibility with all MTA versions.
  362.  
  363.     - Added support for quoted strings in NOSPAM.TXT, so "free " is treated as
  364. distinct, with embedded whitespace, so it would match "free video" but not
  365. "freeport".  Without quotes, any leading or trailing whitespace is removed.
  366.  
  367.     - Added support for List-Processor mailing lists which address mail as
  368.  
  369.            "To: Multiple recipients of list <LISTNAME or address>".
  370.  
  371. To use this method, add a distinct text element from the "To:" line after the
  372. normal list definition in NET.INI, for example:
  373.  
  374.         [MAILLIST]
  375.         wx-talk@listproc.org *SUBTYPE "WX-TALK"
  376.  
  377.     - Revised the NNTP post article routine to match that used in POP for SMTP
  378. transfers.  This should eliminate the stalled transfers when posting to a
  379. newsgroup.
  380.  
  381.     - Fixed a quirk in NET.LOG update which caused misaligned columns if a call
  382. exceeded 100 minutes (which isn't unusual on NEWS sessions).
  383.  
  384.     - Now includes NETWORKP.EXE in the distribution archive.  This version does
  385. not load or unload the Klos drivers, but assumes you have an existing Ethernet-
  386. class packet driver (for cablemodem, dedication connections, etc.)  Need some
  387. feedback on this to tailor it (until I get my own cablemodem here!)  Rename to
  388. NETWORK.EXE instead.
  389.  
  390.     - Fixed a bug in NEWS which caused problems if the first listed group was
  391. a binary (subtype '0' in NEWS.RC), resulting in the subsequent, non-binary
  392. group not to have a valid packet name.
  393.  
  394.     - Now updates the last messages read pointers when NEWS aborts due to a
  395. session error, such as a timeout.
  396.  
  397.     - Now creates a new packet (P0-*) upon selecting a new group to ensure it
  398. doesn't lose messages if a connection is lost during that process.
  399.  
  400.     - Fixed broken CONTACT.NET update routine.  Will now update //PENDING, even
  401. if no packets were sent to "real" FILEnet systems.
  402.  
  403. Beta-61
  404.  
  405.     - Moved a brace in UU.EXE which should allow it to find the correct FDL
  406. type (from either FDLFTS.CFG or the directoryrec.dirtype) when uploading FDL-
  407. hatched files received via Internet mail.
  408.  
  409.     - Added a loop which aborts SMTP session after five consecutive failures.
  410. This will ensure that SMTP transfers aren't tried repeatedly when some other
  411. problem is affecting the link.
  412.  
  413.     - Tweaked the postnews() routine with additional error checking and such
  414. in the hope to eliminate stalling problems experienced on some systems.
  415.  
  416.     - Recompiled the Waterloo TCP/IP library with compiler options identical to
  417. those for main modules.
  418.  
  419.     - Kludged in a quick fix for outbound mail exported from a hosted mailing
  420. list which I hope will fix the "Gate #y@zzzz not yet supported" problem when
  421. mail is received from other network systems.
  422.  
  423. Beta-60
  424.  
  425.     - Added a <Tab> option during NEWS retrieval which catches up on the
  426. current newsgroup (by setting the last read message pointer to equal the
  427. current last message in the group).
  428.  
  429.     - Eileen Stone bagged a mail specimen for me which contained more than 650
  430. character lines (well beyond how I had cast this string).  It was, basically,
  431. an entire paragraph without returns.  You'd think the spammers would have, at
  432. least, the decency to comply with the RFC!  This should address such messages.
  433.  
  434.     - Fixed a quirk which caused NOSPAM.TXT to be skipped if BINXPOST was also
  435. enabled in NET.INI.  The spam check is now performed even on binary newsgroups.
  436.  
  437.     - Will now parse NOSPAM.TXT against incoming messages (Internet mail) in
  438. addition to newsgroup posts.  Messages which match NOSPAM.TXT will be left in
  439. INBOUND as SPM-*.UUE.  A more robust engine, e.g. separately definable spam
  440. lists for mail and news, will be forthcoming.
  441.  
  442.     - Refined the SMTP transfer loop to ensure it flowed properly (and gave the
  443. correct output when no mail was sent).  I've been able to power up and down the
  444. modem here and have the program respond appropriately.  Your results may vary!
  445.  
  446.     - Changed to unbuffered file I/O routines in NEWS savebody() process.  This
  447. will circumvent any problems associated with multiple open files, particularly
  448. when log entries, spam checks and message pointers are all occurring during the
  449. NEWS retrieval session.
  450.  
  451.     - Moved several repetitive strings into a global array in NETWORK in order
  452. to reduce the DGROUP.
  453.  
  454.     - Now appends the originating user name after any defined REPLYTO= field
  455. in NET.INI.  This will allow news readers to reply more easily to an originator
  456. of a message posted on the system, even with SPAM control in place.
  457.  
  458. Beta-59
  459.  
  460.     - Bad POP.EXE in B-58!  Wasn't responding to lost carrier.
  461.  
  462.     - Reworked multiple SMTP transfer routine.
  463.  
  464.     - Removed duplicate strings in NETWORK.EXE.
  465.  
  466.     - Added a moderate stack back into NETWORK.EXE to address failed update
  467. for CONTACT.NET errors.
  468.  
  469. Beta-58
  470.  
  471.     - Fixed binary crosspost check, thanks to Papa Bear.  It wasn't counting
  472. the number of letters in BINXPOST right -- basic math skills lacking here!
  473.  
  474.     - Streamlined code for successive SMTP transfers by removing a redundant
  475. loop (again, with Papa Bear's help).
  476.  
  477.     - Killed tcp_tick() calls throughout POP and NEWS.  I never trusted these.
  478. Although they're touted as capable of tracking socket failures, I've found it
  479. actually keeps the socket alive after it's clearly failed (e.g. NO CARRIER!)
  480.  
  481.     - Returned to the stack sizes which worked consistently in B-53.  This will
  482. eliminate any CONTACT.NET errors which popped up for some systems since then.
  483. Seems to be solid here, but Weatherman will break it!  :)
  484.  
  485.     - Rewrote the stripcolors() routine in EXP so it now properly removes all
  486. colors, and the numerals associated with them, and all high ASCII.
  487.  
  488. Beta-57
  489.  
  490.     - Removed the NETWORK1/2/3 clean-up routines.  There isn't consistently
  491. enough memory to run these within a DOS spawn, and the "Out of memory" errors
  492. in NETDATx.LOG correspond directly to lost packets.  The feature's not worth
  493. the potential dangers (lost packets!)
  494.  
  495.     - Added a check to ensure that the NOSPAM.TXT keywords are longer than
  496. three characters.  This will prevent spurious things, such as a returns or
  497. spaces from triggering a TRUE result on the routine.
  498.  
  499.     - Removed the tcp_tick() calls from NEWS.  These could cause a crash if the
  500. socket is not in place.
  501.  
  502. Beta-56
  503.  
  504.     - Dropped the NETWORK stklen back to 6K as this most certainly was causing
  505. the failure to update CONTACT.NET problem on some systems.  Redesigned spawn
  506. routine not to allocate as much memory for the commandline arguments passed,
  507. which should lessen the stack requirements.  (We know the maximum number of
  508. commandline arguments passed to the spawn routine in advance, so there was no
  509. need to allocate a character array for 50 possible arguments!)
  510.  
  511.     - Hooked in calls to NETWORK1/2/3 to clean up pending packets completely
  512. before and after runtime.  The reduced overhead on the spawn routine should
  513. allow this to process without any problems.
  514.  
  515.     - Major revelation!  After looking closely at RFC 821, I realized I was
  516. misinterpreting the SMTP "MAIL" directive as inherently intertwined with the
  517. header "From:" field.  This is not the case -- the header is sent separately
  518. and does not need to reflect the "MAIL" directive used in the SMTP session.
  519. POP will now use a simple focus "Mail From:<mybbs@mydomain.com>" during SMTP
  520. send, while preserving any extended user information on the message From:
  521. header line.  Outbound mail now appears as:
  522.  
  523.                 From: User Name <mybbs@mydomain.com>
  524.  
  525. This should significantly improve the ability of most mail readers to respond
  526. to a message originated on the BBS (and increase the possibility that the
  527. response will go to the right mailbox!)  It also eliminates SMTP problems
  528. caused by forcing the extended user information into the "MAIL" directive.
  529.  
  530.     - Added a properize() routine to the outbound mail name, so it appears as
  531. it should, e.g. "Old MacDonald", "Mary Jones-Smith", etc.
  532.  
  533.     - Added a SPAM filter for news retrieval.  Create NOSPAM.TXT in the FILEnet
  534. directory with keywords to be compared (case-insensitive) against the subject
  535. and originator of each newsgroup article during retrieval.  NOSPAM.TXT should
  536. have one entry per line, e.g.
  537.  
  538. fast cash
  539. phone sex
  540. toni@spaclab.net
  541. 6t9.com
  542. $$$$
  543.  
  544. If there's a match, the message is skipped during retrieval.  The delay in
  545. parsing even a 100 line NOSPAM.TXT is insignificant compared to the time saved
  546. by not retrieving the spam!  (In other words, the comparison is pretty quick!)
  547. The check is bypassed if BINXPOST=Y in NET.INI or if NOSPAM.TXT does not exist
  548. in the FILEnet directory.
  549.  
  550. Beta-55
  551.  
  552.     - Eliminated stack overflow checking from makefile compile options which
  553. should speed up code execution (and reduce the size of executables somewhat).
  554.  
  555.     - Allocated a sockets structure in NTIME to prevent corruption across the
  556. heap (which may have caused lockups when the socket couldn't be created).
  557.  
  558.     - Changed POP to recognize FDL-type email, even if ALLMAIL=N.  Basically,
  559. if "FDL Type:" is found in the top portion of a message, it's assumed to be an
  560. file hatched via FDL, and it will be retrieved normally.
  561.  
  562.     - Changed disk space check to a Win95-friendly routine provided by Papa
  563. Bear (which allowed me to recast variables as long, vice double as was used in
  564. Wayne's disk-check routine!)
  565.  
  566.     - Increased stklen in POP (6K vice the 4K default) to address the problem
  567. with some systems hanging on file transfers.
  568.  
  569.     - Changed to tcp_tick(NULL) vice tcp_tick(Mail_Socket *).  This was changed
  570. between B-53 and B-54 and may have been the cause of lockups during SMTP send.
  571.  
  572.     - Fixed failed checks for a modified directory structures.  Dawg pointed
  573. out that I was closing the DIRS.DAT file handle before I got the length!
  574.  
  575.     - Changed to far calls for memory allocation for copyfile() and NET.LOG
  576. update routines.  This is what I would've preferred all along, but stack and
  577. other errors kept chasing me back to the standard allocation calls.
  578.  
  579. Beta-54
  580.  
  581.     - Killed redundant code in the CONTACT.NET update routine.  This should fix
  582. the unpredictable results for total time/bytes in //PENDING output.
  583.  
  584.     - Removed a one-second delay after each message was received via POP.  This
  585. was added just before B-53 and may have generated problems where POP hung when
  586. retrieving messages.
  587.  
  588.     - Cleaned up zero byte packets created during news retrieval before these
  589. are renamed to valid pending network packets.  This will preclude the network
  590. software from finding/processing them.
  591.  
  592.     - Fixed EXP routine which was stripping spaces from the REPLYTO address in
  593. NET.INI.
  594.  
  595.     - Spam-proofed the Message-ID field in newsgroup posts.  Previously, this
  596. required field had been composed using the real account name and domain.  It
  597. now uses the account name and WWIV-BBS.
  598.  
  599.     - Added BINXPOST=Y/N to NET.INI.  When <Yes>, it bypasses the check for max
  600. crossposts on binary newsgroups (must have 'binaries' in name).  This allows
  601. you to spool all messages from binary groups, regardless of crossposting.
  602.  
  603.     - Fixed overwriting display of "Expired Article." and other skipped posts
  604. during news retrieval.
  605.  
  606.     - Added a tcp_tick() call in postnews() where it could potentially die
  607. waiting for a response from the news host after posting.  (This won't speed up
  608. the server's response, but it will allow the program to exit gracefully!)
  609.  
  610. Beta-53
  611.  
  612.     - Fixed a quirk which caused NEWSRC to be retrieved entirely on subsequent
  613. runs on a new month or a forced update.
  614.  
  615.     - Changed display of expired and skipped articles to remain on a single
  616. line during retrieval.
  617.  
  618.     - Recast newsgroup count variable from a short to long integer.  For ISPs
  619. with more than 32,767 newsgroups (!), this caused the display to corrupt while
  620. retrieving a NEWSRC listing.
  621.  
  622.     - Figured out the CONTACT.NET update problem (finally!).  Somehow, in B-42,
  623. the structure for net_networks_rec had a far pointer declaration removed for
  624. two variables which control that relationship.  Yeesh...
  625.  
  626.     - Recompiled under Borland C++ v3.1... have now got TC3/BC3/BC4 installed
  627. for a broad selection!
  628.  
  629. Beta-52
  630.  
  631.     - Recompiled with Turbo C++ v3.0 instead of Borland C++ v4.52 which
  632. returned a significant amount of memory (25K) to the program.  Some of that
  633. was immediately used to increase NETWORK's stklen to 15K (in the hope that
  634. it preserves enough space to update CONTACT.NET for everyone!)
  635.  
  636.     - #defined a macro for min() in UU.C in order to use .cpp mode with
  637. compilers earlier than BC4.
  638.  
  639.     - Added self-maintaining routine to update NEWSRC with each news callout.
  640. A full NEWSRC listing is retrieved the first of each month, and updates are
  641. retrieved daily.
  642.  
  643. Beta-51
  644.  
  645.     - Returned to previous method of enclosing recipient information entirely
  646. within the focus during SMTP relay, e.g.
  647.  
  648.                 To:<user@whatever.domain (User Information)>
  649.  
  650. The changes in B-50 didn't resolve the QMail imcompatibility problem.  Adding
  651. USERMAIL=N to NET.INI bypasses extended user information and should allow it
  652. to cooperate with QMail.  (Alternately, use 138.145.3.3 for SMTP relay!)
  653.  
  654.     - Now deletes "441 Duplicate messages" during postings.  You should never
  655. see these, except when the NEWS times out during posting, in which case the
  656. duplicate message is genuine, i.e. the first message did get posted.
  657.  
  658.     - Nailed the culprit causign NEWS lockups!  I wasn't allocating enough
  659. room for a buffer when extracting information from the header, particularly
  660. the "Newsgroups:" and "Path:" fields.  This was most evident on binary groups
  661. with lots of crossposts.  When the buffer overflowed, it crashed!
  662.  
  663.     - Changed source modules to .cpp extension to force stricter bounds check
  664. and typecasting.  Got rid of POP.H and #defined what we need explicitly within
  665. the POP and NEWS modules, including Mail_Socket structures.
  666.  
  667.     - Changed most conditional routines within NEWS to switch() statements in
  668. order to track/detect socket errors more accurately and quickly.  It seems to
  669. respond flawlessly here now! :)
  670.  
  671.     - Chased my tail for a few days figuring out why the certain NEWS routines
  672. appeared to be called improperly (and overwrote memory areas allocated for
  673. other things, including the sockets!)  Turned out a global string variable was
  674. oversized at 4096 bytes (on the static heap!)  RFC 977 provides a maximum of
  675. 512 bytes for returned strings in NNTP, so that's how we're now cast.
  676.  
  677.     - Added checks to ensure the socket was alive in NEWS and POP using the
  678. Waterloo tcp_tick() routine.  Hopefully, this obviates extended periods where
  679. the server falls asleep!  Ensure "INACTIVE" and "SOCK_DELAY" in NET.INI aren't
  680. excessive.  (INACTIVE=60 and SOCK_DELAY=30 are appropriate.)
  681.  
  682.     - Returned makefile options used in B-39 to see if that solves problems on
  683. some systems with memory allocation routines, e.g. allocating for sockets.  One
  684. of the flags was for a standard stack frame.  I think this should fix the case
  685. where the POP mailbox wasn't checked unless there was outbound SMTP.
  686.  
  687.     - Revamped the BAD*.UUE check for mail originating locally, so it accepts
  688. mail in which the original message had been quoted and the original "From:"
  689. line appeared in text.  (Some mail systems, like cc:Mail, quote with just a
  690. separator line, leaving the original "From: you@where" in tact.)  It now looks
  691. only in the header for a match to determine if it's BAD*.
  692.  
  693.     - Added a definable Reply-To: field in NET.INI.  If defined, this address
  694. (up to 80 characters) will be used in the text of newsgroup posts.  It can be
  695. something like:
  696.  
  697. REPLYTO = edare{at}ix{dot}netcom{dot}com (change before responding!)
  698.  
  699.     - Fix from Zu Digital revamps NEWSNAME/NEWSPASS logic.  His local POP for
  700. Mindspring required authentication when the socket was initially opened, so the
  701. NEWSNAME and NEWSPASS are now presented at time of connection.  If your host
  702. does *not* require authentication, you *must* comment out the NEWSNAME and
  703. NEWSPASS lines in NET.INI, otherwise you'll get authentication errors!
  704.  
  705.     - Tweaked the socket error label completely in NEWS, so it does a clean
  706. exit when timeouts and session errors occur.
  707.  
  708.     - Changed the use of the "abort" variable while saving the text body in
  709. NEWS articles so it didn't chop off the message (stop writing it) after a
  710. [Space] or [Esc] command was issued.  The message now gets completed and
  711. processed normally as the last message read in that group.
  712.  
  713.     - Added a time synchronization routine (NTIME.EXE) which sets your DOS
  714. clock using a time server.  If you are unsure of your time server, use the one
  715. in the example below.  If the TIMEHOST is not defined in NET.INI or NTIME.EXE
  716. isn't in the BBS main directory, this routine will be skipped.  Add the
  717. following to NET.INI, below the SMTPHOST definition:
  718.  
  719.         TIMEHOST = ns.nctsw.navy.mil
  720.  
  721.     - Enhanced directory checking when receiving file so it places non-FDL
  722. files in the defined NOREQUEST_DIR in FDLFTS.CFG.  (If FDLFTS.CFG isn't there
  723. or the flag isn't defined, it will go to Sysop directory.)  Also, fixed a
  724. place where it wouldn't have found FDLFTS.CFG under normal circumstances.
  725.  
  726.     - Saw a first today -- a 0 octet (no size!) message was queued in my POP
  727. mailbox.  This returned a '0' to the calling routine (which uses the size), so
  728. I added code to delete it, close and update the mailbox when this happens.
  729.  
  730.     - Revised NEWS packet naming method to pass a complete filename to the
  731. routine which saves the message body.  In this manner, nothing in memory should
  732. corrupt the contents.  Added a "wait_closed()" upon error just in case.
  733.  
  734.     - Shortened up some oversized global variables in NETWORK to keep stack
  735. requirements below the default 4K.
  736.  
  737.     - Changed the display on total mailbox size to conform to the same display
  738. as sent SMTP messages, i.e. "(nnK)" vice "(nnnnn bytes)".
  739.  
  740.     - Removed a spurious "Maximum posts -" output string when retrieving binary
  741. groups.  (The max articles check in //BOARDEDIT is bypassed on binaries!)
  742.  
  743.     - Standardized/prettied up some displays when sending/receiving POP/SMTP
  744. messages.
  745.  
  746. Beta-50
  747.  
  748.     - Added a USERMAIL=Y/N option to NET.INI (see SAMPLE.INI).  This option
  749. bypasses the creation of an extended address form, i.e. the (USERNAME) which
  750. follows the user@domain in the originator field.
  751.  
  752.     - Changed the way RCPT TO passes recipient addresses during SMTP to conform
  753. to RFC, as I now understand it.  The MTA portion now relays outbound messages
  754. with any extended information outside of the wrapper, e.g.
  755. "RCPT TO:<user@whatever.domain> (extended_user_info)".
  756.  
  757.     - Incorporated Goose's fixes to stop NEWS crashing by waiting until the
  758. socket is closed before exiting.  Without this wait, there was still junk
  759. coming in the socket, even after the program exited!
  760.  
  761.     - Another Goose fix to address PPPSTATE error #255, by waiting two seconds
  762. to allow the PPP TSR to load and exit before running PPPSTATE, eliminating the
  763. possibility that PPPSTATE erroneously found no memory available.
  764.  
  765.     - In UU, added a routine to ensure the directory path for uploads to
  766. Sysop directory were explicit, e.g. "C:\WWIV\DLOADS\SYSOP" vice "DLOADS\SYSOP"
  767. (which is allowable on the BBS, but dangerous in external file operations!)
  768.  
  769.     - Eliminated an attempt to "QUIT" the POP session when encountering an
  770. error at initial connection.  (This meant the path was bad or the host was
  771. unavailable, therefore the "QUIT" command is unanswered, anyway!)
  772.  
  773.     - Added a QUIT directive during POP sessions where there is a clear fail
  774. returned to the client, e.g. bad mailbox or password, etc.  This is a nicety
  775. for our ISPs, so we always "clean up" after our POP session.
  776.  
  777.     - Now creates a backup of NEWS.RC at runtime as NEWS.BAK (in the FILEnet
  778. directory).  This was requested as a means of ensuring last read message
  779. pointers don't get trashed/lost as easily.
  780.  
  781.     - Modified the logic in an aborted NEWS sessions so the host would clear
  782. remaining buffers before returning to the calling routine, i.e. to empty the
  783. contents of any inbound stream so no junk got carried back!
  784.  
  785.     - Removed spurious "as UNK*.UUE" display when Internet mail is received
  786. and moved from the INBOUND to SPOOL directories.
  787.  
  788.     - Another Goose fix to prevent terminating an already null string in the
  789. treat() routine inside NEWS (causing the "attempt to access memory area already
  790. in use" error under some operating systems).
  791.  
  792. Beta-49
  793.  
  794.     - Oops... had a 50/50 shot and picked wrong!  Have now standardized memory
  795. allocation using malloc() calls vice farmalloc() calls, as was the case in B-39
  796. (which appears to have worked properly in retrieving mail!)
  797.  
  798.     - Again, changed the way the net_data variable is handled throughout NEWS.
  799. Last attempt caused more problems than it solved!  :(
  800.  
  801. Beta-48
  802.  
  803.     - Standardized memory allocation for the sockets in all modules.  This
  804. should address the problem of not picking up mail unless there's outbound
  805. mail to send.
  806.  
  807.     - Nailed down the variable overrun in NEWS causing abnormal exit after a
  808. line of garbage, i.e. "Can't create temporary packet <garbage>\INPUT1.MSG".
  809. The contents of a global variable ("net_data" which points to the network
  810. data directory) were getting trashed!
  811.  
  812.     - Redid NET.LOG update routine.  No longer reads entire existing file,
  813. line-by-line, but rather allocates the file as a memory block and writes the
  814. block after the additional entry is added to the top.  Measurably faster.
  815.  
  816.     - Added additional error checking to copy/move operations to prevent lost
  817. files.  Now ensures the directoryrec is unmodified before reading/uploading
  818. received files.  If modified directoryrec, e.g. filepoints, the files are kept
  819. in CHECKNET, as before.
  820.  
  821.     - Removed the unnecessary "Path:" field in email.  (This is used solely
  822. for Usenet posts in determining whether an article originated on the local
  823. system and should, thus, be skipped during retrieval.)
  824.  
  825.     - Added an "X-Reply-To:" field for hosted mailing lists to assist in
  826. allowing responses to the list from mailers which don't support the extended
  827. parentheses addressing.  The field is formatted using the originator, domain
  828. and mail list subtype, e.g. "MAILTYPE <user@whatever.domain>".
  829.  
  830. Beta-47
  831.  
  832.     - Fixed lost cursor after exiting news.
  833.  
  834.     - Recast strings in NEWS to 1024 bytes vice 512 and cast the temporary
  835. packet name as static, hopefully to prevent the overrun on some subjects
  836. (which bled into the temporary packet name!)
  837.  
  838.     - Added support for a secondary DNS.  Add "SDNS=<IP address>" under the
  839. current DNS (primary) tag in NET.INI.
  840.  
  841.     - Went back to standard malloc() calls for allocating memory for the
  842. sockets.  I had mismatched these in POP in B-46.
  843.  
  844.     - Added an explicit call to close the input file before proceeding in UU.
  845. This should eliminate any sharing violations, such as across a LAN.
  846.  
  847. Beta-46
  848.  
  849.    - Tweaked much more and built in lots of error checking into POP and NEWS,
  850. particularly.  Think we've got all potential lockups fixed.
  851.  
  852.    - Changed returned values in NEWS to standard, i.e. 0 or less for error
  853. and a positive integer for success.  This allowed me to standardize the
  854. sock_err routine for more accurate responses to socket problems.
  855.  
  856.    - Added internal FDL processing to UU.EXE.  For FDL feeds received via
  857. Internet mail, UU now puts them directly into the BBS (rather than using
  858. DE555.EXE) to keep the description and FDL type together with the file.
  859.  
  860.     - Added a "SLAVE" directive to NEWS before any transactions.  On some
  861. NNTP servers, the SLAVE command is used to give priority treatment to a
  862. connection, on the premise it's a "slave server" rather than a user.
  863.  
  864. Beta-45
  865.  
  866.     - B-44 was a lemon!  I distributed the wrong executables with the archive,
  867. and immediately after I found problems in error handling!  These caused nearly
  868. certain death crashes!
  869.  
  870.     - Fine-tuned error handling again.  (Found a condition which returned a
  871. (null) SMTP reply, which gave me something to work with!  This version really
  872. does respond to errors!
  873.  
  874. Beta-44
  875.  
  876.     - Returned to standard stack size (4K) in all modules.  These tweaks
  877. appear to have addressed only tertiary problems.  Reduced runtime memory
  878. requirements by about 20K.
  879.  
  880.     - Went back to basics on POP, starting with the core code of B-32 and
  881. progressing through the more recent changes.  Tweaked fallthroughs on socket
  882. errors.  Found an area where an attempt to close an open file would causing
  883. sharing violations.
  884.  
  885.     - Fixed a problem which incorrectly identified a quoted response to mail
  886. as BAD*.UUE (because it found the original "From:" line from the originating
  887. system).  It will now only perform a "bad" match that if the "From:" line is
  888. part of the new header.
  889.  
  890.     - Fixed a situation which has existed since the project began!  ALLMAIL
  891. wasn't honoring "ALLMAIL=N" if it detected the message as any type of UUE.
  892. This caused graphics files, archives and other UUEs to be retrieved, despite
  893. the ALLMAIL setting.  Thanks to Robert Kish for pointing this out (and anyone
  894. who may have in the past, although I didn't catch it!)
  895.  
  896.     - Corrected a problem which generated hard locks on NEWS retrieval (again
  897. in the sock_err handling! :(
  898.  
  899.     - Returned to linear display of sent/received messages, so now all
  900. transfers appear on a single line (for viewing at runtime).
  901.  
  902.     - Removed *lots* of unnecessary static data from NEWS (which is what
  903. allowed the return to default stack size!)  Now carrying the same mail socket
  904. allocation globally through routines, as opposed to one static allocation.
  905.  
  906.     - Killed the cstat() routine.  This returned the article-ID for any given
  907. article, but we weren't using that anywhere.  (I also suspect this is what
  908. caused the NEWS retrieval to randomly skip to the last message in the group!)
  909.  
  910. Beta-43
  911.  
  912.     - Squashed a nasty bug in POP which would cause SMTP to hang.  While I
  913. was in there, I tweaked the "sock_err:" label (the fallthrough for Waterloo
  914. problems), and it now appears to be more responsive now to errors.
  915.  
  916.     - Squashed a bug in the export() routine which caused a hard lock when
  917. certain types of messages were exported.  While I was in there, I tweaked
  918. handling of pipe codes and soft returns.
  919.  
  920. Beta-42
  921.  
  922.     - Changed the Path: field for newsgroups to use the FWDNAME and FWDDOM
  923. parameters if specified in NET.INI.
  924.  
  925.     - Removed closes to non-open files in the UU routines.
  926.  
  927.     - Added support for the "X-Sender:" parameter when EXP parses mailing
  928. list headers.
  929.  
  930.     - Re-fixed the problem where outgoing messages would be considered
  931. duplicates because the Message-ID field was the same as another message.
  932.  
  933.     - Made a change to the header detection logic to fix a problem where
  934. message text would sometimes be marked as hidden lines.
  935.  
  936.     - Removed the EXP limit of 14 mails processed at a time.  The problem of
  937. "too much mail" or "duplicate posts" was fixed in the previous beta.
  938.  
  939.     - Removed the code that tried to unload PPP.EXE if it returned an error
  940. code of "not loaded".
  941.  
  942.     - Fixed a longstanding problem with NEWS routine chead() which caused a
  943. premature "End of new messages" while scanning newsgroups.
  944.  
  945. Beta-41
  946.  
  947.     - Fixed problem in UU which caused received archive files (ARC-*.UUE) to
  948. remain in INBOUND.  (EXP decoded them repeatedly as SOME.MSG, SOME.001, etc.)
  949.  
  950.     - Rewrote max posts on sub lookup routine to solve problem with incorrect
  951. article number returned during news retrieval (which often caused only last
  952. message to be retrieved).
  953.  
  954.     - Allocated memory for POP and SMTP sockets on far heap (to match the
  955. method used in NEWS, which has been working successfully!)  Hopefully, this
  956. fixed the problem which caused POP to find no mail on host (when, in fact,
  957. there was mail waiting).
  958.  
  959.     - Added a second call to resolve SMTP host via DNS (mainly to compensate
  960. for slow nameservers).  This should reduce the occurrence of the "SMTP Socket
  961. failure" errors during outbound mail delivery.
  962.  
  963.     - Updated contact information in header to my new ix.netcom.com address.
  964. (This actually happened in B-39 or B-40, but wasn't noted in CHANGES.DOC!)
  965.  
  966. Beta-40
  967.  
  968.     - Returned to some known good values for stack (B-32 and B-34).
  969.  
  970.     - Cleaned up excess variables in various modules.
  971.  
  972.     - Fixed [Spacebar] group skip during news retrieval so it responds when
  973. someplace else than message retrieval.
  974.  
  975.     - Fixed a couple bad read-write opens for CONFIG.DAT -- shouldn't have
  976. been doing that.
  977.  
  978. Beta-39
  979.  
  980.     - Added a "Path" field to outbound articles.  This will now be used to
  981. track whether articles originated locally (and are skipped during retrieval),
  982. instead of the "Organization" field in previous versions.  This was required
  983. because some news servers assign their own Organization field.
  984.  
  985.     - Strips pipecodes and heart colors from newsgroup articles during
  986. export process (including titles, which got lost a few betas ago!)
  987.  
  988.     - Compiled with stack checking, hopefully to narrow down the problems
  989. associated with low stack.  If you receive any warnings, please advise me.
  990.  
  991.     - Fixed a problem which caused "441 Duplicate Article" responses for
  992. newsgroup posts (resulting from exported articles during the same second).
  993.  
  994. Beta-38
  995.  
  996.     - Played with the _stklen a bit more to tweak varying requirements among
  997. several systems reporting problems with B-36/37.
  998.  
  999. Beta-37
  1000.  
  1001.     - Distributed wrong NETWORK.EXE with Beta-36!
  1002.  
  1003. Beta-36
  1004.  
  1005.     - Changed stack length declarations in the main and support modules to see
  1006. if that fixes symptoms of no stack, i.e. lockups after NEWS runs, etc.
  1007.  
  1008.     - Repositioned the file pointer close routines in UU so all files were
  1009. closed prior to copying/moving/deleting (to fix reported sharing violations).
  1010.  
  1011. Beta-35
  1012.  
  1013.     - Supports outbound mailing lists (i.e. hosted lists).  Create a file
  1014. M<subtype>.NET for the list of recipients (subscribers) to your list.
  1015.  
  1016.     - Handles CONTACT.NET update without allocating memory on the heap, which
  1017. caused insufficient memory errors in Beta-33/34 on several systems.
  1018.  
  1019.     - Now is case-insensitve while matching the mailing list owner fields
  1020. (in NET.INI) for mailing lists you belong to.
  1021.  
  1022.     - Uses the actual date from articles and mail, if one is found.
  1023.  
  1024.     - Replaces soft returns (from QWK packets) with normal returns.
  1025.  
  1026. Beta-34
  1027.  
  1028.     - Hopefully, a fix for memory allocation routines on CONTACT.NET update
  1029. by allocating/deallocating memory each time CONTACT.PPP (the pointer files to
  1030. your Internet connections) is created.
  1031.  
  1032.     - Changed the method for outbound packet naming, eliminating the one
  1033. second delay between encoding each packet.  That should run appreciably
  1034. faster now.
  1035.  
  1036.     - Stuck in support for the "Sender:" parameter when EXP parses mailing
  1037. list headers (requested by Eileen Stone).  This is Goose's realm, but it
  1038. seemed like an easy change! :)
  1039.  
  1040. Beta-33
  1041.  
  1042.     - Removed the @###.FILEnet from the default tagline, as some sysops are
  1043. using the PPP Project Software without actually being a member of FILEnet.
  1044.  
  1045.     - Fixed a problem where messages that had a line starting with the word
  1046. "begin" would be incorrectly identified as network packets.
  1047.  
  1048.     - Changed the connect time code so that all Internet based systems will
  1049. have their last time of connect reset after a successful SMTP/POP session.
  1050. The time of connect of any direct dial systems is not affected.
  1051.  
  1052.     - Fixed the code so that it will properly use the ADDRESS.# files
  1053. rather than ADDRESS.NET.  Also fixed the problem with the - sign in ADDRESS.0
  1054. to indicate a direct dial connection not working.
  1055.  
  1056.     - Put the return path back into the logic for the name matching routines
  1057. for the maillist to sub logic.  Some listservers use one and some use the
  1058. other.
  1059.  
  1060.     - Changed the success and failure levels for the PPP modules so that
  1061. Ctrl-C will return a fail result, rather than a pass.  This keeps outgoing
  1062. packets from being improperly deleted.
  1063.  
  1064.     - <Space> now aborts transfer of the current message during an SMTP
  1065. session.  This allows you to bypass a message on the current run, while
  1066. saving it for transfer later.
  1067.  
  1068.     - Changed some of the text display, during transfers and (lesser seen)
  1069. error result messages.
  1070.  
  1071. Beta-32
  1072.  
  1073.     - Email messages containing the encoded WINMAIL.DAT or WINMAIL.MSG files
  1074. will not be erroneously identified as UUE files.  The WINMAIL encoded lines
  1075. are also marked with the ^D0R header to prevent display on the BBS.
  1076.  
  1077.     - Changed the name matching routines for mailling lists (again) to fix a
  1078. problem introduced in beta 30 which made the name match routines always fail.
  1079.  
  1080.     - Made some changes to the logic for creating the WATTCP.CFG file to
  1081. try to prevent the "Can't create WATTCP.CFG" problem.
  1082.  
  1083.     - Removed POP.DBG.  Now uses "MOREINFO" flag in NET.INI to provide debug
  1084. (extended dialog) information with POP/SMTP hosts.
  1085.  
  1086. Beta-31
  1087.  
  1088.     - Recompiled under BC4 to address the "Can't create WATTCP.CFG" problem.
  1089.  
  1090. Beta-30
  1091.  
  1092.     - Fixed a problem where the memory for mailling lists was improperly
  1093. allocated or freed.
  1094.  
  1095.     - The code now ignores the Return-Path line in messages.  This would
  1096. sometimes cause the return address to get assigned incorrectly.
  1097.  
  1098.     - Fixed a problem where the message Name is *after* host would be
  1099. displayed when the < > surrounded the id but no user name was included.
  1100.  
  1101.     - Fixed a problem where Beta-29 which left the INSTANCE.DAT file open.
  1102.  
  1103.     - The "N*.NET is missing" warning message was removed, since it won't
  1104. exist if @32767 is set up as the host rather than a subscriber.
  1105.  
  1106.     - Fixed a problem in the display of the sub type when message were
  1107. received to a maillist sub.
  1108.  
  1109. Beta-29
  1110.  
  1111.     - Changed the multitasker detection logic so that Windows 95 and OS/2
  1112. will be reported correctly, even if NETBIOS support is also enabled.
  1113.  
  1114.     - Fixed a problem where the newsgroup pointer could be incorrectly set if
  1115. <Esc> or <Space> was pressed to abort newsgroup retrieval.
  1116.  
  1117.     - Newsgroups are no longer deleted from NEWS.RC when an unrecoverable
  1118. error occurs.  Instead, an SSM is sent to the sysop account, so that the
  1119. appropriate action can be done.
  1120.  
  1121.     - Fixed a problem in NEWS where the crossposted or returned messages
  1122. were not being deleted for the first group listed in NEWS.RC.
  1123.  
  1124.     - Fixed a problem that would be created by messages with long subject
  1125. lines or recipient name.
  1126.  
  1127.     - EXP now reports if the *subtype (asterisk before subtype) is missing in
  1128. the mailling list section of NET.INI.
  1129.  
  1130.     - Fixed a problem which resulted in mailling list messages not ending
  1131. up on the subboard if the "reply-to" address format included any additional
  1132. information han the Internet mailing address.
  1133.  
  1134.     - Fixed a problem where Internet mail would not get sent out on the
  1135. current connect if no network packets were pending.
  1136.  
  1137. Beta-28
  1138.  
  1139.     - Added the first cut at support for putting Internet Mailing Lists to a
  1140. subboard.  To do this, you need to add a section to the NET.INI file as
  1141. shown.  The email name should be the name that the emails are posted from,
  1142. the subtype can be alpha or numeric (don't forget to make the N*.NET file).
  1143.  
  1144. ;
  1145. ; Mailing List Section - used to define internet mailing lists that are to
  1146. ; be retrieved into a message base rather than EMAIL.
  1147. ;
  1148. [MAILLIST]
  1149. ; email_name   subtype    (NOTE: Asterisk (*) is required!)
  1150. my_listserv@domain.com *1000
  1151.  
  1152.     - Changed the open mode for the WATTCP.CFG configuration file, to fix the
  1153. problem some systems see with the software trying to read this file before it
  1154. has been rewritten by the TCPWAT program.
  1155.  
  1156.     - Makes sure any received packets are renamed before the NETWORK routines
  1157. are called, so all received packets are processed after the current call.
  1158.  
  1159.     - Changed the return address for messages which are received with the
  1160. format "User Name <id@site>" to the more standard "id@site (User Name)"
  1161. format.  This keeps replies from hosing the SMTP server and getting the
  1162. SMTP socket connect failed error message (at least for this case).
  1163.  
  1164.     - Fixed a problem where posts that were sent out on a newsgroup would be
  1165. reposted when the message was received back from the newsserver.
  1166.  
  1167.     - Allows Internet-based subs to be set up with @32767 as the host rather
  1168. than a subscriber.  This allows Network Validation for outgoing posts, but
  1169. prevents the subs from being networked to other BBS's.
  1170.  
  1171.     - Added support for XPOSTS=0, which turns off cross-post detection
  1172. for newsgroups.
  1173.  
  1174.     - Changed the originator on network packets to be the real account name
  1175. rather than the forwarding service name, to allow for the correct
  1176. identification of bounced packets.
  1177.  
  1178.     - Changed the NEWS log file logic that seemed to sometimes cause crashes
  1179. while retrieving newsgroups.
  1180.  
  1181. Beta-27
  1182.  
  1183.     - Increased _stklen variable in the hope it addresses problems from some
  1184. systems running out of stack space during runtime.
  1185.  
  1186.     - Supports Waterloo TCP/IP "INACTIVE" vice "SOCK_INACTIVE" in WATTCP.CFG,
  1187. which should properly respond to lost carrier, poor IP connections, etc.
  1188.  
  1189.     - The CLEANUP option in NET.INI now will execute FLINK and LINKER only,
  1190. instead of spawning NETWORK1/2 for normal BBS cleanup.  Some systems were
  1191. running out of memory during this process, and it was redundant of the BBS.
  1192.  
  1193.     - Makes two passes in MQUEUE on each run to assist those whose provider
  1194. didn't settle handshaking immediately after connect.
  1195.  
  1196.     - Reads in alpha subtypes from NEWS.RC in upper case now to prevent
  1197. problems in finding subtypes on the BBS.
  1198.  
  1199.     - Honors the <TAB> character in received newsgroup articles.  This was
  1200. causing some text to be skewed (originating from mail readers which didn't
  1201. substitute space).  Also properly terminates the received strings, so the
  1202. spurious characters at the end-of-line on newsgroups should be fixed.
  1203.  
  1204. Beta-26
  1205.  
  1206.     - Fixed bug which caused binary groups to get sent into the bit bucket
  1207. during retrieval.  Self-inflicted wound in Beta-25 with addition of alpha
  1208. subtypes.
  1209.  
  1210.     - Changed CONTACT.NET update to a new method.  CONTACT.NET is now
  1211. updated for each system for whom the program prepares a packet.  In this
  1212. manner, it now reflects what gets sent to each system uniquely.
  1213.  
  1214.     - Tweaked the routines which read/write WATTCP.CFG.  This should get rid
  1215. of any problems associated with that, including creating 0 byte files and
  1216. inability to create WATTCP.CFG at runtime.
  1217.  
  1218.     - Forced a newline at the beginning of each newsgroup article.  This
  1219. ensures that the text of a message doesn't begin on the same line as the
  1220. RE:.
  1221.  
  1222. Beta-25
  1223.  
  1224.     - I didn't get all the changes/enhancements into this beta which I'd
  1225. hoped.  There are a great deal of functional changes below, and the todo
  1226. list is a bit smaller, but there's still work before the release of
  1227. version 2.  Please report any problems you find.
  1228.  
  1229.     - First stab at "AUTHINFO" directive used by NNTP to validate username
  1230. and password.  I could find no governing RFC, so a lot of this is in the
  1231. blind until I can set up an NNTP host which supports it.  If your news host
  1232. requires a Userid and Password for login (such as GTE), add the following to
  1233. the [NEWS] section of NET.INI:
  1234.  
  1235.         NEWSNAME = <username>
  1236.         NEWSPASS = <password>
  1237.  
  1238. The initial feedback is that this function is working properly, but it may need
  1239. fine-tuning.
  1240.  
  1241.     - The trailing '.' on each Internet email message is now bypassed in email
  1242. retrieval, so it won't be displayed to users viewing it on the BBS.
  1243.  
  1244.     - Nailed down the stacked "RE: RE: RE:" found in newsgroup responses.
  1245.  
  1246.     - Added "Continued in next message..." as the final line in newsgroup posts
  1247. which exceed 32K (and become split into multiple parts) and "Continued from
  1248. previous message..." on trailing parts.
  1249.  
  1250.     - Fixed the news and mail time/byte entries in NET.LOG, so each is
  1251. maintained uniquely now.  If you use ONECALL in NET.INI, you will get two
  1252. entries (one for @32767 and the other for the system you called), each with
  1253. its own bytes and time.
  1254.  
  1255.     - Added definable maximum cross-posts before newsgroup article is skipped.
  1256. New entry to NET.INI in [NEWS] section reads:
  1257.  
  1258.         XPOSTS = nn
  1259.  
  1260. where 'nn' is a number between 1 and 99.  (Setting this to '1' will reject any
  1261. message crossposted to another newsgroup.)
  1262.  
  1263.     - Added support for the PPPURGE utility which cleans up the SENT directory
  1264. externally.  By adding "PURGE=N" to the [GENERAL] section in NET.INI, you can
  1265. bypass packet cleanup during normal network routines.  You must then add
  1266. "PPPURGE <days>" to your external event batch file to kill SENT files.
  1267.  
  1268.     - Tweaked internal stack size which seems to stabilize problems resulting
  1269. from line noise (modem), lost connections during transfers, etc.  Need more
  1270. feedback on reliability of these changes, so we don't introduce new bugs!
  1271.  
  1272.     - Overrides net validation for newsgroup posts received from the Internet,
  1273. but leaves normal validation intact for other methods.  This is useful for
  1274. anyone who gates newsgroups with netval, as it lets the Internet stuff flow
  1275. through unimpeded but still validates BBS-originating posts.
  1276.  
  1277.     - Added internal support for the FWDNAME and FWDDOM parameters from
  1278. NET.INI.  If defined in the [GENERAL] section, these will be used for the
  1279. headers of email and newsgroup posts.  This is helpful for anyone using a
  1280. forwarding service, such as bigfoot.com, as their BBS mail host.
  1281.  
  1282.     - Fixed a problem in the UUDECODE routines where the output file was
  1283. not being deleted if an error was detected during processing.  This would
  1284. cause the partial file to be processed by the remaining NETWORK routines,
  1285. which could result in crashes.
  1286.  
  1287.     - Added support for individual ADDRESS.* files.  ADDRESS.1 and up are
  1288. maintained by the GC's.  ADDRESS.0 is a local file, which can be used to
  1289. limit callouts to particular systems.  To force a normal (modem) callout to a
  1290. system, create ADDRESS.0 in the following format:
  1291.  
  1292.         @node -      (the minus sign indicates use direct call)
  1293.  
  1294.     - Added another check for returned packets.  If the packet "from:"
  1295. name matches the name and domain defined in the INI file, the packet is
  1296. assumed to be a returned packet as well.  Apparently not all ISP's use the
  1297. standard "mailer-daemon" approach for identifying returned packets.
  1298.  
  1299.     - Changed the sleep() call in NETWORK.EXE to a delay() call used when
  1300. the socket is being established.  Some systems appear to hang using the
  1301. sleep() call.
  1302.  
  1303.     - Added the KLOSV146.ZIP file to the archive.  These are the latest PPP
  1304. drivers from KLOS, patched to remove the Windows detection code.
  1305.  
  1306.     - Added support for alpha subtypes in NEWS.C (defined in NEWS.RC).
  1307.  
  1308.     - Fixed routines to clean up after a file is received via Internet mail.
  1309. Copies are no longer saved in CHECKNET and SPOOL.
  1310.  
  1311.     - Added PURGE option to [GENERAL] area, intended to be used with new
  1312. PURGE.EXE utility.  PURGE.EXE will clean out your SENT directory as part of
  1313. the external event (and not when the program runs).  Set PURGE=N in NET.INI,
  1314. then add PURGE.EXE to your external batch file.
  1315.  
  1316.     - Added support for '_' in CALLOUT.NET to indicate non-Internet system.
  1317.  
  1318.     - Added support for user-definable anti-spam originating address.  If
  1319. 'SPAMCONTROL=Y' is defined in NET.INI, you can also add:
  1320.  
  1321.         SPAMADDRESS=whoever@whatever.address
  1322.  
  1323. If SPAMADDRESS is not explicitly defined, the anti-spam address now reads:
  1324.  
  1325.         realname@dont.spam.me.real.address (Username)
  1326.  
  1327.     - Cosmetic modification to NET.LOG entry when nothing is sent.  Adds a
  1328. comma (,) to conform to the normal network software method.
  1329.  
  1330.     - Now auto-trims NEWS.LOG, keeping a maximum of 800 lines (about three
  1331. days worth) of NEWS entries.  Trim is accomplished at the last full session
  1332. entry (a complete news session) at or above the 800 line mark.
  1333.  
  1334.     - Supports random signature files for newsgroups and email.  Naming format
  1335. for the signature files is:
  1336.  
  1337.         I<subtype>.Txx
  1338.  
  1339. where 'xx' is a number between 0 and 99.  For example, to create random
  1340. tags for subtype "12345", create files "I12345.T01", "I12345.T02", etc.  If
  1341. no random tags are found, "I12345.TAG" will be used, as before.
  1342.  
  1343.     - Now properly removes BBS tagline indicators (the ^Dx prefix for each
  1344. line in a BBS or personal tagline).  Note that these will be preserved, in
  1345. addition to the I*.T* signature files.
  1346.  
  1347. Beta-24
  1348.  
  1349.     - Added hook to EXP to call after network packets/mail are received, so
  1350. any Internet mail is processed immediately after receipt.
  1351.  
  1352.     - Count transfers (sending/receiving packets) in 512 byte increments vice
  1353. 1K now... cosmetic.
  1354.  
  1355.     - Encoding and transfer of packets is now kept on a single line vice
  1356. scrolling down the screen... again, cosmetic.
  1357.  
  1358.     - Tweaked import() routine in EXP to narrow down scrambled headers
  1359. reported by some systems.
  1360.  
  1361.     - Added total files/bytes detail to display after successful packet
  1362. transfers.
  1363.  
  1364.     - Added SSMs to be sent to the #1 account upon receipt of archive
  1365. files or bad packets moved into CHECKNET.
  1366.  
  1367.     - Added file-sharing, timeslicing routines to EXP.
  1368.  
  1369.     - Added board-specific tagline file support.  File should be in the
  1370. BBS DATA\ directory and be named I<subtype>.TAG, for example on subtype
  1371. 10001 file would be I10001.TAG.
  1372.  
  1373.     - Fixed logic when an invalid newsgroup is requested and server returns
  1374. 501 response.  It now skips the group and removes the invalid group name from
  1375. NEWS.RC automatically.
  1376.  
  1377.     - INSTALL.C/EXE is in here now.  It needs some work before broader
  1378. release, though.
  1379.  
  1380. Beta-23
  1381.  
  1382.     - Messed up parsing logic in EXP when comparing against name fields with
  1383. an underscore replacing the space.  Fixed, I hope.
  1384.  
  1385.     - Various tweaks to socket code.  I hope these address the problems some
  1386. folks have been having with the modem falling asleep.
  1387.  
  1388.     - Included POP.DBG in this archive to show dialog between you and your
  1389. servers and help in the debugging process.  Copy POP.DBG to POP.EXE before
  1390. installing.
  1391.  
  1392. Beta-22
  1393.  
  1394.     - Implements controls for Waterloo TCP socket inactivity across modules,
  1395. SOCK_DELAY and SOCK_INACTIVE.  By default, these are set to 30 and 60 seconds,
  1396. respectively.  They may be defined in NET.INI, as follows:
  1397.  
  1398. ; Time from sending an IP packet to response from DNS.
  1399. SOCK_DELAY = 30
  1400. ; Max time without socket activity.
  1401. SOCK_INACTIVE = 60
  1402.  
  1403.     - The sockets are now malloc() on the far heap again (as Goose properly
  1404. had them before).  I thought this may have been the culprit in the lost
  1405. activity timer.  When I fixed the item above, it actually crashes the client
  1406. when trying to free them from the near heap!
  1407.  
  1408.     - Removes WWIV heart color codes from titles and originator names.
  1409.  
  1410.     - Implemented ONECALL=Y/N in NET.INI to retrieve messages and newsgroups
  1411. on a single call.
  1412.  
  1413.     - Added timeslicing routines in POP and NEWS.  Would appreciate feedback
  1414. from anyone using "activity meters" to see if this helped anything, although
  1415. I suspect I have to use a different buffered I/O routine aside from fprintf()
  1416. to accomplish anything.
  1417.  
  1418. Beta-21
  1419.  
  1420.     - Urgent fix for dial-out problems to modem users.  Beta-20 was showing
  1421. "must specify phone number" because of the way I was constructing the
  1422. commandline.
  1423.  
  1424.     - Various other tweaks/enhancements which will be detailed better in the
  1425. next beta.  (It's late!)
  1426.  
  1427. Beta-20
  1428.  
  1429.     - Urgent fix for a problem in news retrieval where it wasn't finding the
  1430. NEWS.RC, I hope!
  1431.  
  1432.     - NET.INI addition:
  1433.  
  1434. ; Will retrieve mail and newsgroups on single call
  1435. ONECALL = Y
  1436.  
  1437. Beta-19
  1438.  
  1439. Additions to NET.INI (for now, grab Quixotic Quest's FAQ for a full NET.INI
  1440. and meanings).  Under [NEWS] tag, add:
  1441.  
  1442. ; If defined, puts a bogus originating address on newsgroup posts.
  1443. SPAMCONTROL = Y
  1444. ; If defined, uses file as a signature file to all newsgroup posts.
  1445. SIGNATURE = D:\WWIV\GFILES\INTERNET.TAG
  1446.  
  1447. Various code changes:
  1448.  
  1449.     - POP now receives messages to an INBOUND directory under the network data
  1450. directory instead of syscfgovr.tempdir.  This will help in case of lost
  1451. connections... received packets will remain in the INBOUND area until cleaned
  1452. out by other routines (UU, etc.)
  1453.  
  1454.     - Waterloo wasn't returning from the macro for sock_err:.  Tweaked quite a
  1455. bit, including allocating the tcp sockets on the near heap (again!).  I wish
  1456. we could return(x) from sock_err: but return values vary among different
  1457. functions... consistency is something for a future release.  If this doesn't
  1458. clear things up, we can exit(x) from the macro and allow the OS to do its own
  1459. cleanup for file handles, memory and such.
  1460.  
  1461.     - parse_ini() in network.c wasn't toupper() on s[0] properly, so lower
  1462. case 'y' and 'n' parameters weren't being honored.
  1463.  
  1464.     - Places ^D0R before header lines on received email.  These lines are
  1465. suppressed on display to user on the BBS, but may be extracted to provide
  1466. routing info.  Required changes both to POP and EXP, in order to detect/skip
  1467. ^D0R when comparing strings.
  1468.  
  1469.     - Uses underscore between multiple parts of user name on exported mail
  1470. (e.g. The_Great_White_Whale).  For backward compatibility, it matches both
  1471. space and underscore when comparing against user list.
  1472.  
  1473.     - Detects bounced mail by comparing originating address (from: line)
  1474. against known mail-bouncers, including "Mailer-Daemon", "Administrator", etc.
  1475. Bounced packets are named as BAD*.UUE and will remain in INBOUND for review,
  1476. as they're skipped during UU decode routines.  To recycle a packet, rename it
  1477. from BAD*.UUE to PKT*.UUE.
  1478.  
  1479.     - Displays 20 characters of packet originator while receiving (purely
  1480. cosmetic).  Tracked that for the above item, so figured we'd display it.
  1481.  
  1482.     - "SPAMCONTROL=Y" in NET.INI [NEWS] tag uses a bogus originating address
  1483. ("nowhere@no.net") to prevent email scoopers from finding a good address.
  1484. Also when defined, the "Reply-To:" field is omitted but a correct return
  1485. address is prepended as text to the body of message.
  1486.  
  1487.     - Supports a "signature" file defined in NET.INI [NEWS] tag, as described
  1488. above.  Format is: "SIGNATURE = [path/filename]".  Contents are read into
  1489. outbound mail during export, so length is unlimited.  If it finds ANSI, it'll
  1490. choke!  If a SIGNAURE is not defined or the file doesn't exist, it uses the
  1491. previous "Origin: * blah" tagline.
  1492.  
  1493.     - If mh.toUserName is "ALL" (ie. a first post on topic), skips the
  1494. "Responding to: ALL" in body of message... seemed redundant.
  1495.  
  1496.     - NEWS now skips the following messages during retrieval:
  1497.  
  1498.       - messages cross-posted to more than 10 newsgroups on the assumption
  1499.         that they're spammed across multiple groups.  The figure 10 is an
  1500.         arbitrary but hard-coded for now into NEWS.
  1501.  
  1502.       - any message cross-posted to another group defined earlier in NEWS.RC,
  1503.         e.g. if you define comp.games and comp.games.adventure in NEWS.RC, it
  1504.         will skip messages on comp.games.adventure which were cross-posted to
  1505.         comp.games.
  1506.  
  1507.       - any message which originated from your system as indicated by the
  1508.         "Organization:" field appended during export.
  1509.  
  1510.     - NEWS now allows you to hit <space> to skip to the next group defined in
  1511. NEWS.RC.  It doesn't "catch-up" lastread pointers for the skipped group, but
  1512. simply writes the current message pointer to NEWS.RC for your next run.  If
  1513. there's reason for a "catch-up" key, let's discuss it.
  1514.  
  1515. There are probably others, but you'll find them as you go.
  1516.  
  1517. Frank
  1518.  
  1519.