Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-26-2005, 01:12 PM   #1
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
mail server: just send mails out, but not receive


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
Old 02-26-2005, 01:22 PM   #2
Registered: Feb 2004
Posts: 273

Rep: Reputation: 30
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.
Old 02-26-2005, 01:25 PM   #3
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Original Poster
Rep: Reputation: 30
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
Old 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: Reputation: 0
I recommend using Postfix. It is much easier to use than Sendmail and much more secure.
Old 02-27-2005, 11:06 AM   #5
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
E-Mail clients are taking time to send /receive mails qs_tahmeed Linux - Networking 0 08-23-2004 10:07 AM
Server does'nt send mail until shutdown and LAN can't send or receive. Wolfy Linux - Networking 0 08-02-2004 07:31 PM
senadmail-behind NAT-can receive-but faild to send mails ehpserver Linux - Networking 0 09-26-2003 11:48 AM
mail server fail to send out and receive, help!! littlelittle Linux - Networking 7 03-14-2002 10:26 AM
Why can't I receive or send mail unless jobesd Linux - General 0 12-05-2001 10:49 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration