begin Alan Poulton quotation: > Should I use sendmail? zmailer? something else? > > I am running a router/firewall and don't have any need for it to send > mail over the internet. But I DO want to know about errors that happen > when I'm not looking. So, I understand I need some sort of mail program, > but only locally. I also don't want something that can potentially be a > security risk. I am the only person who has, or wants, access to the > Linux computer as well.
If you want the machine to be able to send mail to another server for delivery to you, then ssmtp is probably the best bet. It only accepts mail locally, and I don't think it even listens to a socket; I think it only can be used from the command-line, so it's perfect if a local program needs to send you a log or error report, but you don't want anyone connecting to it from outside. However, I don't think ssmtp does local mail delivery at all, even from one account to another on the same machine, so if you want to login to the firewall to read locally-generated mail on it, ssmtp would not be the right solution. In that case, I'd suggest postfix, configuring it to only accept connections from localhost (and reinforcing that with firewall rules). All the "I (don't) think"s above are because I have only used ssmtp to allow daemons to send mail to me at another server, so I'm not completely sure whether it can do anything else. Craig
pgpsOLxLhqBKY.pgp
Description: PGP signature