• last updated 23 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make api public, complies with acs-api-browser.graph__bad_calls automated test

  1. … 3 more files in changeset.
mark functions called only internally as private

  1. … 15 more files in changeset.
Handle to_addr specified as "DisplayName <email>": keep the display name in the header value and strip it in the RCPT TO

make end of options explicit

  1. … 42 more files in changeset.
warn about unexpected entries (typos) in EmailDeliveryMode

Add a second period to new lines starting with one ('dot-stuffing'), as defined by RFC 5321 section 4.5.2, before sending mail via nssmptd.

According to the RFC:

- "Before sending a line of mail text, the SMTP client checks the

first character of the line. If it is a period, one additional period is inserted at

the beginning of the line."

- "When a line of mail text is received by the SMTP server, it checks the line. If the

line is composed of a single period, it is treated as the end of mail indicator. If

the first character is a period and there are other characters on the line, the first

character is deleted."

This change adds the second period at the beginning of a line suggested in the first

paragraph, preventing nssmptd from deleting dots by acting as mentioned in the second one.

In the case of lines comprised of just a single period, '::mime::qp_encode' already takes

care of them by converting the '.' into '=2E', so they are not affected by this.

Prefer 'namespace which' over 'info commands', as it is faster (on local tests, around 2x) and returns a single value. Many thanks to Nathan Coulter.

  1. … 58 more files in changeset.
Replace limit (pg only) with fetch idiom, which should be portable on "modern" Oracle

  1. … 1 more file in changeset.
mprove spelling: move closer to the linux documentation recommendations

  1. … 21 more files in changeset.
improve wording for package parameters

  1. … 1 more file in changeset.
add EmailDeliveryMode 'ignore'. Similar to 'log' but less verbose.

use 'ignore' in case 'redirect' is set wihout a value for EmailRedirectTo

  1. … 1 more file in changeset.
fall back to 'log' mode, when EmailDeliveryMode "redirect" is used without "EmailRedirectTo" value

Fix parameter name in acs-mail-lite

- acs_mail_lite::send_immediately: new switch for "-force_delivery_mode"

to force delivery mode for a single call (ignoring package parameter

"EmailDeliveryMode")

- New potential value for "EmailDeliveryMode": "nssmtpd"

When this parameter is specified, the behavior is like

"smtp", but the code tries use the SMTP implementation

of the nssmtpd NaviServer module.

- It is also possible to combine "nssmtpd" with the delivery methods

"filter" or "redirect" simply by writing e.g. "filter nssmtpd"

- some refactoring to avoid repeated code

  1. … 1 more file in changeset.
Use optionally nssmtpd as different mail delivery agent

when the "-experimental" flag is provided to

acs_mail_lite::send_immediately, and the NaviServer

nssmtpd modules is installed.

whitespace changes

  1. … 1 more file in changeset.
Prefer '==' over 'eq' on numeric comparison

  1. … 3 more files in changeset.
Move leftover procs in 'bounce-procs.tcl' and 'incoming-mail-procs.tcl' into 'email-inbound-procs.tcl'

  1. … 4 more files in changeset.
Whitespace changes

Deprecate 'acs-mail-lite::get_parameter', just a wrapper for 'parameter::get', used almost nowhere.

simplfy expressions (no need for backslash), standardize writing of RFC

  1. … 4 more files in changeset.
Apply pachtes #960, #961, #962 and #963 from Ben Brink, bump version number to 5.10.0d3 such that changes in .info file get picked up

  1. … 3 more files in changeset.
fix for bug #3338

prefer ad_try over catch, simplify expression

fix typos

  1. … 3 more files in changeset.
Protect Tcl's file operations against leading dashes in file names

  1. … 2 more files in changeset.
merge with changes from https://github.com/tekbasse/acs-mail-lite/tree/master/tcl

in essence, these changes provide support for handling email with attachments based on nsIMAP.

see https://openacs.org/forums/message-view?message_id=5378972 for more background

  1. … 71 more files in changeset.
Use "ad_try" instead of "with_finally"

  1. … 1 more file in changeset.
Fix typo

  1. … 1 more file in changeset.