Hi Reio,

Thank you!

I managed to miss the line about the label in the documentation about the
"host" options. My mistake.

Happy to report that it works now; great. All it takes is five lines of
smtpd.conf to do what I need:

listen on 0.0.0.0 port 2525
action "change_recipient" forward-only virtual { "@" = "
[email protected]" }
action "relay_via_ziggo" relay host smtp+tls://[email protected]:587 auth
{ "label" = "login:password" }
match from any for domain "wherewithal.nl" action "change_recipient"
match from local for any action "relay_via_ziggo"

That's impressive, compared to what this would take in exim or postfix.

As a bit of feedback; hopefully this will be seen by the developers:

* I think it would be useful for the "Credentials tables" section in the
table(5) man page to explicitly mention that the label should correspond to
the label used in the relay-url argument of the 'host' option.

* I think it would be useful to document the behavior when label is not
provided in the relay-url. It seems that this tells smtpd to not emit an
AUTH command, but I am not sure.

I would open a pull request in the github repository myself, except for the
fact that I'm not 100% sure about the behavior in case the label is missing.

Thanks for your assistance!

 Cheers, Sidney





On Fri, Jan 9, 2026 at 12:26 PM Reio Remma <[email protected]> wrote:

> On 1/9/2026 1:18 PM, Sidney Cadot wrote:
>
>
> The fact that I don't share your positive judgment about the quality of
> the documentation doesn't really warrant this kind of petty response, I
> think?
>
> I did read the manpages with due care, many times over by now. It's still
> possible that I missed some crucial info, of course, but I doubt it.
>
> Cheers, Sidney
>
>
> Hello!
>
> Quick Google yielded the following:
>
> action "relay_via_ziggo" relay host smtp+tls://[email protected]:587
> auth { "dummy" = "login:password" }
>
> Untested, but you may need the label there as per docs.
>
> Good luck
> Reio
>

Reply via email to