From what I understand, both 465 and 587 are purely used by clients for submission. Because of that, it would make sense to always require authentication. With authentication, it would make sense to also always require an encrypted connection. For 465 this is taken care of by
So to sum up, how do I:
1) Require STARTTLS prior to AUTH on port 587
2) Require AUTH for any and all deliveries on port 465
tls_on_connect_ports=465
, but for 587 this seems to not be enforced. I found this article (https://help.directadmin.com/item.php?id=653) that suggests to edit /etc/exim.conf directly, which seems like a bad idea, since those changes will be overwritten? I also noticed that port 587 requires AUTH for deliveries to any domain (local and remote), while port 465 only requires AUTH for deliveries to remote domains, and not local.So to sum up, how do I:
1) Require STARTTLS prior to AUTH on port 587
2) Require AUTH for any and all deliveries on port 465