Skip to content
Snippets Groups Projects
  1. Mar 06, 2018
  2. Mar 05, 2018
  3. Mar 04, 2018
    • rswindell's avatar
      Fix potential bug: · 8bb58267
      rswindell authored
      If caller doesn't zero-initialize smb_t, then the 'lock' member could've
      been non-zero (garbage) and some functions would then not lock the SMB
      header, used for protecting against corruption from multiple process or thread
      modification of the same base.
      8bb58267
    • rswindell's avatar
      Use easier-to-understand .ini keys and options in the [mail] section · 4fbfe49d
      rswindell authored
      for new TLS-related settings:
      SubmissionsPort -> TLSSubmissionPort
      POP3SPort -> TLSPOP3Port
      USE_TLS_SUBMISSIONS_PORT -> TLS_SUBMISSION
      USE_POP3S_PORT -> TLS_POP3
      There was actuall a typo in the "USE_POP3S_PORT" string anyway. <shrug>
      4fbfe49d
    • rswindell's avatar
      Re-lock the msg base in packmsgs() when re-opening (to set status header), · cd8785e2
      rswindell authored
      so that the smb_unlock() in main() doesn't fail and display the harmless
      error:
      Error -207 (smb_unlock 2 'No such file or directory' removing mail.lock)
      unlocking mail
      cd8785e2
    • deuce's avatar
      Add support for mail TLS ports. This adds two new keys to sbbs.ini Mail · a49b91d7
      deuce authored
      section:
      
      POP3SPort=995
      SubmissionsPort=465
      
      And two new mail options:
      USE_SUBMISSIONS_PORT
      USE_POP3SS_PORT
      
      These are the last of the two option bits for the mail server.
      a49b91d7
    • deuce's avatar
      Add pop3s and submissions ports · 268bce9c
      deuce authored
      268bce9c
    • 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
Loading