- May 05, 2020
-
-
rswindell authored
-
- May 01, 2020
-
-
rswindell authored
Set the KILLSENT network attribute for created Internet email messages when enabled in SCFG->Networks->Internet (new option). Do the same for FidoNet NetMail messages routed via SMTP. Only auto-delete sent Internet mail messges when either the KILLSENT network attribute flag is set or there was no SENDEREXT (from_ext) on the sent message.
-
- Apr 28, 2020
-
-
rswindell authored
the net-attributes header fields.
-
- Apr 24, 2020
-
-
rswindell authored
MIME-decoded header fields not to be handled appropriately in the mail server.
-
- Apr 12, 2020
-
-
rswindell authored
(new) scfg_t.text member. This will make it much easier for non-Terminal Server JS modules (and the functions they execute) make use of the text.dat strings.
-
- Apr 09, 2020
-
-
rswindell authored
If the RECIPIENTTOLIST header fields exists and the RFC822 header field does not exist, that means the original RFC822 "To" field was not MIME-encoded, which is the majority of email. The routine that converted an smbmsg_t to an RFC822 header did not use this new field however (ignored it). Whoops. So multiple recipients were reflect in the To field and the original destination address(es) in the To field weren't passed on either. Thanks, Frank!
-
- Mar 31, 2020
-
-
rswindell authored
-
- Mar 19, 2020
-
-
rswindell authored
is actually an authenticated local user (when usernum != 0). msg_client_hfields() no longer saves the client->user as the SMB SENDERUSERID hfield when the client hasn't been authenticated (as is the case with normal SMTP). The SENDUSERIDs were redundant and misleading for unauthenticated SMTP-received mail messages, so that's now fixed.
-
- Mar 15, 2020
-
-
rswindell authored
-
- Oct 05, 2019
-
-
rswindell authored
in-place or by also copying to a new string in the process. Don't string "soft-CRs" (0x8d) from UTF-8 encoded FTN messages, ever. Default strip_soft_cr SBBSecho setting to true/on.
-
- Sep 24, 2019
-
-
rswindell authored
-
- Sep 09, 2019
-
-
rswindell authored
name. This is a fix for "From", but "To" and "CC" header fields would need a similar fix (not included in this commit).
-
- Sep 04, 2019
-
-
rswindell authored
We don't yet support UTF-8 in node/user messages.
-
- Sep 01, 2019
-
-
rswindell authored
-
- Aug 31, 2019
-
-
rswindell authored
(ctrl/node.dab) is constantly closed and re-opened for every non-locking read. This is really slow across network file systems and unnecessary, so use a similar optimization as the C++ sbbs_t class where the file can (and normally is) left open across multiple consecutive reads. Create/use opennodedat() function. Uses the new CLOSE_OPEN_FILE() macro from xpdev/filewrap.h.
-
- Aug 09, 2019
-
-
rswindell authored
is being forwarded to an external email address. Introduced in rev 1.690, user-forwarded emails wouldn't work because sending envelope would contain the original forward-path. Thanks again to Alterego (ALTERANT) for testing this stuff and reporting issues with detail!
-
- Aug 03, 2019
- Aug 02, 2019
-
-
rswindell authored
pointer type mismatch in conditional expression format '%s' expects argument of type 'char *', but argument 5 has type 'void *'
-
rswindell authored
MIME-encoded. If any RFC822* header field is a MIME-encoded UTF-8 string, then set the (new) auxattr MSG_HFIELDS_UTF8 flag. This will be used (soon, hopefully) to display UTF-8 encoded header fields to users. There's a gotchas here: - MIME-encoded header fields with other non-ASCII/8-bit charsets (e.g. CP437, ISO-8859) are still stored "as decoded", though the MSG_HFIELDS_UTF8 flag may be set *later* (which would be weird), resulting in a mixture of valid and invalid UTF-8 header fields. One solution would be to UTF-8-transcode all the non-UTF-8 header fields if *any* of them are UTF-8, but we wouldn't know which charset to translate *from*. Assuming CP437 isn't going to be correct 100% of the time - so punt for now and deal with it at display time. e.g. if the MSG_HFIELD_UTF8 auxattr flag is set, but an hfield contains invalid UTF-8 data, don't display as UTF-8 (e.g. treat as CP437). We don't have translations for other charsets (e.g. ISO-8859) setup yet anyway.
-
- Jul 25, 2019
-
-
rswindell authored
(e.g. for UTF-8 Fido or QWK netmail messages sent over SMTP or POP3).
-
- Jul 08, 2019
-
-
rswindell authored
New function (derived from sbbs_t::utf8_to_cp437()): unicode_to_cp437() New utf8 functions: utf8_replace_chars(), utf8_str_is_valid(). utf8_getc() enhancement: val arg may be NULL (for length/validation uses). Convert quoted UTF-8 message text to CP437 when terminal is not UTF8. Set Fido CHRS: UTF-8 header field when posted message is UTF-8.
-
- Jul 06, 2019
- Jun 28, 2019
-
-
rswindell authored
MIME-encoded headers.
-
- Jun 22, 2019
-
-
rswindell authored
-
rswindell authored
getting kind of crazy common now and being employed even when totally unnecessary (e.g. encoding strings that contain just plain ASCII): - normalize message header fields, when possible - normalize UTF-8 encoded characters, when possible (e.g. special punctuation chars) This allows text filters (e.g. subject.can, name.can) to work on MIME-encoded header fields and notifications about received e-mails are legible to humans. Encoded-words that contain actual non-ASCII/CP437 chars (e.g. foreign symbols, emojis) are left as encoded-words to be dealt with by whatever displays the message header. Special handling of folded normalized field values was necessary because "White space between adjacent 'encoded-word's is not displayed." (per RFC 2047)
-
- Jun 20, 2019
-
-
rswindell authored
resolved host-name on "Hostname:" log lines.
-
- May 24, 2019
-
-
rswindell authored
We don't store (findable) hostnames in the file, so don't search for them. Don't search file if the host is listed in the spamblock_exempt.cfg file. If you have a really large spamblock.cfg file, this could result in the unnecessary reading of potential many megabytes of data for each inbound SMTP connection. We might want to read this file even less frequently and store the list in a searchable str_list_t or something.
-
- May 11, 2019
-
-
rswindell authored
smb_freemsgmem(): bounce() is using a strange method of copying a message header in memory (not using smb_copymsgmem) and when it frees the message, ends up with a double-free of the 2 new smbmsg_t members (not header fields): text_subtype and text_charset.
-
- May 03, 2019
-
-
rswindell authored
after sending via POP3 (the MSG_READ attribute flag is already indicating that).
-
rswindell authored
headers). Don't reference the (currently unused) times_downloaded and last_downloaded msghdr_t elements/properties. Set the current node action value *before* calling the scanposts_mod ("Scan Msgs module") in sbbs_t::scanposts().
-
- May 01, 2019
- Apr 29, 2019
- Apr 23, 2019
-
-
rswindell authored
- getnameinfo() was being called with NI_NUMERICHOST in the mail server and web server (but nowhere else) - use a singly-defined macro (STR_NO_HOSTNAME) for the "<no name>" string rather than copying it about - the webserver apparently assumes that session->host_name will always have *some* unique value (e.g. the IP address when no hostname is available) - so account for that special need <grumble>
-
- Apr 11, 2019