• src/sbbs3/mailsrvr.c mailsrvr.h sbbs_ini.c

    From rswindell@VERT to CVS commit on Friday, August 25, 2017 18:57:24
    src/sbbs3 mailsrvr.c 1.607 1.608 mailsrvr.h 1.78 1.79 sbbs_ini.c 1.157 1.158 Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/home/rswindell/sbbs/src/sbbs3

    Modified Files:
    mailsrvr.c mailsrvr.h sbbs_ini.c
    Log Message:
    The SMTP received mail notice and forward notice (short messages/telegrams)
    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'.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From deuce@VERT to CVS commit on Sunday, March 04, 2018 00:15:32
    src/sbbs3 mailsrvr.c 1.622 1.623 mailsrvr.h 1.81 1.82 sbbs_ini.c 1.160 1.161 Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv13310

    Modified Files:
    mailsrvr.c mailsrvr.h sbbs_ini.c
    Log Message:
    Add support for mail TLS ports. This adds two new keys to sbbs.ini Mail 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.




    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Tuesday, October 20, 2020 20:59:14
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/de1db41037d1ab7d6f0ad397
    Modified Files:
    src/sbbs3/mailsrvr.c mailsrvr.h sbbs_ini.c
    Log Message:
    Optionally limit concurrent connections to mail server

    The mail (SMTP) server is a popular target of bots. Impose a maximum-concurrent-connections limit (optionally). Similar to the terminal server option, except, don't deduct the number of authenticated connections (I can add something like that if desired). The new config option is [mail] MaxConcurrentConnections in the ctrl/sbbs.ini (defaults to 0, no maximum).

    Fixed error responses in mail_server accept loop: was always sending POP3 error responses even if the connection was SMTP.

    Cleaned-up the service/port checking/logging in the mail_server accept loop: no strcmp() needed, log the protocol name (e.g. "SMTPS") instead of the service name (e.g. "submissions").

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net