On Feb 13, 2020 2:01 PM, Ionel GARDAIS <ionel.gard...@tech-advantage.com> wrote:
>
> Hi list,
>
> I'm looking for an easy way to add a static prefix "[*EXT*]" to all incoming emails, as long as the subject does not already contains this string.
> OpenSMTPD is running as a filtering MX running senderscore filter.
> default action is relay to another host.
>
> Can OpenSMTPD modify the header conditionally ?

A filter could be written to do this.

> If so, should I add a filter to the existing "listen" line or should I add a new "listen" line with a dedicated filter and chaining listen->action relay to local listen->action relay to external ?

If you used a separate listen directive. It would have to be on a different port.

>
> Thanks,
> Ionel
>
>

Reply via email to