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 14th May 2012, 11:38 PM
manojg Offline
Registered User
 
Join Date: May 2006
Posts: 161
linuxfirefox
using mailx problem

Hi,

I am using Fedora 13, and postfix is running. I want to sent email to my yahoo or gmail account by using mailx. I tried this but I could not receive any mail.
Code:
#!/bin/bash

subject = "Hello"
to = "mymail@yahoo.com"
message = "/tmp/message.txt"

echo "This is an test email message"> $message
/bin/mailx -s "$subject" "$to"
I also tried by running sendmail but still same problem.

Any help?

Thanks.
Reply With Quote
  #2  
Old 15th May 2012, 12:24 AM
RupertPupkin's Avatar
RupertPupkin Offline
Registered User
 
Join Date: Nov 2006
Location: Detroit
Posts: 4,620
linuxfedorafirefox
Re: using mailx problem

You need to create a ~/.mailrc file with your SMTP server settings. Read the mailx man page for how to do that.
__________________
OS: Fedora 18 x86_64 | CPU: AMD64 3700+ 2.2GHz | RAM: 2GB PC3200 DDR | Disk: 160GB PATA | Video: ATI Radeon 7500 AGP 64MB | Sound: Turtle Beach Santa Cruz CS4630 | Ethernet: Realtek 8110SC
Reply With Quote
Reply

Tags
mailx, problem

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
Upgrading MailX WarrickF EOL (End Of Life) Versions 4 27th December 2011 02:44 PM
mailx command isn't working Hiroshi Using Fedora 1 29th January 2010 01:30 AM
How to use mail or mailx bhanu08 Using Fedora 2 2nd October 2009 02:01 AM
Got a little problem with MAILX... Hlingler Using Fedora 12 7th September 2008 01:54 PM
mailx jdh239 Servers & Networking 0 14th September 2006 06:47 AM


Current GMT-time: 00:16 (Saturday, 25-05-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