I have a probably atypical configuration. I'm running FreeBSD 10.1-RELEASE on a VM in Azure. Azure just gives you a CNAME to a cloudapp.net domain. So let's say the hostname is vincent. You would connect to your VM as vincent.cloudapp.net. In my case, I've CNAME'd further: vincent.example.com (my domain) points to vincent.cloudapp.net. To summarize:
I'm wondering
- vincent.example com CNAME for vincent.cloudapp.net
- on vincent.cloudapp.net, the hostname is set to vincent.example.com
I'm wondering
- how do I tell sendmail to deliver locally
- why sendmail looks at DNS, when my nsswitch.conf says
Code:
files dns
hostname -f
agrees) - if I wouldn't just be happier with a
pkg install opensmtpd