[2024-11-03 22:17] bf...@0x.co > On Sat, 2 Nov 2024, Zé Loff wrote: > > >> There are no advanced settings on the iphone....there is no place to > >> enable or > >> disable pipelining or anything of that sort. > >> > >> Should I conclude that it is impossible to send email from an apple iphone > >> to an > >> opensmtpd server ? > >> > > > > In my experience, this kind of error is TLS related. Double check if > > the port and protocol settings -- namely STARTTLS vs. SSL/TLS and port > > 25 vs. port 465/587 -- on the iPhone match those on the server. > > > > My opensmtpd server does not use TLS nor does it have certs - it does NOT > have any lines like these examples: > > > # PKI for TLS > pki example.com cert "/etc/ssl/example.com.crt" > pki example.com key "/etc/ssl/private/example.com.key" > > > .. and I did not create any cart/key for this server. > > > On my iphone I did NOT select "Use SSL" and my auth is simple "password".
OpenSMTPD doesn't suport auth without TLS. It doesn't even advertise auth without TLS[0]. So to get your server working you need to get an TLS cert (bonus points if it's trusted by your iphone). Add a pki to your smtpd config. Then add something like: ... tls pki $pkiname auth[-optional] ... to at least on of your listen statements. Philipp [0] And before you ask: No this won't change in a future release.