Autoconfig - STARTTLS

SYSTEM INFORMATION
OS type and version Debian 11
Webmin version 2.013
Virtualmin version 7.5
Related packages Postfix

Hello all,

I have a problem with the autoconfiguration of the mail addresses.
It works but instead of STARTTLS it automatically sets SSL for the SMTP server.
But the port 465/SSL is obsolete and not implemented in virtualmin.
I have already done some tests by modifying the autoconfig.cgi file but without success.
This is the original one.
What would be the solution?strong text

@christophe117,

Port 465 for TLS (formerly SSL) based authentication is NOT obsolete, and IS implemented in Postfix. Though the standards DO prefer/recommend usage of 587 for STARTTLS. However some email clients don’t support this properly yet, so 465 is still used in some cases.

Ok, but how to make the autoconfig.cgi file give the right version of the protocol : STARTTLS in outlook or mail

@christophe117,

What do you see when you go to the domain:

*** substitute “domain.com” with your domain, and “user@domain.com” with your email address ***

Hello,
with this outlook configuration use SSL instead of STARTTLS

<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">

<Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">
<Account>
<AccountType>email</AccountType>
<Action>settings</Action>
<Protocol>
<Type>IMAP</Type>
<TTL>24</TTL>
<Server>mail.domain.fr</Server>
<Port>993</Port>
<LoginName>xxxx@domain.fr</LoginName>
<DomainRequired>off</DomainRequired>
<SSL>yes</SSL>
<AuthRequired>on</AuthRequired>
</Protocol>
<Protocol>
<Type>SMTP</Type>
<TTL>24</TTL>
<Server>mail.domain.fr</Server>
<Port>587</Port>
<LoginName>xxxx@domain.fr</LoginName>
<DomainRequired>off</DomainRequired>
<SSL>yes</SSL>
<AuthRequired>on</AuthRequired>
</Protocol>
</Account>
</Response>
</Autodiscover>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.