macOS Mail stops fetching new messages only when connected to corporate VPN with split DNS
Environment
MacBook Pro 2019 running macOS 12.6.5, Apple Mail 14.0, corporate VPN (IKEv2) provided by company ASA gateway; split-DNS pushes internal DNS suffix and internal resolver 10.8.0.2 over tunnel; normal Wi‑Fi (home/coffee) and cellular tethering behave differently
Symptoms
When connected to corporate VPN over Wi‑Fi, Apple Mail shows 'No new messages' and does not poll IMAP accounts. Mail app idle for hours; other apps (Safari, Terminal) can resolve external hostnames normally. When VPN disconnected, Mail immediately shows queued new messages.
Observations
- Terminal: nslookup/mailserver.example.com resolves to internal IP only while VPN is active (10.10.11.5). - ping to mailserver internal IP times out or shows high packet loss only from Mail; curl to IMAP port (tcp/993) to that IP from Terminal succeeds and returns TLS banner. - Console logs show repeated MailKit network errors referencing 'socket hang up' and 'kCFErrorDomainCFNetwork' timestamps matching attempted fetches. - When VPN is active, other clients on same Mac (Thunderbird) can connect to same IMAP server using same settings and fetch email successfully.
Already attempted
- Rebooted Mac and reconnected VPN. - Flushed DNS cache (sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder). - Disabled 'Use system proxy' in Mail (not applicable). - Created a new Mail account profile (same credentials) — same behavior. - Tested IMAP via openssl s_client and curl from Terminal (works). - Disabled 'Automatic proxy discovery' and toggled Wi‑Fi. - Contacted VPN admin: confirmed split-DNS pushes internal resolver and internal route for 10.10.11.0/24. No server-side blocking reported.
Question
Why does Apple Mail fail to fetch from the internal IMAP server only when the corporate VPN with split-DNS is active, while Terminal tools and other mail clients can connect successfully? What reversible diagnostics and fixes can I try that do not expose credentials or require server-side changes?
Verified community troubleshooting
No answers yet..