Hi everyone. I subscribe to a 3rd part smtp relay service for outgoing messages and am wondering if there is a way to configure autodiscover to use smtp server hostname, username and password of the provider.
So far I have set the proper CNAME records and a SRV record based on the documentation. I found this post - https://community.mailcow.email/d/2406-autodiscover-serve-mail-domain-instead-of-hostname -but I also need to add a username and password and I believe it would only be for the SMTP settings of data/web/inc/vars.inc.php? Even if I use the ‘server’ = $mail_domain as depicted by rallisf1 in his article, where would I specify the value of the $mail_domain variable?
I tried a couple of things and IMAP connections are successful but it fails due to not being able to reach an SMTP server. Here is what I inputted into the data/web/inc/vars.inc.php:
Any help (if there is anything that can be done) would be much appreciated! Let me know if I need to provide any other information.
Thanks!
If this helps, I did find that inputting the custom name as depicted in my Putty screenshot actually inputs that server FQDN when autodisovering, but the username and password fills in the logging user’s IMAP username and password. I need autodiscover to input the custom values for the smtp relay service
If this helps, I did find that inputting the custom name as depicted in my Putty screenshot actually inputs that server FQDN when autodisovering, but the username and password fills in the logging user’s IMAP username and password and a 0 for the SMTP port. I need autodiscover to input the custom values for the smtp relay service and hopefully be able to specify STARTTLS for the security?