On Mon, Aug 05, 2019 at 07:14:17PM +0200, Harald Dunkel wrote:
> Hi folks,
>
> trying the new smtpd with openssl support on Debian I get the
> following error:
>
> Aug 5 18:56:26 mailhost smtpd[712]: warn: Failed to parse smarthost
> smtp://[email protected]
>
> Mail is not forwarded, of course.
>
>
> The config file says
>
> :
> table localnet { 10.0.0.0/24, 2001:db8:1f24:b803::/64 }
> table secrets file:/etc/secrets
> :
> action "relay_somehost" relay host smtp://[email protected]
> auth <secrets> mail-from "@example.de"
> :
> match from src <localnet> for any action "relay_somehost"
> match from local for any action "relay_somehost"
>
>
> The secrets file is:
>
> somehost [email protected]:geheim
>
>
> AFAICS the syntax follows the man page, so why does it complain?
> I don't see it. Every helpful hint is highly appreciated.
>
you're using an auth label but this requires a secure transport.
from smtpd.conf(5):
The label corresponds to an entry in a credentials table,
as documented in table(5). It is used with the
"smtp+tls" and "smtps" protocols for authentication.
--
Gilles Chehade @poolpOrg
https://www.poolp.org patreon: https://www.patreon.com/gilles