- Adding
allowPlusSignconfiguration flag that when enabled ignores suffixes after a plus sign in email addresses. For example, an email addressed to - Adding support for a catch all mapping by using "@" as the key.
jane+reminder@example.comis treated as if addressed tojane@example.com. - Fixing handling of emails with less common header formats, such as where there is no space in the header after the colon and before the value.
- Updating aws-sdk dependency to match AWS Lambda environment.
- The Node.js 8 Lambda runtime is required for this version.
- Removing
Message-IDheader from messages to fixInvalidParameterValue: Duplicate header 'Message-ID'errors. - Fixing handling of multiline
Fromheaders to fixInvalidParameterValue: Extra route-addrerrors. - Updating documentation for SES endpoints.
- Updating aws-sdk dependency to match AWS Lambda environment.
- Added
toEmailconfiguration for replacing theToheader recipient to a defined email address. - Changed AWS.S3() implementation to use signature version v4 for compatibility with S3 EU-based regions.
- Updated for the Node.js 4.3 runtime.
- Refactored steps to use promises.
- The Node.js 4.3 Lambda runtime is required for this version.
- The arguments for the handler function have changed to match the Lambda
runtime for Node.js 4.3 to include a callback function. If invoking the
handlerfunction, be sure to include the callback function provided in the Lambda runtime environment. - Step functions that include asynchronous operations should return a promise,
and are no longer provided a callback function as an argument. Upon successful
completion of the step function, call
Promise.resolve()with thedataargument given to the step function. (Step functions that are synchronous should return thedataargument.)
- Added capability to specify an email forwarding mapping based on a mailbox
name across all domains (i.e. forward mail sent to
foo@*). - Added documentation to resolve "Could not write to bucket" error.
- Updating aws-sdk dependency to match AWS Lambda environment and other dev dependencies.
- Adding
subjectPrefixconfiguration for adding a prefix string to the subject of forwarded email. - Updating regex match for the Reply-To header to be case insensitive to support email sent with a Reply-to header.
- Fixing how libraries are loaded to improve performance.
- Adding capability to specify an email forwarding mapping that acts as a wildcard or catch-all for a domain.
- Converting the inbound recipient email address to lowercase before comparing to the forwarding map to handle case variations.
- Updating aws-sdk dependency to match AWS Lambda environment.
- Email addresses and domain wildcard keys in the
forwardMappingconfiguration object must be lowercase.
- Adding configuration option for a static "From" email address.
- Removing all DKIM-Signature headers to prevent errors when forwarding or DKIM verification issues when received.
- Updating the email processing to remove any Sender header and to only add a Reply-To header if one does not already exist.
- Allowing the log function to be overridden.
- Reworking log output as structured data.
- Major refactor for configurability and testability.
- Adding test coverage with Mocha and Istanbul and configuration for eslint.
- Removing DKIM-Signature headers for the amazonses.com domain to prevent error when forwarding.
- Improving format of modified From header.
- Adding documentation and example for implementing this module.
- Ensuring empty lines are not left when the headers are altered.
- Removing any Return-Path headers.
- Removing any Reply-To headers to prevent conflicts with the new headers added.
- Initial release of aws-lambda-ses-forwarder.