I have a number of jails, and their host, running sendmail with its default configuration. I want to configure sendmail to send all mail, even mail destined for local users (even root), to an external MTA via SMTP. I've seen some material on the internet about this, and one suggestion was adding to
However, this does not seem to work, since in
I know very little about
Thanks
/etc/mail/freebsd.mc
:
Code:
FEATURE(nullclient, `<hostname of mail server>')dnl
However, this does not seem to work, since in
/var/log/maillog
I can see sendmail handling mail and rejecting mail for unknown users, for example.I know very little about
sendmail
and relatively little about mail in general, but it seems like there is a simple solution out there given how straightforward the problem is.Thanks