Skip to content
Snippets Groups Projects
  1. Mar 04, 2018
    • deuce's avatar
      Mail server support for Opportunistic TLS. · f1910cbe
      deuce authored
      Support STARTTLS in SMTP and STLS in POP3.  This includes the sendmail
      thread.  Clients can now be configured to use STARTTLS with Synchronet
      mail services, and Synchronet will attempt to deliver securely when
      possible (though it will fall back to plain text delivery when necessary.)
      
      This touches a *lot* of mail server stuff, so some instability is not
      unlikely.
      
      Of course, RFC8314 (Jan, 2018) officially recommends implicit TLS on the TLS
      ports now, so support for that should be next.
      f1910cbe
  2. Nov 15, 2017
  3. Aug 26, 2017
    • rswindell's avatar
      The SMTP received mail notice and forward notice (short messages/telegrams) · 53f8e5ec
      rswindell authored
      are now configurable via the following news keys in the [Mail] section of the
      sbbs.ini file:
      	NewMailNotice
      	ForwardNotice
      
      Using the newly updated string literal support to allow for Ctrl-A codes using
      C charater literal notation (\1) for control-A codes and standard C-escaping
      of carriage-return (\r), line-feed (\n), etc.
      Beginning and trailing space characters are also preserved (if specified) in
      the key values.
      
      The default strings are updated/different from what was previously hard-coded
      in mailsrvr.c. If you want the local timestamp (back) in the notice, change
      the '%.0s' in the default string to just '%s'.
      53f8e5ec
  4. Nov 28, 2016
  5. May 18, 2016
    • rswindell's avatar
      Implement IP temporary ban: · 7da4af1b
      rswindell authored
      By default, after 20 consecutive (unique) failed login attempts, *or*
      a failed login attempt wtih a name from the name.can filter file.
      The default temporary ban duration is 10 minutes.
      The temporary ban thershold is configurable via LoginAttemptTempBanThreshold
      in sbbs.ini and the ban duration is configurable via LoginAttemptTempBanDuration
      (in seconds).
      7da4af1b
  6. Aug 29, 2015
    • rswindell's avatar
      Fix broken dns_getmx() (since Ipv6 commit): mail_open_socket() no longer opens · a2b252a8
      rswindell authored
      a socket (and returns void), but mxlookup.c did not know this because it had
      its own prototype for this function (lazy, I know).
      - moved the prototypes for mail_open_socket and mail_close_socket to mailsrvr.h
      - use socket() to create the (single) socket (is not a multisock, does not do
        IPv6)
      - this was the cause of the "getting socket option type" errors in the
        error.log that began showing up recently. Good thing it had a "LOG_ERR"
        log level or I probably would not have noticed for a long time. :-)
      a2b252a8
  7. Aug 22, 2015
  8. Aug 20, 2015
    • deuce's avatar
      Update to 3.17a · dbbfabf1
      deuce authored
      New Features:
      - Multiple bindings for each service
        Use comma-separated interfaces on Interface= lines in the ini file.
        Default is now "0.0.0.0,::"
      - IPv6 support
      - TLS support for the webserver and (non-static) services
        New TLS option in services.ini (ie: Options=TLS)
      - Decrease LEN_SCAN_CMD to 35 chars, increase the CID field to 45 chars,
        and rename the MAIL_CMD string to IPADDR.  I think this frees up the
        note field for SysOp use.
      dbbfabf1
  9. Nov 20, 2014
  10. Jan 04, 2014
  11. Sep 10, 2011
    • rswindell's avatar
      Support non-blocking connects in the sendmail thread. · 245d1e6d
      rswindell authored
      The connect timeout is now configurable in sbbs.ini [Mail] ConnectTimeout
      (default = 30 seconds), set to 0 for blocking connections (and OS-default
      timeout).
      245d1e6d
    • rswindell's avatar
      Mail server improvements: · bf674809
      rswindell authored
      - if configured max recipients = 0 means unlimited (for all users)
      - max recipients limit is applied to pending send emails (non-M-exempt users)
      - M-restricted users can not receive unauthenticated SMTP mail messages
      - Introduced inbox msg limit (for non-M-exempt users) with sbbs.ini [Mail]
        MaxMsgsWaiting value (default: 100), 0 = unlimited
      bf674809
  12. Sep 01, 2011
  13. Oct 25, 2009
    • rswindell's avatar
      Added errormsg callback function pointer to all startup structures to allow · e5da08ed
      rswindell authored
      error counting/logging/messages to be handled by front-end (e.g. control panel)
      regardless of log_level setting.
      Mail server now filters blocked-subjects before applying DNSBL tag.
      Received message header TO and FROM fields are no longer checked against the
      email.can file for SMTP-authenticated clients.
      SMTP MAIL FROM and RCTP TO addresses are no longer checked against the
      email.can file for SMTP-authenticated clients.
      Statistics are displayed in a more legible manner when the mail server is
      terminated.
      The msgs_received stats counter now includes blocked and ignored messages too.
      e5da08ed
  14. Aug 14, 2009
    • rswindell's avatar
      Added JS load() search path extensibility: · f45e2156
      rswindell authored
      Configurable via ctrl/sbbs.ini file JavaScriptLoadPath key value
      (comma-separate listed of search directories), default value is "load".
      This list is exposed in the JS object model via the js.load_path_list array
      (may be modified by scripts).
      For JSexec, the default load path list may be over-ridden with the '-i' option.
      For relative load paths (e.g. not beginning with '/' or '\'), the path is
      assumed to be a sub-directory of the (configurable) mods or exec directories
      and is searched accordingly.
      So, by default, load("somefile.js") will search in this order:
      mods/load/somefile.js
      exec/load/somefile.js
      mods/somefile.js
      exec/somefile.js
      f45e2156
  15. Jun 04, 2008
  16. Feb 23, 2008
  17. Feb 13, 2008
  18. Jan 07, 2008
  19. Dec 27, 2006
  20. Dec 02, 2006
    • rswindell's avatar
      Do not allow receipt of mail for built-in sysop aliases (i.e. "sysop" and · 2560434d
      rswindell authored
      "postmaster") unless the ALLOW_SYSOP_ALIASES option is enabled
      (disabled by default) or the alias is specifically listed in the ctrl/alias.cfg
      file.
      Also, if the alias.cfg file correlates a user *number* with an alias, support
      receipt of mail to that alias even if the RX_BY_NUMBER option is not enabled.
      This allows us to use '1' instead of 'sysop' in the default alias.cfg file.
      2560434d
  21. Sep 15, 2006
    • rswindell's avatar
      Replace the "log mask" concept with a much simpler "log level" concept: · 76a64bca
      rswindell authored
      instead of a bit-mask representing all the log levels to actually "see", use a
      single numeric (or nmemonic) level value (ERROR, WARNING, NOTICE, etc.)
      and less severe log levels (levels with a higher numeric value) will be filtered
      (e.g. not "seen" or logged). It's the basic syslog() concept.
      76a64bca
  22. Apr 21, 2005
  23. Feb 18, 2005
    • rswindell's avatar
      Overhaul of temp directory usage: · 7b29a54b
      rswindell authored
      No more temp files in data or data/temp.
      ctrl_dir/../temp (e.g. sbbs/temp) is the new default temp dir.
      Each server has its own separately configurable temp dir.
      BBS events (e.g. QWK packet processing) now have their own exclusive-use
      temp dir (e.g. sbbs/temp/event).
      All server threads will attempt to create and verify the validity of their temp dir.
      System temp dir is only the default global temp dir for Unix (i.e. /tmp), since
      the Windows default temp dir (e.g. C:\DOCUME~1\Rob\LOCALS~1\Temp) is not
      particularly friendly or attractive.
      7b29a54b
  24. Nov 06, 2004
  25. Nov 03, 2004
  26. Oct 28, 2004
  27. Oct 27, 2004
  28. Oct 23, 2004
  29. Oct 20, 2004
  30. Sep 26, 2004
  31. Jul 02, 2004
  32. Dec 13, 2003
  33. Dec 07, 2003
  34. Oct 21, 2003
  35. Oct 15, 2003
  36. Oct 11, 2003
  37. Oct 09, 2003
Loading