Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-04-2006, 01:51 AM   #1
Registered: Nov 2003
Distribution: centos 4.4
Posts: 94

Rep: Reputation: 15
sending email with 'mail', need more?

must you have sendmail, postfix, qmail, ...etc installed to send email with 'mail'. For instance, to mail yourself the output of your cron jobs?
Old 11-04-2006, 09:22 AM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,468
Blog Entries: 15

Rep: Reputation: 1452Reputation: 1452Reputation: 1452Reputation: 1452Reputation: 1452Reputation: 1452Reputation: 1452Reputation: 1452Reputation: 1452Reputation: 1452

For this you should go with the default sendmail installation.
Old 11-04-2006, 05:19 PM   #3
Senior Member
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Short answer: Yes.
Long answer: No. It depends on the MUA. Intead of invoking an old /bin/mail- type program (for which the short answer applies), mail can invoke a more intelligent MUA, such as mailx (formerly known as nail), which can contact a remote SMTP server if told do so in its config file. From the nail man page:
   smtp   Normally,  nail invokes sendmail(8) directly
              to transfer messages.  If the smtp  variable
              is  set,  a  SMTP  connection  to the server
              specified by the value of this  variable  is
              used  instead.   If the SMTP server does not
              use  the   standard   port,   a   value   of
              server:port  can  be  given,  with port as a
              name or as a number.

Last edited by Berhanie; 11-04-2006 at 05:25 PM.


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
Why is PostFix sending mail using the email address of the smtp account? taigon Linux - Server 34 02-09-2007 01:09 AM
Postfix mail transfer agent not sending mail locally or to other servers sketelsen Linux - Software 3 02-09-2006 11:16 AM
qmail server, local users sending mail with incorrect email addresses HoundDog Linux - Networking 2 01-04-2006 02:40 AM
Having trouble sending email with Open Web Mail wolfman423 Linux - Software 4 02-26-2004 07:30 PM
sending an email to a email address after a perl operation meluser Programming 9 04-07-2003 01:26 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:44 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration