So.. the problem wasn't with the symfony2 configuration. The problem was:
- the mailbox was configured to work inside VPN (from computers in the domain/group)
- I was trying to send a test mail from my development machine (while being connected to VPN... but my computer is not in the domain/group)
This is also the reason why telnet EXC.acme.local 25
didn't work, but telnet 10.8.100.1 25
did work.
So, when I tried to telnet, and then EHLO from my dev machine.. is got 250-AUTH NTLM
, but when I SSH'ed to the prod machine (which is inside the domain/group) and telnet from there:
telnet EXC.acme.local 25
did workEHLO EXC.acme.local
returned AUTH LOGIN
Once I discovered that, I just uploaded my changes to prod machine and started testing the config from there (with swiftmailer.transport: smtp
) and it worked!