Hi Pete, Than you for the reply and your Mutt config. I adjusted my .muttrc based on your inputs.
Unfurtunatelly, I'm getting ddde3d77734e3572 smtp connected address=127.0.0.1 host=localhost debug: dispatcher: rsae_priv_enc ddde3d77734e3572 smtp disconnected reason="io-error: handshake failed: error:02FFF020:system library:func(4095):Broken pipe" I recreated self-signed certificate based on these instructions https://man.openbsd.org/starttls.8 Switched from encrypted password to plain. Permissions looks ok, because tweaking ownership and permissions smtpd was complaining in different setting. Not sure, what next I shall try. smtpd -n configuration OK extract from smtpd.conf table secrets file:/etc/mail/secrets pki "ohtar.navratil.lan" cert "/etc/ssl/ohtar.navratil.lan.crt" pki "ohtar.navratil.lan" key "/etc/ssl/private/ohtar.navratil.lan.key" listen on socket listen on lo0 port submission tls pki "ohtar.navratil.lan" hostname "ohtar.navratil.lan" auth-optional <secrets> Looks like mutt config is now ok, but I'm not able to set properly OpenSMTPD on localhost with selfsigned certificate. Any idea, what I missing or any article about setting OpenSMTPD on localhost only with self-signed cert? Best regards, Jiří On Sun, Mar 06, 2022 at 01:58:34PM +0000, Pete Long wrote: > On Sun, Mar 06, 2022 at 02:28:54PM +0100, Jiri Navratil wrote: > > Hi, > > > > I'm using notebook with OpenBSD and every email from mail and from mutt > > goes firstly to OpenSMTPD on localhost and then are relayed to my > > server with static IP. > > > > I have been using in OpenBSD 6.7 for mutt > > > > set smtp_url="smtp://127.0.0.1" > > > > but after switch to OpenBSD 7.0, I'm getting from OpenSMTPD > > > > SMTP session failed: 503 5.5.1 Invalid command: Command not supported > > [...] > > Hi Jiri, > > I have a slightly different configuration but all hosts are on the LAN. > > Here are what I believe to be the relevant config lines for Mutt. I'm > using the same version as yourself: Mutt 2.1.3 (2021-09-10), which is > running on OpenBSD 7.0. OpenSMTPD is version 7.0.0. > > > > set smtp_url = "smtp://ch...@chunkymonkey.tld:587/" > set smtp_pass = "superpassw0rd" > set ssl_starttls=yes > set ssl_verify_host=no > > > Pete.
smime.p7s
Description: S/MIME cryptographic signature