Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I understand that the "mail" command in linux sends an email using the default send mail programme (I think that is called an MTA, but correct me if I'm wrong).
What I need is for my server to send emails (to clients, and myself) regarding system stats etc etc.
I don't need the server to accept emails, do spam filtering, have Horde installed or anything. ALL I need it to do is to send emails out the way.
I don't think I want to use Perl for this, because I need to use the PHP "mail" command (which I think works the same as the linux one in that it uses the default MTA to send emails).
So, I need some advice of the programmes which I need to install. If possible, I would like to use Exim because I've heard that it is easy to configure.
If I just installed an MTA, would that be enough to use the mail command?
Sendmail is perfectly secure (well, nothing's ever perfectly secure, but you get the idea...) if you know how to set it up right. Realistically, all you need to do is make it listen on the loopback interface (so other machines can't even connect to it) and then bounce the mail through your isp's mail server (this is easy to set up -- I think it's the smart server directive in the mc config file). Postfix or Exim will work of course too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.