Skip to content
Snippets Groups Projects
  1. Dec 09, 2009
  2. Nov 12, 2009
    • rswindell's avatar
      When posting to a sub via SMTP, parse the sender name and address from the To · d2106522
      rswindell authored
      header field into separate name and address fields. On the name portion is used
      for the recipient of posts.
      When posting to a sub via authenticated SMTP, the sender/extension fields are
      set appropriately and the sender net type is set to none (i.e. locally posted).
      More debug log-level output for SPAM hash creation/checking.
      Bug-fix: attempting to use uninitialized 2nd MX address when relaying to local
      SMTP server address.
      d2106522
  3. Oct 28, 2009
  4. Oct 27, 2009
  5. 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
  6. Oct 24, 2009
    • rswindell's avatar
      Added current host name to errorlog() output, this helps determine on which · 4151445d
      rswindell authored
      system (in a multi-computer BBS) the error occurred.
      For the mail server:
      - keep track of the number of times each mailproc handled a message
      - display counters when blocking/filtering messages in log output
      - advertise 8BITMIME in the ESMTP EHLO response
      - do not route mail to mailproc when the execution requirements are not met
        (e.g. ARS, DNSBL, SPAM, etc.)
      4151445d
  7. Oct 22, 2009
    • rswindell's avatar
      Fix gcc error in function `get_header_field': invalid operands to binary - · 1c416edb
      rswindell authored
      Increase some log entry levels from LOG_ERR to LOG_CRIT.
      Changed spam.log entry for spam-bait messages from "REFUSED" to "IGNORED".
      Added several statistics counters for connections/messages refused, ignored,
      etc. and display the values when the mail server is terminated.
      Handle lines of exactly MAX_LINE_LEN chars better in sockmimetext() - don't
      add an extra blank line between lines.
      1c416edb
  8. Oct 21, 2009
    • rswindell's avatar
      * Mail processors may now be configured to not run for DNSBL-listed servers or · 729eb16b
      rswindell authored
        SPAM-bait takers by using the mailproc.ini keys ProcessDNSBL and ProcessSPAM
        (default: True) respectively.
      * sockmimetext() (used for sending message text over SMTP and POP3) now handles
        lines longer than 998 characters correctly (doesn't drop any characters).
        We may need to change this function to split at 510 chars for POP3 and/or use
        quoted-printable content-transfer-encoding for messages with long lines.
      * "!SMTP ..." log lines changed to "SMTP ..." for non-terminal SPAM-related log
        entries.
      * Handle header "field : value" syntax for subject, from, and to field parsing
         for early filtering.
      * Don't tag message (subject and/or header) from DNSBL-listed servers when
         DNSBL_IGNORE option is set.
      * Don't hash message subjects < 10 chars in length (too short for SPAM
        detection).
      * Support Base64 and Quoted-Printable Content-Transfer-Encodings in SMTP
         message headers (decode and store message body accordingly).
      * Clear mailproc 'to' match results when receiving SMTP MAIL FROM command.
      * Allow SMTP authenticated clients to feed the SPAM database by sending mail
        to one of the spam-bait addresses (the sender won't be added to
        spamblock.cfg).
      729eb16b
  9. Oct 20, 2009
  10. Oct 18, 2009
  11. Oct 17, 2009
  12. Sep 24, 2009
    • rswindell's avatar
      Bug-fixes: · d7e9d820
      rswindell authored
      * double spam.log entry ("TAGGED" and "IGNORED") for the same message
      * DNSBL_IGNORE option did not work unless the DNSBL_SPAMHASH was enabled
      d7e9d820
  13. Aug 14, 2009
  14. Jun 01, 2009
  15. Mar 21, 2009
  16. Mar 20, 2009
    • rswindell's avatar
      Eliminate the "Host" and "Ip" mailproc.ini key values as they are now redundant · 121bce5e
      rswindell authored
      with the ARS HOST and IP keywords (and the AccessRequirements key).
      121bce5e
    • rswindell's avatar
      ARS improvements: · 1cdf2c10
      rswindell authored
      Added HOST and IP keywords to allow restricted access/privileges to/for
      specific remote hostnames or IP addresses (wildcards allowed).
      All string-argument type ARS keywords (e.g. SHELL, PROT, etc.) now support .can
      style wildcards.
      The current remote client is now used for protocol, host, and IP ARS checking,
      when available, so this requires passing the client pointer around (which
      explains why so many files are touched by this change) and takes care of a
      long standing to-do item (the user's 'modem' value was used for the PROT
      value checking, which was not always correct).
      1cdf2c10
  17. Mar 19, 2009
    • rswindell's avatar
      Added support for mailproc.ini "Host" and "Ip" keys, lists of hostnames and · 654cb44c
      rswindell authored
      IP addresses (with wildcards) that the associated mailproc will run for.
      Bug-fix: the SMB REPLYTONETADDR header field value would be created
      invalid if the sender's Reply-To header field value contained a name, like:
      "Rob Swindell" <rob@someserver.com>
      Raise the log level of the SMTP ALIAS log lines from info to debug.
      Generate an info-level log entry when receiving message text.
      654cb44c
  18. Mar 01, 2009
  19. Feb 21, 2009
  20. Feb 16, 2009
    • rswindell's avatar
      Major over-haul of smb_util.c and most everything that uses it: · 17ab641b
      rswindell authored
      Constified the arguments.
      Created exascii_to_ascii_char().
      Created ctrl_a_to_ascii_char().
      strip_ctrl() and prep_file_desc() now takes 2 args.
      strip_ctrl(), strip_exascii() and prep_file_desc() now strdup() the input
      string and if the dest arg is NULL, returns the allocated and modified copy.
      sbbs_t::bputs() now handles ^AZ.
      Change Ctrl-A code message network exporting:
      1. ^AL, ^A<, ^A[, and ^A] are always translated to ASCII equivalents.
      2. ^AZ will terminate the message body prematurely if found.
      3. Ex-ASCII (CP437) chars will be translated to ASCII equivalents (rather than
      '*') for "ASCII Only" subs.
      For import, don't allow Ctrl-AP or Ctrl-AL.
      For SBBSecho:
      Added support for specifying a link's address on the command-line (e.g. for
      use with -h).
      Mail server now strips Ctrl-A codes from message bodies for sending via POP3
      or SMTP.
      17ab641b
  21. Feb 12, 2009
  22. Feb 08, 2009
  23. Feb 02, 2009
  24. Feb 01, 2009
  25. Jan 31, 2009
  26. Jan 30, 2009
  27. Jan 28, 2009
  28. Jan 27, 2009
  29. Jan 24, 2009
  30. Jan 20, 2009
  31. Jan 19, 2009
  32. Jan 14, 2009
    • rswindell's avatar
      Numerous changes: · b43e1c82
      rswindell authored
      - Fixed line counter/return value of sockmimetext() - did not count last line
      if not \n terminated.
      - If a POP3 "TOP" command is used to request more lines than there are bytes
      in message body, just send all lines and don't log an error.
      - JS mailproc error reporting and log() method now includes the mail-proc
      name and the "SMTP" log prefix. "JavaScript:" is no longer included as part
      of the log() output since that is implied by the mailproc name.
      - js_mailproc() now reuses the same runtime, context, and global object to
      speed up the initialization/execution of multiple JS mailprocs per message.
      - Beginning support for messages to be bounced back to mailprocs (e.g.
      ListServer), specifically by ignoring bounces of SMTP sys messages
      (instead of all non-person agent types). More work in bounce() is needed.
      b43e1c82
Loading