Skip to content
Discussion options

You must be logged in to vote

There's no built-in "pickup folder" like IIS/Exchange have, but Haraka is perfectly fine as an outbound-only relay. Pretty much anything that gets marked as relaying goes into the outbound queue and Haraka delivers it via MX. Two ways to feed it:

1. Submit over SMTP from a small script (easiest). Turn on the relay plugin (add relay to config/plugins) and allow localhost in config/relay_acl_allow:

127.0.0.1/32

The ACL check is on by default in the relay plugin. Then whatever drops the .eml files can just send them to Haraka, e.g. with nodemailer:

const nodemailer = require("nodemailer");
const fs = require("node:fs");

const transport = nodemailer.createTransport({ host: "127.0.0.1", port: …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by msimerson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants