LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-25-2012, 04:22 AM   #1
gutiojj
LQ Newbie
 
Registered: Feb 2010
Posts: 5

Rep: Reputation: 0
Question about the command: mail -s "subject" destination_email_address


Hi all,

I want to send email to Windows Exchange 2007 smtp server from Fedora server.
My Fedora server should work as mail client.
However, when I type the following command on Fedora server:
mail -s "subject" destination_email_address


There is no response for quite a long time as the command seems hang with no results displayed.
And the email cannot be sent at last.
Besides, sendmail service is running on my Fedora server.

What kind of configuration is missed / set up wrongly ?
 
Old 11-25-2012, 08:15 AM   #2
rosehosting.com
Member
 
Registered: Jun 2012
Posts: 222

Rep: Reputation: 62
You should check the log (/var/log/maillog) for any error messages.

Also you may find this interesting: http://www.thegeekstuff.com/2009/12/...dy-from-linux/

Quote:
Originally Posted by gutiojj View Post
Hi all,

I want to send email to Windows Exchange 2007 smtp server from Fedora server.
My Fedora server should work as mail client.
However, when I type the following command on Fedora server:
mail -s "subject" destination_email_address


There is no response for quite a long time as the command seems hang with no results displayed.
And the email cannot be sent at last.
Besides, sendmail service is running on my Fedora server.

What kind of configuration is missed / set up wrongly ?
 
  


Reply


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
Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" nothing07 Programming 2 06-22-2012 03:57 PM
unable to send mail by command "sendmail" in Ubuntu viktor2000 Linux - Software 2 09-24-2011 03:24 AM
Command "mail" returns "panic: temporary file seek" kenneho Linux - Software 5 12-23-2008 04:27 AM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 11:18 PM
Sending mail with some attached files using "mail" command? zahadumy Linux - Software 3 05-27-2006 11:43 PM


All times are GMT -5. The time now is 11:07 AM.

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