Skip to content

nodemailer/zonemta-wildduck

Repository files navigation

zonemta-wildduck

WildDuck MSA plugin for ZoneMTA. Install this to send as a user of the WildDuck IMAP server. This plugin handles authentication and header rewriting – users are only allowed to send mail from their registered email addresses. If the address in an email does not match then it is overridden with an allowed address. This is similar to the behavior of Gmail SMTP.

WildDuck actions apply only to interfaces that require authentication.

Features

  • authentication – if authentication is enabled for the smtp interface then authentication data is checked against WildDuck user accounts
  • From rewriting – if the message has a From: address in the header that is not registered as one of the aliases for this user then the address part (but not the name) is rewritten with the default address for this user
  • Upload to Sent Mail folder – sent message is automatically appended to the Sent Mail folder of the user
  • Recipient limiting – limit RCPT TO calls for 24 hour period based on the recipients user value
  • Local delivery – messages that are deliverable to the current WildDuck installation are routed directly to LMTP bypassing MX steps

Setup

Add this as a dependency of your ZoneMTA app:

npm install zonemta-wildduck --save

Add a configuration entry in the "plugins" section of your ZoneMTA app

First enable authentication for the SMTP interface

# interfaces.toml
[feeder]
authentication=true
port=587

Then set up configuration for this plugin, see the example config file for details.

License

European Union Public License 1.1 (details) or later.