> Date: Sun, 04 Sep 2011 15:44:45 -0600 > From: Brett Glass <br...@lariat.net> > Subject: Re: Cutting sendmail out of the loop > > Johan: > > Actually, since the system I'm building is meant to be very secure and > appliance-like, it doesn't ever need to get mail "out of the system." And > it has limited memory, so it shouldn't be running a mail daemon. At most, > it needs a mail system that can ONLY mail locally, solely for the purpose > of satisfying programs that want to send users status via mail. (The mail > files will be trimmed by newsyslog, so they can't consume infinite > space.) Even the Dragonfly mail daemon would be overkill.
How about a simple _shell_script_ that simply finds the addressee in the command-line parameters, and appends the content from stdin to that addressee's mailbox? If you want to get fancy, you add calls to lockfile to prevent potentially intermixed output. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"