smtp-extract verifiedcriticalWritten by the Hub
Control headers are honoured
smtp-extract: trueWhether x-mq-* headers in a submitted message are turned into delivery instructions and stripped before sending.
Values
- Values
true · false- Default
true · taken from the build- applying
restart required- where it can be set
in the config file · with a startup flag · as an environment variable
In detail
This is what makes the SMTP intake more than a dumb relay. With it on — and it ships on — a submitting mailer can set the envelope, the sending address or pool, tags, a delay, the retry schedule, the result queues, a smarthost and DSN options, purely by adding headers. The engine applies them and removes them, so the recipient never sees them. For Hub this is the cheapest integration path in the whole product: existing mailers already know how to add headers, and nobody has to learn RabbitMQ or JSON. It is also a hole if the intake is open — whoever can submit can also choose which of the customer's addresses to send from.