I am trying to figure out FreeBSD internal messaging via mail. What should I look up as mostly I am finding info like this:
https://www.freebsd.org/doc/handbook/mail-using.html
I want to know about the nuts and bolts of system events and mail interaction. What can you adjust.
Not sure I understand the problem here. The link you posted contains all you basically need to know. By default FreeBSD utilizes the Sendmail MTA (Mail Transfer Agent) making that program responsible for the handling of e-mail. See
/etc/mail as well as the handbook chapter on
Sendmail configuration files.
You're free to replace it with another MTA of your choosing, see the ports collection for that.
As to the nuts and bolts... Well, I suppose
/usr/sbin/sendmail is an interesting detail. The
sendmail binary (not to be confused with the MTA) is basically one of the standards on sending e-mails. Most programs which can send e-mails utilize this command. On FreeBSD it points to
mailwrapper(8) thus making it easier to switch between MTA's ("mail servers").
But that's about it.
What about clients: Should I keep a seperate mail program for system messages and my regular POP claws-mail from my ISP? I would think that system emails would require less of a client.
"Should" is a big word here. What works for some doesn't have to work for others. But I do agree that the idea can make sense.
My server(s) handle all my incoming & outgoing e-mail but I always leave the system messages on the server itself. My Outlook client basically gets all the 'regular' e-mail (for my domains and all) and that's that. Only when I log onto a server through PuTTY do I gain access to the system messages, I use
mail/mutt which I really favour as a command-line mail client ("MUA"; Mail User Agent).
(edit): The reasoning behind this is simple: I'll only be able to follow up on those system messages once I'm actually logged on. So it makes more sense to me to read those while being logged on instead of on my desktop.
Hope this can give you some ideas.