Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-26-2005, 01:12 PM
|
#1
|
|
Member
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720
Rep:
|
mail server: just send mails out, but not receive
Hello
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?
Thank you so much, in adance
Hamish
|
|
|
|
02-26-2005, 01:22 PM
|
#2
|
|
Member
Registered: Feb 2004
Posts: 273
Rep:
|
Yes it is called an MTA and it is enough for you to send mails out
Real pleasure comes from taming the beast IMO - so I would stick with sendmail. Postfix is easy as well.
|
|
|
|
02-26-2005, 01:25 PM
|
#3
|
|
Member
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720
Original Poster
Rep:
|
I've heard that sendmail has a really strange config file. Basically, will I just be changing the config file to tell it which smtp server to use?
the server won't be having terribly high loads.
thanks for quick reply
hamish
|
|
|
|
02-27-2005, 11:03 AM
|
#4
|
|
LQ Newbie
Registered: Nov 2003
Distribution: Mandrake 9.2, Redhat 9.0, FreeBSD 5.1
Posts: 8
Rep:
|
I recommend using Postfix. It is much easier to use than Sendmail and much more secure.
|
|
|
|
02-27-2005, 11:06 AM
|
#5
|
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 3,816
Rep: 
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:12 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|