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://someh...@mail.somehost.de
> 
> 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://someh...@mail.somehost.de 
> auth <secrets> mail-from "@example.de"
                                           ^^^^
Not sure, but have you tried smtp+tls instead of smtp?

The man page says:

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. Server certificates for those protocols are verified by
default.

-- 
Herbert

Reply via email to