Solved. It was indeed pebkac.
The localhost related entries in /etc/hosts weren't correct. Sorry for the noise. -- Best, Manfred I use localhost a On 8/29/25 10:07 AM, Manfred Lotz wrote: > Hi all, > I have opensmtpd 7.7.0p0-3.fc42.x86_64 on Linux. > > > opensmtpd setup > =============== > > The opensmtpd server is setup only for local relay, i.e. smtpd delivers to my > providers. > > smtpd.conf has > > listen on localhost port 465 smtps pki desktop > listen on localhost port 587 tls-require pki desktop > listen on 127.0.0.1 port 25 > > Then later I have > > action mylmtp lmtp "/run/dovecot/lmtp" match for local action mylmtp table > secrets > file:/etc/opensmtpd/passwd.map > > action "posteo.de" relay host smtps://[email protected] auth <secrets> > .. > match from local mail-from ... > > > > Problem sending mail > ==================== > > > When sending a mail via Thunderbird it takes approx. 1min 15sec till it get > accepted. > > > > Debugging... > ============ > > I started smtpd like this: smtpd -Fv > > (-F because I wanted to see the timestamps in the log) > > > I tried openssl to connect to one of my providers > > openssl s_client -connect posteo.de:587 -starttls smtp > > and there was an immediate reply. > > > Trying to connect to my local smtpd server with > > openssl s_client -connect smtp.localhost:587 -starttls smtp > > I immediately get > > Connecting to ::1 > CONNECTED(00000003) > > but then I have to wait ~1min 15sec to get the full output > > On smtpd side I see > > Aug 29 09:17:28 hogwart smtpd[81283]: 05e4b184f36ef683 smtp connected > address=[::1] > host=hogwart > Aug 29 09:17:28 hogwart smtpd[81283]: debug: dispatcher: rsae_priv_enc > Aug 29 09:17:28 hogwart smtpd[81283]: 05e4b184f36ef683 smtp tls > ciphers=TLSv1.3:TLS_AES_256_GCM_SHA384:256 > > > I have no idea how to get this figured out. Perhaps it is a problem between > keyboard > and chair but no idea. > > > Thanks in advance for any suggestions. > >
