- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mailx not sending mail to my yahoo id.
Operating System - HP-UX
1821985
Members
3484
Online
109638
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2006 05:05 PM
тАО05-22-2006 05:05 PM
mailx not sending mail to my yahoo id.
Hi All,
When I try to send a mail to my office Mail ID. The mailx command seems to be working.
# mailx -s Subject -r prasad_joshi1@symantec.com prasad_joshi1@symantec.com <<< HI
But, when I try sending a mail to my yahoo Mail ID it is not working.
# mailx -s Subject -r prasad_joshi1@symantec.com prasadjoshi124@yahoo.com <<< HI
What is a problem here? and
How can I send a mail to Yahoo ID from the command prompt?
Thanks in advance.
Regards,
Prasad.
When I try to send a mail to my office Mail ID. The mailx command seems to be working.
# mailx -s Subject -r prasad_joshi1@symantec.com prasad_joshi1@symantec.com <<< HI
But, when I try sending a mail to my yahoo Mail ID it is not working.
# mailx -s Subject -r prasad_joshi1@symantec.com prasadjoshi124@yahoo.com <<< HI
What is a problem here? and
How can I send a mail to Yahoo ID from the command prompt?
Thanks in advance.
Regards,
Prasad.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2006 06:44 PM
тАО05-22-2006 06:44 PM
Re: mailx not sending mail to my yahoo id.
Hi All,
I want to write a shell script which will notify the users in case of some events. For that I want to send a mail.
Can any one help?
Thanks & regards,
Prasad.
I want to write a shell script which will notify the users in case of some events. For that I want to send a mail.
Can any one help?
Thanks & regards,
Prasad.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2006 06:55 PM
тАО05-22-2006 06:55 PM
Re: mailx not sending mail to my yahoo id.
Shalom Prasad,
There is no problem with the command line.
The problem is most likely sendmail configuration itself.
Large providers such as yahoo check that the hostname of the sender can be looked up on the public internet.
So you probably need to relay your mail through an smtp relay in your network.
/etc/mail/sendmail.cf or /etc/sendmail.cf
DShostnameofrelay
or
DS
[ip address of relay]
example:
DSexchange server
DS
[192.168.0.10]
Where 192.168.0.10 is the IP address of a valid relay server.
http://www.hpux.ws/mailfile2
That is an example of a valid script that sends mail on the commandline using sendmail.
echo "Shalom Chaver" | mailx -s "subject" myid@yahoo.com
Is also quite valid.
SEP
There is no problem with the command line.
The problem is most likely sendmail configuration itself.
Large providers such as yahoo check that the hostname of the sender can be looked up on the public internet.
So you probably need to relay your mail through an smtp relay in your network.
/etc/mail/sendmail.cf or /etc/sendmail.cf
DShostnameofrelay
or
DS
[ip address of relay]
example:
DSexchange server
DS
[192.168.0.10]
Where 192.168.0.10 is the IP address of a valid relay server.
http://www.hpux.ws/mailfile2
That is an example of a valid script that sends mail on the commandline using sendmail.
echo "Shalom Chaver" | mailx -s "subject" myid@yahoo.com
Is also quite valid.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP