We're using Sendmail on FreeBSD 6.0 as a local mailer (sendmail_enable=NO, all other Sendmail rc.conf set to YES by default). Our domain being example.com, and the host in question being host.example.com, we would like mail to @example.com originating on that box to be delivered via SMTP as it should, and mail to @host.example.com or plain username delivered locally (all mail is sent via the "mail" program in shell-scripts). But after a reboot after a couple of months of uptime and probably some untested changes to some /etc files, somehow mail gets delivered locally for both domains. The /etc/mail directory had been left intact since the installation of FreeBSD and everything worked. There is no local-host-names etc. _No_ changes above what sysinstall did (except for modifying /etc/aliases so that root's mail ends up in another local user's mailbox). I've read the Sendmail docs in cf/README, tried redefining confDOMAIN_NAME in /etc/mail/submit.cf, all in vain.
Some settings that might help diagnosing the problem:
hostname="host.example.com"
Please help, it's really frustrating since we're not using Sendmail.
Some settings that might help diagnosing the problem:
hostname="host.example.com"
Please help, it's really frustrating since we're not using Sendmail.