Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 3rd December 2006, 01:23 AM
tinyman Offline
Registered User
 
Join Date: Sep 2006
Posts: 42
email commad line

Hello

I need to setup a simple email program so I can able to send system alert to yahoo account. I search but there is alot info on sendmail, postfix, procmail. These are email server setup that I don't need. And that big book Fedora Bibble does not help either.

Thank
Reply With Quote
  #2  
Old 3rd December 2006, 02:15 AM
jim's Avatar
jim Offline
Retired Community Manager & Avid Drinker Of Suds
 
Join Date: Feb 2005
Location: Rochester NY
Age: 38
Posts: 4,176
from the terminal

mail you@server.com -s some subject
enter
type message CNTL D twice to send
__________________
Registered Linux User: #376813
Western NY
My linux site
Smolt Profile

please remember to say if you problem was solved

Did you get your id10t award today?
Reply With Quote
  #3  
Old 3rd December 2006, 02:51 AM
tinyman Offline
Registered User
 
Join Date: Sep 2006
Posts: 42
how do I setup my pop account
Reply With Quote
  #4  
Old 3rd December 2006, 03:00 AM
Pazuzu Offline
Registered User
 
Join Date: Oct 2006
Posts: 17
Quote:
Originally Posted by tinyman
how do I setup my pop account
POP for what?
Quote:
Originally Posted by tinyman
I need to setup a simple email program so I can able to send system alert to yahoo account.
you don't need POP for sending mail.. only smtp. As Jim stated,
Code:
mail you@yahoo.com -s "system alert"
Reply With Quote
  #5  
Old 3rd December 2006, 03:28 AM
tinyman Offline
Registered User
 
Join Date: Sep 2006
Posts: 42
do I set up smtp with sendmail.cf ? could you point me in the right direction
Reply With Quote
  #6  
Old 3rd December 2006, 03:58 AM
tinyman Offline
Registered User
 
Join Date: Sep 2006
Posts: 42
Quote:
Originally Posted by tinyman
do I set up smtp with sendmail.cf ? could you point me in the right direction

let me explain further, I have an email account an ISP. There is no way I can email to yahoo acount without being flag as a relay. Is it possible to set up an ISP account
Reply With Quote
  #7  
Old 3rd December 2006, 05:02 AM
Pazuzu Offline
Registered User
 
Join Date: Oct 2006
Posts: 17
Quote:
Originally Posted by tinyman
let me explain further, I have an email account an ISP. There is no way I can email to yahoo acount without being flag as a relay. Is it possible to set up an ISP account
sure, you can configure sendmail to use your ISPs smtp server. Google a bit for "DS" and "sendmail smart host". The DS directive, if memory serves, is the line you'll modify in your sendmail configuration file. I think it'll be something like
Code:
DSsmtp.yourisp.com
Reply With Quote
  #8  
Old 3rd December 2006, 06:52 AM
pdb Offline
Registered User
 
Join Date: May 2004
Posts: 269
On my machine, these are the relevant lines in sendmail.mc:

Code:
dnl #
dnl # Uncomment and edit the following line if your outgoing mail needs to
dnl # be sent out through an external mail server:
dnl #
define(`SMART_HOST',`my.isp.net')dnl
After editing sendmail.mc, run make in the /etc/mail directory and then restart your mail server to make the changes take effect.
__________________
http://pdb.homelinux.net
Registered Linux User # 348314
Reply With Quote
  #9  
Old 3rd December 2006, 07:30 AM
tinyman Offline
Registered User
 
Join Date: Sep 2006
Posts: 42
thank you for quick response. But what about user authentification. They required username and password to login.
One more thing, I read sendmail ver 8.13 by default do not allow relay so I assume I don't to modify /etc/mail/access any further right ? Below is the default config for /etc/mail/access

Connect:localhost.localdomain RELAY
Connect:localhost RELAY
Connect:127.0.0.1 RELAY
Reply With Quote
Reply

Tags
commad, email, line

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
send email from command line mirza76 Servers & Networking 4 16th March 2009 02:59 AM


Current GMT-time: 03:05 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat