i have an Nginx Reverse Proxy configured infront of mailcow. Now my users access sogo using
but mailcow hostname is mail3.domain.com
Everything works fine so far but autodiscover.php returns mail3 instead of mail.
Before i fiddle inside the php code, is there a variable that i can override that lets autoconfig return mail.domain.com instead of the MX Hostname of Mailcow?
Any Idea would be appreciated,