Maybe the iPhone simply requires tls? I just checked mine and I don't see any way to enable or disable TLS on the iPhone SMTP settings of the mail account, itself.
Just guessing...

On Fri, Nov 08, 2024 at 10:24:44PM -0800, bf...@0x.co wrote:


On Mon, 4 Nov 2024, Philipp wrote:

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] ...



I don't understand how this can be as I am using my non-tls opensmtpd server from other clients with username and password auth and it works fine without tls....

That is: my opensmtpd server has a username/password in the actual /etc/passwd file and if I give that user/pass along with the hostname to a primitive mail client, it works. I can send mail with that password auth.

I just can't do it with the iphone.

Maybe we mean different things by "auth" ?


Reply via email to